Skip to content

Add the Construct extension (1.1.1) - #91

Open
rtmandreyev wants to merge 1 commit into
NetLogo:7.0from
rtmandreyev:construct-1.1.1
Open

rtmandreyev wants to merge 1 commit into
NetLogo:7.0from
rtmandreyev:construct-1.1.1

Conversation

@rtmandreyev

Copy link
Copy Markdown

Add the Construct extension (1.1.1)

Construct draws a NetLogo run as a construct: an animated 3D hologram in which height is time, built from the
recording alone. construct:run runs, records and draws a model in one command; the commands one by one
(construct:start, construct:track-turtles, construct:track-reporter, construct:track-patches,
construct:record, construct:draw) give full control. construct:draw can also write a 3D model (glTF,
"model" true) and, with Blender, a film ("film" true).

  • Java, NetLogo Extension API 7.0, compiled against NetLogo 7.0.4; Apache-2.0.
  • Tested headless in NetLogo 7.0.4 and on stock models (Virus on a Network, Wolf Sheep Predation, Fire, Flocking):
    the recording matches, tick by tick, the include-file recorder Construct has shipped since 0.3, and its errors say
    what to do. NetLogo 3D runs are recorded with their heights.
  • Platforms: recording is plain Java. Drawing runs Python 3.10 or newer (python3; python on Windows) with the
    construct compiler bundled in the zip: no network, no packages to install. Without Python, recording still works
    and the error says how to point the extension at one (construct:set-python). Tested on macOS, and headless on
    Windows and Linux in CI (GitHub Actions, NetLogo 7.0.4: the zip built and unzipped beside a model, a run recorded and
    drawn): https://github.com/rtmandreyev/construct/actions/workflows/tests.yml
  • Source and docs: https://github.com/rtmandreyev/construct/tree/main/hosts/netlogo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant