Inspiration

We were interested in fluid dynamics and wanted to challenge ourselves by using a programming language many people discredit despite its limitless possibilities.

What it does

Simulated fluids in a room with a south-easterly wind. The wind direction can be changed as well as the colour scheme and the resolution.

How we built it

Using a 3rd party Scratch IDE that allowed for collaboration we read through a paper by Jos Stam and created the functions for it in Scratch

Challenges we ran into

Scratch is very limited when it comes to complex maths functions so we had to improvise, adapt and overcome by creating our own custom blocks.

Accomplishments that we're proud of

Creating a fluid simulation is not straight forward, especially in Scratch.

What we learned

We learned that scratch is a very versatile tool when it comes to programming.

What's next for Fluid Dynamics In Scratch

Add dynamic velocity vector field calculations to make the simulation more adaptive.

Built With

  • scratch
Share this project:

Updates