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.

Annonser

Kommentera

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

WordPress.com Logo

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

Twitter-bild

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

Facebook-foto

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

Google+ photo

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

Ansluter till %s