Activity

Robert

Started building my website for the Web OS side quest! So far I’ve just implemented the basics, a dragable window and a top bar that tells the time, but I can now start fleshing out the OS with apps.

Attachment
0
Robert

Shipped this project!

Hours: 4.24
Cookies: 🍪 66
Multiplier: 15.57 cookies/hr

I built an Eulerian fluid simulator in C++! Getting the web build to work with shaders was a challenge, but I am pretty happy with the current build considering it is still running on the CPU.

Robert

I’ve finally finished the web build! The simulation still runs on the CPU for now, but I’m happy enough with it as it is currently. Here’s the link to the GitHub pages hosting:
https://colouredcat.github.io/Fluid_Sim/web/sim.html
Instructions:
Place the mouse at the edge of the canvas and press A and D to apply force
Press R to reset

Attachment
0
Robert

After a bit of struggle, I’ve managed to optimize the code a little to fit more particles on the screen as well as writing a simple fragment shader! However, to get any more particles I am going to need to write a compute shader, a task I am not looking forward to :(

Attachment
0
Robert

I’ve decided to recycle an old project to build a Eulerian Fluid Simulation! The bulk of the difficult physics is already done, but the look of the current simulation is very bare bones, and there are a number of things I want to add:

  1. Optimise the code so it works with a larger grid and more particles
  2. Add a simple UI to customise parameters
  3. Write cool shaders to make it look nice
  4. Build a demo website
    In case your interested, the simulation is based on a paper by 10-Minute Physics:
    https://matthias-research.github.io/pages/tenMinutePhysics/17-fluidSim.pdf
Attachment
0