Creating a framework to simplify the process of creating particle simulations. Using Rust as the programming language, winit for windowing, WGPU for graphics, and last but not least egui as the graphical user interface.
This video is some 'highlights' during the creation of said framework. It is not a line-by-line tutorial but, instead just some things to keep in mind if you decide to go down the same path. I begin by showing the shader that allows for a more performant drawing of circles which will be used as the particles. Then I gloss over the steps to look around the world by using the mouse to grab and zoom and implement a GUI to aid in modifying the simulation during runtime so that restarting isn't necessary. Finally I multithread the program to decouple the renderer from the simulation.
Code: [ Ссылка ]
Particle Life: [ Ссылка ]
Chapters:
0:00 - Intro
0:19 - A circle in a triangles world
2:32 - A nice view from up here
3:55 - A very gooey GUI
4:35 - Program structure
5:33 - Outro
![](https://s2.save4k.ru/pic/VEnglRKNHjU/maxresdefault.jpg)