Skip to main content
Daniel McCoy Stephenson
All projects

env-lib-cpp

The C++ counterpart to py-env-lib: base classes for two-dimensional virtual worlds, used by the C++ simulations such as Microbiome. An opt-in frontend draws any environment in 3D on the Strata engine, and its two demo worlds run in the browser: ten walkers stepping at random on an 8x8 grid, and a 20x20 meadow where sheep graze, wolves stalk them and the grass grows back.

C++
Libraries
Active
PlayOwn siteGitHub

See it in 3D

The meadow demo world, captured with the library's own docs/capture-3d.sh recipe: sheep graze, wolves stalk them and the grass grows back, drawn by the opt-in Strata frontend headless. The same world runs in the browser on /play. Clip and still drawn by envlib_strata_demo.