Payton 3D

Payton 3D
Photo by aldi sigun / Unsplash

I want to talk about Payton 3D. My little hobby project that I have been working on since early 2019. Initial commit was on Mar 17, 2019. Probably I started the project a few weeks before the initial commit.

GitHub - sinanislekdemir/payton: Payton! Kickstart any 3D OpenGL + GTK Ideas in a few seconds!
Payton! Kickstart any 3D OpenGL + GTK Ideas in a few seconds! - GitHub - sinanislekdemir/payton: Payton! Kickstart any 3D OpenGL + GTK Ideas in a few seconds!
0:00
/

So, what is Payton 3D?

Payton is a Python pip package which you can easily install with: pip install payton

Additionally, you can use pybullet and Gtk3 bindings to extend Payton's capabilities. Just installing pip install pybullet is enough to have Rigid Body dynamics in Payton. If you want to use embed Payton scene into your GTK3 application instead of using SDL2 backend, you additionally need: https://pygobject.readthedocs.io/en/latest/getting_started.html

Payton by default uses SDL2 + Pyopengl + some math libs like Numpy and pyrr. And PIL for textures. It is using Modern OpenGL principles rather than fixed pipeline. And has a built-in pre-coded shader to handle all required drawing functions. Simply speaking, it does the heavy lifting for you and you can just focus on the logic you want to build.

Payton gives you the ability to extend your graphics into 4 dimensions. It is not software but a software development toolkit/library built with Python. This will give users the ability to read real-time data from sensors, cameras or any other data sources in realtime and visualize them in real-time. The data source can be a thermometer, a random number generator, a toy car connected to a speed sensor, a map, a vehicle port or anything that generates time-based 3D data. Furthermore, it can be a time-based formula. As this can get too complex, software with that complexity will probably be too hard to use and understand where Payton is designed to be as simple as it can be. So easy to program that a newbie can kick-start it just by following the tutorials.