funny thing, my original loader doesn’t use keyframes.
Kevin Grajeda
Visit on X@k_grajeda4.4K followers
134,435 views
funny thing, my original loader doesn’t use keyframes. it just loops opacity with a per‑pixel delay array + a duration param. less flexible than keyframes, but gives a different effect
here is one example in case you want to try to understand it hahah:
{
name: 'wave-lr',
// Delay in ms before each of the 9 grid cells starts animating, indexed as [0,1,2], [3,4,5], [6,7,8]
delays: [0, 100, 200, 0, 100, 200, 0, 100, 200],
// How long (ms) each cell takes to fade in/out
duration: 600,
]
Comments
Comments from the original post on X (Twitter)
No comments yet
