I built an objC/metal version of particle_life (and made it a template).
https://github.com/ker2x/Clauding/tree/master/whatever/metal_particle_template
(and made it a template for future projects).
just "make run" from a terminal. it will do the compilation and stuff. xcode need to be installed (as usual) but no need to use the IDE for this. just make run.
Feel free to copy it in this project, or not. do whatever.
Happy new years :)
PS: when i say "i built", i mean "i asked claude opus to do it" ;)
I'm still learning objC/metal.
But it work at 60FPS with 30k particle on my poor macbook air M3. So it's solid. (there are minor optimization that can be done, but it's marginal)
I built an objC/metal version of particle_life (and made it a template).
https://github.com/ker2x/Clauding/tree/master/whatever/metal_particle_template
(and made it a template for future projects).
just "make run" from a terminal. it will do the compilation and stuff. xcode need to be installed (as usual) but no need to use the IDE for this. just make run.
Feel free to copy it in this project, or not. do whatever.
Happy new years :)
PS: when i say "i built", i mean "i asked claude opus to do it" ;)
I'm still learning objC/metal.
But it work at 60FPS with 30k particle on my poor macbook air M3. So it's solid. (there are minor optimization that can be done, but it's marginal)