The Very First Iteration

The first iteration of our program was really simple. It included a grey background and green particles moving around randomly. Every particle had a red circle around it showing its ”personal space”. Basically, the ”personal space” is the circle into which no other particle should enter. At this moment, however, no collision handling had been implemented. As a result of that, not only were the personal spaces intruded on, the particles even went straight through each other.

At startup, the particles were spawned in random locations and began to move. The random movement algorithm was really simple. Basically, for every frame, small random velocity changes were applied to every particle and their positions were updated accordingly.

This was our very first iteration of the program and laid the foundation for the whole project.


Fyll i dina uppgifter nedan eller klicka på en ikon för att logga in: Logo

Du kommenterar med ditt Logga ut /  Ändra )


Du kommenterar med ditt Google-konto. Logga ut /  Ändra )


Du kommenterar med ditt Twitter-konto. Logga ut /  Ändra )


Du kommenterar med ditt Facebook-konto. Logga ut /  Ändra )

Ansluter till %s