GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

07Launch a comet — drag angle and power to throw a star in yourself

Drag from a galaxy to throw a new star in — by the angle, it settles into an orbit or escapes outright: the signature interaction proving the gravity is genuinely computed, hand-delivered.

Best forGame elements, interactive easter eggs

pointerdownpointermoverequestAnimationFrame
Launch a comet — drag angle and power to throw a star in yourself
Open in a new tab

07 Launch a comet — drag angle and power to throw a star in yourself — Measured area 26.731% · moving frames 23/23Original by GODRICH · SCSS and React ship in the zip · N Body Simulation, 9 Ways (Galaxy, No Library)

The post this demo lives in

N Body Simulation, 9 Ways (Galaxy, No Library) - preview of all 9 demosN Body Simulation, 9 Ways (Galaxy, No Library)No library, no WebGL — integrate Newtonian gravity on every star, every frame, and two galaxies shear past, throwing tid See all demos in this post

If you like this effect - similar demos