When dealing with a simulation the visualization is one of the most important aspects. For our evolutionary simulation we wanted to have a visual engine that can be easy to code and provide powerful visuals to back the simulation. After iterating through various different visual engines like Unreal, 3dpanda, pygame, and Vpython. The clear winner was Vpython since it provided a simple UI that allows to create many different aspects we needed for our 3D visualization. After using it more and more for our testing and seeing the capabilities of Vpython it is now one of my favorite technologies with various application throughout many fields. Currently we have the Vpython running from the simulation core having it generate many random spheres object at various different locations but eventually we will implement the different objects in our simulation like light source, toxins, and nutrients to add complexity in the environment where the organisms spawn. One of the limitations we are currently faced with Vpython currently is the inability of deleting an object after it was created. There is a way to hide the object after it was created but since it still takes up memory it is inefficient especially when dealing with a simulation of our scale. Vpython could be way more useful if they allowed to delete objects in the view this would make the system more efficient and make simulations like ours run faster.
Vpython and Alife Challenge 2.0
by
Tags:
Leave a Reply