Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Model game shapes, volumes, influence, procedural objects, and effects with signed distance functions, implicit functions, scalar fields, vector fields, and deformation fields. Use when building SDF primitives, field composition, raymarching inputs, organic procedural shapes, offsets, Booleans, deformation, or field-driven gameplay.
.claude/skills/hashgraph-online-game-sdf-and-field-modeling/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 31% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 28% | 0% |
| case-11 | ✗→✓ | ▲ Improved | -35% | 0% |
| case-13 | ✗→✓ | ▲ Improved | 14% | 0% |
| case-18 | ✗→✓ | ▲ Improved | -18% | 0% |
Use this skill when a game system is better represented as a function over space than as explicit triangles. Treat fields as gameplay and content tools, not only rendering tricks.
Primary source: Geometry for Programmers by Oleksandr Kaleniuk (https://www.manning.com/books/geometry-for-programmers), transformed and paraphrased, especially chapters 2, 8, 10, and 11. Additional sources: NVIDIA GPU Gems 3 chapter 34, "Signed Distance Fields Using Single-Pass GPU Scan Conversion of Tetrahedra" (https://developer.nvidia.com/gpugems/gpugems3/part-v-physics-simulation/chapter-34-signed-distance-fields-using-single-pass-gpu), and "Designing with Distance Fields" by Perry, Frisken, and Jones (https://merl.com/publications/TR2006-054).
out, and what sign convention means.
implicit function.
blends, offsets, or deformation fields.
primitive for every translation, rotation, or scale.
raymarching, mesh extraction, voxelization, particles, decals, or collision probes.
sign colors.
influence, heat, fog, danger, signed distance, or density.
magnitude as distance when it remains a true SDF.
force fields, deformation, and flow.
modeled object.
but unsafe for operations that require distance magnitude.
project's sign convention.
shell width.
semantics.
everywhere.
implicit fields, not true SDFs.
algorithms that depend on exact distance.
differences.
force fields.
path.
algorithm.
Other measured skills in the registry, with their headline benchmark lift.