Comments (3)
To be more specific: right now particle Source
s have a recycled []int
field which just keeps track of what indices in their block of particles have already been made and died but could be reused.
The idea is to, instead of using this, swap dead particles in the block with the final live particle, so we just need to keep track of the current number of active particles.
from oak.
To do this, we'll need a function to set a particle's pid
field, because collision particles need their space updated to have their new id. That's a breaking change to the particle interface, so this is 2.0.
from oak.
This is complete on release/2.0.0.
from oak.
Related Issues (20)
- Q: guidance on avoiding slow/slowing fps? HOT 8
- Q: respond to close window click on linux? HOT 7
- Issue found by Svace static analyzer HOT 4
- Quite a number of the examples don't work (on macOS) HOT 12
- Add the ability to persist bindings between scenes
- All examples show a black screen on OSX HOT 6
- Document OS / Build Target Compatibility
- WASM+JS Controller Support
- WASM+JS Audio Support
- Remove CGO requirement from OSX builds HOT 13
- alg:ChooseX consider changing handling of 0 weight entries HOT 4
- Linux audio library does not compile on arm64
- Investigate adding CI to confirm JS builds of examples
- Should Wiki articles be moved to local readmes?
- JS does not support a Window Scale that is not 1
- Refactor Audio Interface to reduce number of OS streams
- Drop FOSSA? HOT 2
- Generic, type safe event handling with Go 1.18 HOT 1
- Add Debug / Trace logs around OS drivers
- Could you update the wiki, which still uses v3 as the example code?
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 oak.