Adrian's Portfolio | Gravity Sim
51026
portfolio_page-template-default,single,single-portfolio_page,postid-51026,edgt-core-1.2,ajax_fade,page_not_loaded,,vigor-ver-2.0, vertical_menu_with_scroll,smooth_scroll,fade_push_text_top,wpb-js-composer js-comp-ver-5.2,vc_responsive

Gravity Sim

Download Demo

 

Gravitational! This is a recent project I’m occasionally having fun at home with (when I get the time, that is!). It involves a couple thousand particles and gravity, as well as a bit of interactivity – by clicking anywhere close to the centre of the screen, a blue attractor will show up! The purpose of the project is to push myself into optimizing Unity in such a way that it will render at least 10.000 particles with gravity on. Currently, it’s at a few thousands with just a couple of hours put into it, so expect many future updates, including:

  • Spatial partitioning
  • GPU calculations / multiple threads
  • Supernova effects
  • Removing that boring box
  • More interactivity
Category

C#, Cg/HLSL, Code, Unity