Note that there are some explanatory texts on larger screens.

plurals
  1. POHow was this HTML5 screencast animation created?
    primarykey
    data
    text
    <p>I visited <a href="http://www.sublimetext.com" rel="nofollow noreferrer">http://www.sublimetext.com</a> today and was intrigued by the screencast animation the website has on its opening page. It looks like a mashup between video and slideshow. I've seen them at other modern websites as well, but I assumed it was some HTML5 video tag trickery. But when I looked at the source of sublimetext webpage, I was confused.</p> <p>The animation on this page is created on a HTML5 2D canvas with plain javascript using base PNG images. Each slide is loaded from a PNG file. The animation is achieved by modifying only handful of pixels from the image. The animation javascript applied these changes on the original PNGs at regular intervals. You will find these deltas stored in *_timeline variables in the script.</p> <p>My question is what tool can generate such deltas? How can one record one's desktop screen and create such base PNG + animation deltas?</p> <p>I like this approach because it seems most efficient format for screencasts, where changes in consecutive frames are minimal.</p> <p><strong>Update 1</strong> I know there are techniques to achieve this using GIF (Check <a href="https://askubuntu.com/q/107726">https://askubuntu.com/q/107726</a>), but what cool tool can generate this javascript code that can convert PNG deltas to animation. Googling hasn't helped me find it out.</p> <p><strong>Update 2</strong> The author of the screencast (and sublimetext) replied to my question on sublimetext forum. He did it using a custom python script and plans to write a blog post about it sometime <a href="http://www.sublimetext.com/forum/viewtopic.php?p=34252#p34252" rel="nofollow noreferrer">http://www.sublimetext.com/forum/viewtopic.php?p=34252#p34252</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload