Museum of dancing math
To create a bouncy sphere or a wavy sphere, run
from pyray.shapes.sphere import *
draw_wavy_sphere_wrapper('.\\im', 66, 1)
from pyray.shapes.polyhedron import *
basedir = '.\\'
tr = Tetartoid()
for i in range(0, 31):
im = Image.new("RGB", (2048, 2048), (1,1,1))
draw = ImageDraw.Draw(im,'RGBA')
r = general_rotation(np.array([0,1,0]),2*np.pi*i/30)
tr.render_solid_planes(draw, r, shift=np.array([1000, 1000, 0]), scale=750)
im.save(basedir + "im" + str(i) + ".png")
from pyray.shapes.pointswarm import *
points_to_bins()