Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

StylePit Lookbook SS14 video animation

Featured Replies

Hello everyone,

 

An interesting feature has been brought to my attention recently http://www.stylepit.com/lookbook/

 

Does anyone know how they animated the video? Looking at the html, it seems to be some sort of jpeg image replacement - but how did they accomplish this? I've also seen this technique used on google doodles in the past, and I would love to know how its done.

 

I've used image swaps before using javascript by dynamically changing the image name every few milliseconds (src="/frames/frame-1", src="/frames/frame-2" etc). However, this method is dubious as it has to load the images continously and can cause gaps in the frames and so on.

 

If anyone has any insight into this I would be very interested!

 

Cheers,

Zach

 

  • Author

I've investigated this and it seems like it animates a the data URI for each frame. Does anyone have experience using this technique? Do data URIs render very quickly? I understand that they do not cache, so is it possible to preload them? Any thoughts would be appreciated!

 

Cheers,

Zach

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.