What would be the best library to build 2D simulations in python?

This page summarizes the projects mentioned and recommended in the original post on /r/computergraphics

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • Box2D

    Box2D is a 2D physics engine for games

  • Do you mean drawing it or just the positions at each time step? Box2D has python bindings and would be ideal. https://box2d.org/

  • programming

    A mono-repo for programming ideas, experiments, and projects. (by aydencook03)

  • Here I have a very simple example of using Pygame to draw a shape and turn it into an image.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • taichi

    Productive, portable, and performant GPU programming in Python.

  • 2d-fluid-simulator

    2D incompressible fluid solver implemented in Taichi.

  • I find it very useful for physical simulation and visualization. And personally I was impressed by a 2D fluid simulation project https://github.com/takah29/2d-fluid-simulator enabled by Taichi (Hope it can give you some inspiration as well). If you encounter any problems during implementation, you can consult its doc site (https://docs.taichi-lang.org/docs/) or even ask its creator u/yuanming-hu directly

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts