Comments (11)
good news, i published a video yesterday.
https://www.youtube.com/watch?v=bRaWvCTiRTw
I do not have a high end computer. i'm doing it all on a laptop with an old nvidia. (well i also have much power powerful computer but they're for works, i can't run this).
But i have a lot of compilation optimization flag that you may not use. (mainly, it seems that you compile without enabling openMP).
i'll write some documentation with the compilation option i use.
from particle-life.
I'm working hard on optimizing and there still some headroom to speed up stuff.
I've started to explore quadtree. The problem is that the computation of interaction is so simple that optimization might only worth it when using a lot of points. And of course there is also the possibility to use the GPU.
I've started to work on graphic optimization too. Using a lot of point, the brute force way of drawing points is maxing out the GPU.
from particle-life.
Hi! Great work! Please publish the compiled version as well.
Will you want to add 4 more colours? There should also be the possibility to zoom in. Is it possible to zoom in?
from particle-life.
The main issue is that the "interesting models" aren't doing the same things they did before.
there might be a way to keep them interesting :
- make randomness a parameter
- if the parameter is missing in the model, assume it's 100% chance.
- I didn't test this. the value is hardcoded for now. but if I put the chance at 100% then the interesting model behave as they did before.
I'll submit a PR when I'm done messing with multithreaded randomness (always has been a pain, always will)
Fun fact : at the usual "1000 points per color" my laptop with a GTX 1650 is at 100% GPU, it's running at up to 200FPS so the rendering routine will need to be optimized somehow. With 5000 points per color, it's CPU bound (as it should), running at 10FPS. (which isn't too bad)
from particle-life.
PR created after a lot of profiling
from particle-life.
Nice idea 😃
It will be great to share the screenshots or video snippets of the interesting patterns you find. Not everyone have GTX or high end PC to reproduce the results with many particles.
from particle-life.
ha yes, the video include feature i haven't pushed yet. i reworked the gui in order to write experimental feature. i'll do another PR.
from particle-life.
Great job. Love your video. Some background music would have made watching these creatures more fun.
from particle-life.
Hi! Great work! Please publish the compiled version as well. Will you want to add 4 more colours? There should also be the possibility to zoom in. Is it possible to zoom in?
I recompiled the binary and made a new release: https://github.com/hunar4321/particle-life/releases/tag/v.0.3.0
from particle-life.
Thank you! What about more colors and zoom?
from particle-life.
adding more color will need some refactoring. I'll add it to my todo list. Not sure about zooming.
from particle-life.
Related Issues (20)
- [Feature request] Distance-based force HOT 8
- Option to import/export different models HOT 2
- [Feature request] Spawn or destroy pixels based off rules HOT 1
- Particle Weights HOT 3
- Lua port HOT 4
- I've seen your video and I had to try myself :) HOT 1
- webgl version HOT 1
- [Feature request] Apply physics interaction
- Question: is this based on rule-set ? HOT 3
- another Go port HOT 1
- release binary version doesn't seems to use openMP HOT 1
- Mac M1 binary release HOT 1
- migrating to openGL 4.3 and other various breaking change HOT 5
- QB64-PE port HOT 1
- [Feature Request] A) Import/Export Weights/Params - and B) Time-dependent functions as a parameter HOT 3
- Superfluid HOT 10
- Simultaneous attractive and repulsive forces in the same particle HOT 23
- 200+ FPS (on an simple laptop) HOT 12
- WTF HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from particle-life.