ScratchData LogoScratchData
Back to Zro716's profile

Gravity Art

ZRZro716•Created December 21, 2012
Gravity Art
47
34
1015 views
View on Scratch

Description

1/7/13 - Curated by pokemongardevoir. Thank you! Create breath-taking works of art using the power of gravity! Click and drag the black hole to move it and cause stars to fall into orbit around it. They draw as they move around, and can create amazing elliptical drawings. The color is defined as the distance to the black hole. The way the stars move is defined as: x velocity = (sin (direction)) * gravity * slowmo y velocity = (cos (direction)) * gravity * slowmo z velocity = gravity/distance to black hole Turbo mode optional. Press spacebar to clear. Now you can enable/disable drawing, create slow motion, and active the Z vector, which slowly pulls the stars closer to the black hole, eventually swallowing them!

Project Details

Project ID2996671
CreatedDecember 21, 2012
Last ModifiedDecember 21, 2012
SharedDecember 21, 2012
Visibilityvisible
CommentsAllowed