Golden Example: Vertex

Purpose

Create one point and prove that FCS can evaluate a property from it. This is intentionally tiny. Tiny examples are where debugging starts behaving.

Files

Source

vertex {p} xyz 1 2 3

Expected Result

Evaluating the X coordinate of p should return:

1

Try Locally

When FLI is available:

fli.exe content/gists/gist-100-vertex/main.fcs "p.X"

Try In Golem

Future placeholder:

https://golem.histruct.com/?example=gist-100-vertex

Ask Golem:

Move the point to X=5 and explain what changed.

Common Mistake

Do not confuse defining a vertex with defining a plain object. The geometry keyword matters:

vertex {p} xyz 1 2 3

Next Step

Move from one point to curves and shapes: