Monoceros
(by Jan Pernecky Subdigital)
Implementation of the Wave Function Collapse that fills the entire envelope with discrete Modules respecting the adjacency Rules.
Downloads:
18298
Support Email

A DISCRETE ASSEMBLY TOOLKIT FOR ARCHITECTS AND DESIGNERS

Monoceros is a legendary animal living in the huge mountains in the interior of India. Monoceros has the body of a horse, the head of a stag, the feet of an elephant and the tail of a boar.

Monoceros is also a suite of tools for optimally occupying an Envelope with discrete Modules, where the spatial relationship between those Modules can be constrained by a set of user-defined Rules. By using the Wave Function Collapse algorithm, it provides an innovative and fast solution to the emerging architectural problem of Discrete aggregation. Monoceros is a plug-in for Rhino / Grasshopper created at studio Subdigital by Ján Tóth and Ján Pernecký, and is available to download for free.

Complete documentation, examples and projects made with Monoceros are at monoceros.sub.digital.

ARCHITECTURE OF MONOCEROS

The core of Monoceros is a Wave Function Collapse (WFC) solver. WFC is an algorithm, that fills the entire discrete envelope with Modules with no remaining empty Slot. In case of Monoceros, the envelope is a collection of rectangular cuboid Slots, each with 6 neighbors in orthogonal directions, not taking diagonal neighbors into account.
In the original WFC algorithm, the Modules are exactly the size of a single Slot. The WFC then picks which Module should be placed into which Slot, leaving no Slot non-deterministic (with more than one Module allowed to be placed into the Slot) or empty / contradictory (no Module allowed to be placed into the Slot). Usually, there is less Modules (Module types) than Slots, which means each Module can be placed into Slots more times or not at all.
The Monoceros implementation of WFC internally works like this too, on the outside it presents the Modules as a continuous coherent compact collection of such cuboid cages (Module Parts), each fitting into one Slot.

Like Grasshopper itself, also Monoceros revolves around data and serves for its immutable processing. Immutability means, that no existing data is being changed but rather transformed and returned as a new instance of the data. In most cases it is even possible to construct the data with valid values right away with no need to re-define already existing data.
There are three main data types: SlotsModules and Rules.

Slot and Rule both reference to Module, its Part or its Connector. This reference is done only through user defined strings (for Modules and their Parts) or integer indices (for Module Connectors). This is an intention, so that the data sets (Modules, Rules or Slots) can be replaced or shared across more Monoceros setups.

Most of the Monoceros plug-in components serve for constructing, analyzing and processing data. The components try not to bring redundancy, therefore it does not do anything, that could be easily done with vanilla Grasshopper components. The three new Monoceros data types are seamlessly integrated into Grasshopper and cast from and to all relevant existing data types. All Monoceros components are compatible with the existing Grasshopper data types and ready to be used with existing Grasshopper components.

----

Wave function collapse
Subdigital Summer school 2020 research project

Ján Pernecký
Tomáš Tholt
Ján Tóth
Michaela Krpalová
Kristýna Uhrová
Hugo Fekar
Miriam Löscher
Alexander Kupko
Eva Kvaššayová
Ľuba Ondrejkovičová

Renderings by s.h.e. renders and Subdigital

Supported using public funding by Slovak Arts Council

License Cost:
Downloads
For instructions on installing Grasshopper Add-Ons, please see FAQ for details.
Title
Description
Platform
 
Monoceros 1.3.0.1
2021-Aug-01
Monoceros is a Grasshopper plug-in by Subdigital implementing Wave Function Collapse algorithm that fills an entire envelope of Slots with discrete Modules respecting the given Rules.
Rhino 6 Win
Rhino 7 Win
Rhino 8 Win
Monoceros Pro 2.3.2.7
2022-12-13
Grasshopper for Rhino 6 for Win
Grasshopper for Rhino 7 for Win
Grasshopper for Rhino 8 for Win
Monoceros Pro 2.3.2.3
2022-10-07
Grasshopper for Rhino 6 for Win
Grasshopper for Rhino 7 for Win
Grasshopper for Rhino 8 for Win
Monoceros Pro 2.3.2.2
2022-09-28
Grasshopper for Rhino 6 for Win
Grasshopper for Rhino 7 for Win
Grasshopper for Rhino 8 for Win
Monoceros 1.3.0.1
2021-11-23
Grasshopper for Rhino 6 for Win
Grasshopper for Rhino 7 for Win
User manual 1.2.*.*
2021-11-23
Grasshopper for Rhino 6 for Win
Grasshopper for Rhino 7 for Win
Reviews