Skip to content
Andrew Voirol
WorkLogAboutContact
HomeWorkLog

AboutContact

✦ Just one prompt away from figuring it all out.

Tuesday, August 18, 2026

Fixing stair-stepped brush strokes with timestamp kinematics

InputKinematicsMath

Fast brush flicks were starving the interpolation curve, leaving ugly jagged staircase edges on the canvas. When relying strictly on raw coordinate deltas, rapid trackpad swipes didn't provide enough data points for smooth splines. The fix was moving to a timestamp-normalized kinematic model. I implemented a dynamic Centripetal Catmull-Rom ingester that scales subdivision steps based on true elapsed millisecond velocity. Now, even a 2,500px/s flick renders with perfect tangent continuity and natural taper.

← Previous

48 elastic bristle rods on the GPU

Next →

Killing the caterpillar: eliminating vector-art artifacts


Andrew Voirol

Builder, hacker, shipper. Currently leaving localhost.

Navigate

WorkBuilder’s LogAboutContactRSS Feed

Connect

X / TwitterGitHubLinkedIn

© 2026 Andrew Voirol·Back to top ↑
✦Just one prompt away from figuring it all out.