3 ms·
I think that's got more to do with your computer and/or browser-of-choice than anything. I have to shoot 10+ fireworks at once, with `partCount` at 500+ in orde
by deefour 15y ago
I think that's got more to do with your computer and/or browser-of-choice than anything. I have to shoot 10+ fireworks at once, with `partCount` at 500+ in order to get below 20fps.
I wish I could make the launch of the firework a bit more realistic; it shouldn't accelerate against gravity. Maybe I just need to play with the settings a bit more, though I can't set an acceleration value less than 1.
- ulrikrasmussen 15y agoI think including air drag in the model would make it look more realistic. Normally subtracting a term that is quadratic in the velocity from the magnitude of the force vector does the trick.
- ajuc 15y ago> It shouldn't accelerate against gravity. Why not? It has to go up somehow, and without acceleration greater than g, it would be hard? EDIT: you probably meant it should disable engine (use up fuel) in the middle of the flight and slow down from there up.
- checker 15y agoTypical fireworks are mortars, so they just have a high initial velocity and decelerate en route to maximum height, edit: or until the explosion!
- ajuc 15y agoYes, it makes sense to wait with explosion for the highest point. Somehow I imagined fireworks are like rockets and should accelerate all the way to the explosion.