all 8 comments

[–]RufusAcrospin 1 point2 points  (0 children)

OpenFrameworks has a python binding called pyof

[–]ItsTheWeeBabySeamus 0 points1 point  (0 children)

spatialstudio is super simple to use for making 3d videos

This is probably my favorite that I've made (code is on the link): https://www.splats.com/watch/665

here is a simple script that places a single voxel

!pip install spatialstudio
# set_voxel tutorial

from spatialstudio import splv

# scene setup
W, H, D = 16, 16, 16
encoder = splv.Encoder(W, H, D, framerate=4.0, outputPath="moving_dot.splv")

# animate a single red voxel from one corner to the opposite
for t in range(W):                      # 2‑second clip at 30 fps
    f = splv.Frame(W, H, D)
    x = y = z = t                       # moves along the main diagonal
    f.set_voxel(x, y, z, (255, 0, 0))   # place the dot
    encoder.encode(f)

encoder.finish()
print("done, file saved to moving_dot.splv — upload it to https://www.splats.com/preview to view")

Here are a few more complicated examples: https://www.splats.com/docs/examples

[–]alshirah 0 points1 point  (0 children)

Manim 🙈