Click anywhere to interact with the fluid (you change the magnet type to attract or repel, it's set to repel). Hover the mouse to the top to show settings to adjust the simulation I recommend playing on Turbowarp for more FPS for a better simulation: https://turbowarp.org/1334582728?interpolate&fps=60 If you have a slow computer and didn't go to the link I would put the particle render to around 50.
The way it works is by calculating the distance to the nearest particles in a specific range (reduces lag) and sets its X or Y speed depending on how close it is to that particle (it's more like pressure). You can see it in motion with the visualization. Red being the lowest pressure and green being the highest. ( ͡° ͜ʖ ͡°)( ͡° ͜ʖ ͡°)( ͡° ͜ʖ ͡°)( ͡° ͜ʖ ͡°)( ͡° ͜ʖ ͡°)( ͡° ͜ʖ ͡°)( ͡° ͜ʖ ͡°)( ͡° ͜ʖ ͡°) If you didn't know it's me FishUsername, have a featured project, https://scratch.mit.edu/projects/1259469903/ My studio is here: https://scratch.mit.edu/studios/50689596 this studios mission is to get on top of trending when searching up "scratchers" in studios I have some tough competitors! Want to join just ask!!!