field.module
README.md
field
This module, game.field.field, provides pure mathematical functions for the needlefield in THE LAST STRAW game. It handles grid indexing, needle and straw seating, instance matrix generation for rendering, needle resting places, run-length encoding for save data, and the geometry for the needle and straw models. It is called by components that need to interact with the needlefield's structure and state, such as the Field component for rendering and physics, and the save system for encoding/decoding game state.