Your gesture made visible. Speed, acceleration and curvature rendered as color and width — see the physics of your own movement.
// Traînée gestuelle — vélocité + accélération let points = []; canvas.addEventListener('pointermove', (e) => { const rect = canvas.getBoundingClientRect(); const x = e.clientX - rect.left; const y = e.clientY - rect.top; const prev = points[points.length - 1]; if (prev) { const dx = x - prev.x, dy = y - prev.y; const vel = Math.sqrt(dx*dx + dy*dy); const acc = vel - (prev.vel || 0); points.push({ x, y, vel, acc }); } // Épaisseur proportionnelle à la vitesse const width = Math.max(1, baseWidth * (vel / 20)); });
Draw a smooth circle — what does your trail reveal about the natural rhythm of your hand? Compare a fast vs slow gesture and observe how speed affects smoothness.
Understand gesture physics for natural interfaces
Book a session