Add gift/open, note/bounce, clock/tick, icecream/melt, popcorn/pop, cake/candle, lol/bounce, rocket/launch

Brings the gallery to 50.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-22 20:26:05 +00:00
co-authored by Claude Opus 5.5
parent 68875cfd49
commit 8842194c3c
24 changed files with 163 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
// chunky bubble letters "lol" hopping one after another like a wave
const{sin,max}=Math,T=2*Math.PI
export const frames=20,delay=60
export default(c,t)=>{
const L=[[x=>{c.moveTo(x,70);c.lineTo(x,180)},48],[x=>{c.moveTo(x+32,148);c.arc(x,148,32,0,T)},128],[x=>{c.moveTo(x,70);c.lineTo(x,180)},208]]
L.forEach(([f,x],k)=>{
const h=max(0,sin(T*(t-k*.14))),y=-38*h**.8,sq=h<.15?1-(.15-h)*.6:1
c.save();c.translate(x,212);c.scale(2-sq,sq);c.translate(-x,-212+y/sq)
for(const[w,s]of[[44,'#111'],[28,'#fff']])c.lineWidth=w,c.strokeStyle=s,c.beginPath(),f(x),c.stroke()
c.restore()
})
}