ScratchData LogoScratchData
Back to PutneyCat's profile

Fourier Fireworks

PUPutneyCat•Created February 14, 2020
Fourier Fireworks
1481
1261
22846 views
View on Scratch

Instructions

Not really fireworks. Put 100 dots on the screen. Watch them get turned into an animation. (See notes below for how it works.) You can then save it in the cloud gallery. UPDATE: you can now save on mobile devices. NOTE: there are occasional glitches with the cloud variables, which can affect how things look in the gallery. Only the last eight animations are stored, and only one per Scratcher. It won't save unless you are logged in with Scratcher (as opposed to New Scratcher) status.

Description

Did a Fourier project a while ago but was inspired to do another by @RedCMD's excellent DFT project. The Discrete Fourier Transform is an amazing mathematical trick. It turns a set of numbers (such as the positions of 100 dots) into another set of numbers, which you can think of as rotating circles with different speeds (frequency), sizes (amplitude) and start angles (phase). Some of these can be discarded without losing much (a type of data compression) but in this project almost all are discarded. What is left is then animated.

Project Details

Project ID368272225
CreatedFebruary 14, 2020
Last ModifiedFebruary 21, 2020
SharedFebruary 14, 2020
Visibilityvisible
CommentsAllowed