ScratchData LogoScratchData
Back to crkcity's profile

paint dripping double pendulum - little code

CRcrkcity•Created August 7, 2023
paint dripping double pendulum - little code
3
1
24 views
View on Scratch

Instructions

Set Y speed to a ratio of that of X. My favorite ratio is 150 to 125, 6/5. Ratios 2 or 3 or 1.5 are interesting too. Simulates a dripping paint pendulum I made that swung faster in the perpendicular direction. Dot is like the paint drip. Spacebar changes costume.

Description

Very simple code yielding paint pendulum patterns, dampening over time (radius shrinks), except here radius expands again & pen changes colors. X is cosine, Y is sine. Pen draws X Y intersection. Circle if X = Y speed. Lissajous if Y is >1 times X. Y speed as a whole number ratio of X yields great patterns. Try ratio 3/2 (1.5), or 2 or 3, or 6/5 and so on.

Project Details

Project ID880517487
CreatedAugust 7, 2023
Last ModifiedSeptember 2, 2023
SharedAugust 7, 2023
Visibilityvisible
CommentsAllowed