Geometry and mesh algorithms
Pure Python geometry whose glTF output loads in Godot: triangulation, convex hulls, polyline simplification, polygon offsets, subdivision, curves and gears. Their pages are in the gallery, with the render each check recorded.
12 shown here, each at the exact version the library release of October 9, 2026 serves.
What to watch for
- Coplanar and duplicate points are where hull and triangulation code fails.
- glTF is Y-up and in metres, so a mesh in another frame needs converting.
- Offsetting a polygon can make it self-intersect; the result must be checked.
Components
2D Delaunay triangulation by Bowyer-Watson
delaunay_bowyer_watsonTriangulate 2D points so that no point lies inside any triangle's circumcircle, using Bowyer-Watson insertion with exact fallback predicates.
- Runs with
- Python 3.10 or later
- Entry points
- delaunay, random_points, triangulation_mesh, build, main
3D convex hull by quickhull
quickhull_3dCompute the convex hull of 3D points as a closed mesh with outward faces, merging coplanar triangles into polygons.
- Runs with
- Python 3.10 or later
- Entry points
- convex_hull, sphere_points, random_points, build, main
Ramer-Douglas-Peucker polyline simplification
douglas_peuckerSimplify 2D or 3D polylines by keeping only points farther than a tolerance from the simplified line, with a measure of the largest deviation.
- Runs with
- Python 3.10 or later
- Entry points
- simplify, max_deviation, demo_curve, build, main
Polygon offset with miter, round or bevel joins
polygon_offset_2dGrow or shrink a simple 2D polygon by a distance with miter, round or bevel joins, refusing offsets that would make it cross itself.
- Runs with
- Python 3.10 or later
- Entry points
- offset_polygon, build, main
Catmull-Clark subdivision surface
catmull_clark_subdivisionSmooth a polygon cage into a quad mesh by Catmull-Clark subdivision, with B-spline boundary rules and fixed boundary corners.
- Runs with
- Python 3.10 or later
- Entry points
- catmull_clark, cage, build, main
Cubic Bezier evaluation, arc length and resampling
bezier_curve_arc_lengthEvaluate and split cubic Bezier curves by de Casteljau, measure arc length by Gauss-Legendre quadrature and resample paths at even arc-length spacing.
- Runs with
- Python 3.10 or later
- Entry points
- bezier_point, bezier_derivative, split_bezier, arc_length, length_table, parameter_at_length, resample_by_length, demo_path, build, main
NURBS curves with exact circles and conics
nurbs_curveEvaluate rational B-spline (NURBS) curves in homogeneous coordinates, with the exact nine-point circle and single-span conic arcs.
- Runs with
- Python 3.10 or later
- Entry points
- nurbs_point, circle, conic_arc, sample_nurbs, build, main
Lathe revolution with partial angles
lathe_revolveRevolve an (r, y) profile around the Y axis, fully or through a partial angle with flat cut faces, and compute the exact volume of the polygonal solid.
- Runs with
- Python 3.10 or later
- Entry points
- demo_profile, lathe, revolved_volume, build, main
Involute spur gear
involute_spur_gearGenerate a spur gear whose tooth flanks are true involutes of the base circle, sized by module, tooth count and pressure angle, extruded around a bore.
- Runs with
- Python 3.10 or later
- Entry points
- involute_function, gear_radii, gear_profile, spur_gear, build, main
Conway polyhedron operators
conway_polyhedron_operatorsBuild polyhedra from Conway notation: dual, ambo, kis, truncate, join, expand, ortho, gyro and snub applied to T, C, O, D, I, prisms and antiprisms, with planarizing relaxation.
- Runs with
- Python 3.10 or later
- Entry points
- seed, dual, ambo, kis, gyro, apply_operator, conway, build, main
Platonic solids with exact edge length
platonic_solidsGenerate the five regular convex polyhedra with exact coordinates and polygon faces found as supporting planes.
- Runs with
- Python 3.10 or later
- Entry points
- solid_vertices, hull_faces, platonic_solid, build, main
Icosphere by recursive subdivision
icosphereBuild an evenly tessellated sphere by splitting a regular icosahedron into four triangles per face and projecting onto the sphere.
- Runs with
- Python 3.10 or later
- Entry points
- icosahedron, icosphere, main
Give your agent these components
Your harness downloads them through Baltor with Pro, $49 a month. Cancel any time from your account page.
More from Deterministic skills
- Statistics for comparing resultsCompare two models, two prompts or two harness setups with statistics that hold up: calibration, conformal intervals, confidence sequences, covariance shrinkage and kernel two-sample tests.
- Checks for agent workGive each unit of agent work one typed outcome, count the independent evidence behind a claim, and compare candidates only on the rows they all completed.
- Calculators for public statisticsRates, ratios and indices from published definitions, with their confidence bounds and the denominators written out.
- Records, schedules and budgetsCritical paths, earned value, shift rosters, appointment slots and retention dates as pure functions of JSON input.
- Algorithms that show their workAlgorithms that report each step: principal components without NumPy, sorting and union-find traces, rule based inference closures, collision clearance and resumable render plans.
- Harness toolsTools your coding agent can call.
- Corner casesThe inputs that break code, ready to test.
- Stop starting from nothingFor a developer whose coding agent starts every task from nothing: give each step the guidance and reusable code it needs.
- More efficient operationGive each step only the context, files and tools it asks for, reuse code that already exists, and measure the effect on your own task.
- Harness FilesSkills, instruction files, tools, hooks and settings your harness picks up: what they are, how a harness gets them, and the setup for each harness.
- GalleryBrowse Baltor's original Godot shaders, procedural textures, meshes and Blender tools, each with the render its engine check recorded.
- Pi and Gemma 4 on Ollama CloudPi with Gemma 4 31B on Ollama Cloud searched the library, installed a skill, and a new Pi session loaded and used it.