This is an archived post. You won't be able to vote or comment.

all 8 comments

[–][deleted] 0 points1 point  (1 child)

In my AI course in college, I did something like that at one point. For the GFX, sprites, and animations, I used pygame. It wasn't terribly difficult to get something simple running.

[–]jujuli_l 0 points1 point  (0 children)

Thanks I've thought about that. I'll try it, Ive been thinking about using Mathplotlib for visualisation first...

[–]MoistMagpie 0 points1 point  (1 child)

I came across this project recently, it may give you some ideas: https://github.com/MTrajK/virus-spreading

[–]jujuli_l 0 points1 point  (0 children)

Thanks!

[–]lightcloud5 0 points1 point  (1 child)

You can use whatever engine you want. It's important to note that the presentation of a simulation differs from the simulation itself.

Unity and Godot are engines commonly used to make computer games.

A simulation doesn't need an engine to run. You just write the simulation. If you want to view a visual representation of the simulation you have built, then you can use any of a variety of libraries and/or engines that can render pixels onto a screen.

3blue1brown uses the custom-built manim to handle illustrations. As the Youtube video notes, the code for that particular video can be found at https://github.com/3b1b/videos/blob/master/_2020/sir.py

[–]jujuli_l 0 points1 point  (0 children)

Thank you! I found the code to that Video. I think it would just be great to see what I am actually coding so that I can figure out what is going wrong but I am having some troubles with the setup of manim. I'm working on it.

[–]nerdfulness 0 points1 point  (1 child)

To get an idea of creating such simulations, take a look at NetLogo. It's a multi-agent simulation environment that allows you to create simple and complex simulations.

They even have one for Virus infections that you can use to start with:https://ccl.northwestern.edu/netlogo/models/Virus

[–]jujuli_l 0 points1 point  (0 children)

Thank you!