CLICK ANYWHERE on the screen to begin. CONTROLS + Click once ......... Create a burst of sparks + Click and drag ... Create a trail of sparks That is it. This is a satisfying visual toy recreated from a React JavaScript component.
ABOUT THIS PROJECT: This is a recreation of the <ClickSpark /> React component in Scratch. It mimics the physics of an HTML5 Canvas particle system using Scratch Clones. HOW IT WORKS: + Math: Instead of complex trigonometry (Sin/Cos), this uses Scratch's native direction and motion blocks. + Physics: Uses a custom "Friction" variable to create an ease-out animation (sparks start fast and slow down smoothly). CREDITS: + Original concept from React UI libraries + Ported to Scratch by me