Graphics Programming in 100 Lines
- Ray tracing (110 lines)
- Path tracing (100 lines)
- Particle-based fluid (100 lines)
- Grid-based fluid (110 lines)
- Half-edge (120 lines)
- Catmull-Clark subdivision (180 lines)
- Bezier curve (48 lines)
- Perlin noise (100 lines)
- Poisson disk sampling (40 lines)
- Voronoi (50 lines)
- Inverse kinematics (60 lines)
- Sphere-capsule collision (70 lines)
- Convex hull (100 lines)
- Minkowski sum (100 lines)
- Digital differential analyzer (50 lines)
- Bezier DDA (110 lines)
- Jump flood algorithm (90 lines)
- Walk on Spheres (93 lines)
- Rd sequence (42 lines)
I use rye
.
git clone https://github.com/yknishidate/GP100L.git
cd GP100L
rye init
rye pin 3.10
rye add taichi
python src\gp100l\<file_name>
- Taichi - Productive & portable high-performance programming in Python.