construct_netlogo_draw
Turns a NetLogo JSON Lines run into a drawable scene, choosing space-time, network-time, phase, field, pulse, or auto views and adding legend, replay clock, and counts for later compilation or export.
Instructions
A construct of a recorded NetLogo run (the JSON Lines a run writes), computed from the data alone, with its legend, how-to-read lines, replay clock and counts, and a data lock. Views: space-time (moving agents), network-time (spreading on a network; give state), phase (two reporters in a cycle), field (spreading over patches), pulse (turtles switching a state on and off: how many at once, tick by tick), auto (the one the data suits). Moving agents and pulses are drawn over the window where their order formed when it forms early (window: auto, whole, or a tick). Optional: an art-direction layer (art: views, labels, milestones; never the data), solid (spheres, tubes, a surface, for a 3D model) and materials (the run's own colours, for construct_export). Compile or export the scene with the other tools.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"recording": "<recording>",
"view": "<view>"
},
"name": "construct_netlogo_draw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| z | No | ||
| art | No | an art-direction layer (docs/NETLOGO.md: credit, title, summary, looks, parts, facts, annotations, presentation, animation, reading, legend) | |
| time | No | ||
| view | Yes | ||
| solid | No | ||
| state | No | ||
| title | No | ||
| change | No | ||
| colors | No | run (default): the run's own NetLogo colours; house: Construct's tones | |
| levels | No | ||
| smooth | No | ||
| window | No | space-time and pulse: auto (default), whole, or the tick to end at | |
| landmarks | No | the moments worth marking, from the counts (on by default) | |
| materials | No | ||
| recording | Yes | the run's JSON Lines (a larger run: record with every > 1, or draw it with the command line) | |
| max_agents | No | ||
| resolution | No |