deviant art

Deviant Login Shop  Join deviantART for FREE Take the Tour

13,875

169 136 264
Download SWF download, 42.8 KB
How to use
All you can do in this version is to change amount of balls (first stepper), change partitioning algorithm step(second stepper, do not recommend as it seems to perform well with that),
forces dumping (third stepper, can lead to pretty different results).

And finally you can pick some presets I made using combobox.

Have fun.

Background story
So after making Collision Study 4 and checking it's bottleneck I started to think on how to fix it (Sweep And Prune algorithm was used there). Well did not come up with ways of improving Sweep And Prune.
Ended up checking this book [link] which I recommend to anyone who wants to write alike stuff.
Well it turned out I already knew all types of broad phase collision detection techniques probably except for k-d/bsd trees which are kind of expensive in some ways. Good to store static level but probably not that good with moving stuff.

Anyways in the end come up with idea of kind merging some parts of uniform grid partitioning and Sweep And Prune loosing some benefits of SAP but in same time hopefully fixing big SAP weakness. It was tricky and code is little bit messy. But in the end it almost doubled performance with right tuning :D I think there still is room for optimization + making it more stable but it is already very good :)


Further plans

Well this work mostly serves as algorithm performance test but after playing with presets I am thinking on making something like little sandbox thing where you could create/share/reuse presets yourself using range of small easy tools :) Still thinking.

Details

Stats

Submitted on
January 24, 2010
Image Size
42.8 KB
Resolution
700×700
Views
13,875 (14 today)
Favourites
169 (who?)
Comments
136
Downloads
264

License

Creative Commons License
Some rights reserved. This work is licensed under a
Creative Commons Attribution-Noncommercial 3.0 License.
URL
Thumb
Only verified accounts can report policy violations. Please check your email and click on the verification link.
* Required field
Add a Comment:
 
love 3 3 joy 0 0 wow 3 3 mad 0 0 sad 0 0 fear 0 0 neutral 0 0
:iconlespiritkitten565:
~LeSpiritKitten565 May 31, 2013  New member Hobbyist Artist
Tetro = Expanding circle, then fills in the universe C:
Reply
:iconwonderwhy-er:
:)Yeah this universe started from 4 blocks :D
Reply
:iconchimbleysbiggestfan:
~chimbleysbiggestfan May 20, 2013  Student Artist
omg the whole thing woz filled with balls lol
Reply
:iconalphawolf1212:
this is AWESOME!!!
Reply
:iconsn4s121:
~sn4s121 Feb 13, 2012  Hobbyist Artist
WWWWOOOOOOOOOOOOOOOOAHHHHHHHH THAT TETFRO ONE IS WILD
Reply
:iconwonderwhy-er:
Hehe, yeah like it too :) Could be used as interactive logo for physics engine or something :D
Reply
:iconsn4s121:
~sn4s121 Feb 14, 2012  Hobbyist Artist
yea ikr
Reply
:iconwonderwhy-er:
Not anymore, its reality now :D
Reply
Add a Comment: