Logo van Procedural Geometry

Procedural Geometry

Community
rondorkerin
procedural-geometry

Use when generating or reviewing the GEOMETRY of a game — procedural terrain, meshes, structures, and scatter. Covers noise as the substrate (Perlin/Simplex/value noise, fractal Brownian motion, domain warping), terrain generation (heightfield vs voxel/SDF, marching cubes, dual contouring, hydraulic/thermal erosion, LOD/chunking), structural generation (L-systems, shape grammars, wave function collapse / model synthesis, constraint-based layout), mesh topology correctness (watertight/manifold meshes, inverted normals, winding order, degenerate triangles/UVs, runtime mesh performance and caching), and vegetation/scatter (Poisson-disc/blue-noise placement, slope/altitude/biome masking, GPU instancing). Also use to diagnose terrain that looks like "noise lumps", structures that read as grid-aligned or obviously generated, scatter that clumps or grids, or generated meshes with black/inverted faces and broken collision. Triggers on "procedural terrain", "terrain generation", "Perlin noise", "Simplex noise", "fBm", "domain warping", "heightmap terrain", "voxel terrain", "SDF terrain", "marching cubes", "dual contouring", "erosion simulation", "terrain LOD", "chunking", "L-system", "shape grammar", "wave function collapse", "WFC", "model synthesis", "procedural buildings", "dungeon generation", "procedural mesh", "inverted normals", "manifold mesh", "watertight", "degenerate UVs", "winding order", "vegetation scatter", "foliage placement", "Poisson disc", "blue noise", "GPU instancing", "my terrain looks fake", "it looks generated".

Overzicht

Uitgeverrondorkerin
Repositorygamestack
Skillnaamprocedural-geometry
Sterren
34
Forks
3
Meegeleverde bestanden
2
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 2

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door rondorkerin op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Procedural Geometry in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/rondorkerin/gamestack/tree/main/plugins/gamestack/skills/procedural-geometry
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/rondorkerin/gamestack.git /tmp/gamestack
mkdir -p .claude/skills
cp -r /tmp/gamestack/plugins/gamestack/skills/procedural-geometry .claude/skills/procedural-geometry
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Procedural Geometry in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Procedural Geometry automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Procedural Geometry niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Procedural Geometry

How to generate the geometry of a game — terrain, meshes, structures, and scatter — so it is correct (watertight, manifold, properly wound, performant) and varied (perceptually distinct, not parametric oatmeal). Geometry generation is engineerable math: noise as a substrate, modulation and erosion for believability, constraints and hand-placed anchors for "designed-looking" structure, blue-noise for scatter, and topology validators as the non-negotiable correctness floor.

Tier: technical craft (→ gamestack-core). Engine-agnostic geometry-generation math underneath generated terrain, structures, and meshes.

When to use this

  • Generating terrain (heightfield or voxel/SDF), and deciding which representation the design actually needs
  • Choosing and wiring a mesh-extraction (marching cubes vs dual contouring), erosion, and LOD/chunking pipeline
  • Generating structures with L-systems, shape grammars, or wave function collapse / model synthesis
  • Authoring the mesh topology validator (winding/normals, manifold, degenerates, watertight)
  • Scattering vegetation/props with blue-noise placement, environmental masking, and instancing
  • Diagnosing terrain that looks like "noise", structures that read as generated, or meshes with black faces / broken collision

Scope

This skill owns the math and algorithms that produce geometry — meshes, terrain, structures, scatter. It is deliberately narrow. Adjacent concerns live in sibling skills:

  • What content means and whether it's perceptually varied at scale (quests, lore, items, the oatmeal problem for content) → procedural-generation. This skill is the geometric statement of the same hybrid (hand-anchor + constrained fill); that skill is the narrative one.
  • Making a generated level legible, navigable, gated, and paced → level-design. This skill is the geometry engine underneath it — grammars/WFC produce the rooms; level-design's principles make them readable. Geometry serves legibility; it does not replace it.
  • Gating generated output for perceptual sameness and intentionality → procgen-review. Its oatmeal test runs on the geometry this skill emits; the topology validator here is the correctness floor below that quality gate.
  • Rendering, culling, and draw-call budgets for the meshes produced → 3d-graphics-and-rendering. Texturing/shading them → shaders-and-vfx.
  • Macro/world spatial layout, biomes as places, exploration pull → open-world-design (this skill is the terrain math underneath that layer).

How the pieces fit

  • GUIDE.md — the cited why, in five sub-domains: noise as the substrate (Perlin/Simplex/value, fBm, multifractal/ridged, domain warping, Worley/3D-noise caves); terrain generation (heightfield vs voxel/SDF, marching cubes vs dual contouring, erosion, LOD/chunking); structural generation (L-systems, shape grammars, WFC/model synthesis, hybrid hand-anchor); mesh topology correctness (winding/normals, manifold/watertight, degenerates, runtime threading/caching); and vegetation/scatter (blue-noise, masking, instancing). Each rule carries an exemplar + source, a test-for criterion, the named failure mode, and the procedural/headless implication.
  • CHECKLIST.md — Do/Don't + machine-checkable Test-for criteria, grouped by sub-domain. Written to be enforced as validators in a generation loop.

The two ideas to anchor on

1. A single noise field is oatmeal; structure comes from modulation, not octaves. Plain fractal Brownian motion is the canonical "fake terrain" look — equal roughness everywhere, no ridgelines, no drainage. Believability comes from modulating it (multifractal/ridged noise, domain warping) and from erosion simulation that carves the connected valleys and ridges a process would. More octaves add detail, not structure.

2. "Looks designed, not random" is a constraint problem. Grammar- and constraint-based methods (L-systems, shape grammars, wave function collapse / model synthesis) get their authored quality from hand-authored rules and tilesets, not from the algorithm. The designer's craft moves into the constraint set — and the most reliable path at scale is hybrid: hand-place the silhouette landmarks and set pieces, let the generator fill between them under constraints.

Why this matters doubly for a generator: a human sees a black inside-out face, a grid-aligned forest, or 10,000 identical buildings and feels "off." An autonomous generator has no eyes. Author the mesh topology validator (winding/manifold/degenerate/watertight) and the representation, erosion, crack-free, and instancing contracts as inviolable; let generation vary inputs inside them (frequency, octaves, density masks, seeds); and gate every batch through procgen-review's oatmeal test for geometric sameness — because parametric variation of one formula produces perceptually identical results.

Start with GUIDE.md, then apply CHECKLIST.md.

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Procedural Geometry?

Use when generating or reviewing the GEOMETRY of a game — procedural terrain, meshes, structures, and scatter. Covers noise as the substrate (Perlin/Simplex/value noise, fractal Brownian motion, domain warping), terrain generation (heightfield vs voxel/SDF, marching cubes, dual contouring, hydraulic/thermal erosion, LOD/chunking), structural generation (L-systems, shape grammars, wave function collapse / model synthesis, constraint-based layout), mesh topology correctness (watertight/manifold meshes, inverted normals, winding order, degenerate triangles/UVs, runtime mesh performance and cac...

Waarom Procedural Geometry gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Procedural Geometry bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Procedural Geometry in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/rondorkerin/gamestack/tree/main/plugins/gamestack/skills/procedural-geometry. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Procedural Geometry gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Procedural Geometry gebruiken?

Zoveel als je wilt. Je kunt Procedural Geometry gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Procedural Geometry gratis?

Ja. Deze skill is door rondorkerin op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇