Docs / Editors / Notebook

Notebook

A Notebook is a document-style Modellus model. Instead of placing shapes freely on a board, you write a vertical sequence of blocks — headings, text, expressions, charts, tables, sliders, and media — like an interactive lab report or worksheet.

Notebook editor with cover image, title, and header, text, expression, and table blocks

Overview

Notebooks share the same calculation engine as the Board editor. Expression blocks define the mathematics of the model — using the same expression language as the Expression shape — and the remaining blocks display and control it. A notebook combines narrative (headings, text, images) with a live, playable simulation.

Every notebook has a header with a cover image, a title, the author name, and the date it was last modified. Click the cover image to upload a new one, and click the title to edit it.

Creating and Opening Notebooks

Notebooks are created from the Community page: click Create Notebook in the sidebar. Notebooks appear alongside board models on Community cards, marked with a notebook icon, and open in the notebook editor rather than the board editor.

Blocks

Content is added as blocks from the top toolbar. Each button appends a new block at the end of the notebook.

BlockIconDescription
HeaderA large heading for structuring the document
TextA paragraph of text for explanations and narrative
ExpressionA mathematical expression that is parsed into the model, exactly like the Expression shape
ChartPlots terms of the model as the simulation runs, like the Chart shape
TableDisplays term values per iteration, like the Table shape
SimulationEmbedded simulation area (in development)
GaugeCircular dial for a term (in development)
SliderInteractive slider to adjust a value
ValueNumeric readout of a term (in development)
MediaAn image embedded in the document
QuestionAssessment question (in development)
RulerA scale to measure against, read linearly or over decades. The ruler object itself, in a block of its own
ProtractorA band of degrees to measure an angle against, markable in degrees, radians or turns. The protractor object itself, in a block of its own
SlopeSlope measurement tool (in development)
Blocks marked in development can be added and arranged, but currently render as placeholders.

Working with Blocks

Running the Model

Notebook player toolbar with independent variable, playback controls, and playhead slider

The player toolbar at the bottom of the notebook drives the simulation, just as in the board editor:

Chart, table, and slider blocks update live while the model plays.

Saving and Collaboration

File Format

A notebook is stored like any other model, with an additional top-level notebook section in the model definition:

{
  "properties": { ... },
  "notebook": {
    "title": "Free Fall Lab",
    "author": "Author",
    "blocks": [
      { "id": 1, "type": "header", "content": "Free fall" },
      { "id": 2, "type": "text", "content": "We model a falling object..." },
      { "id": 3, "type": "expression", "content": "\\frac{dy}{dt}=v" }
    ]
  }
}

Each block carries an id, a type, its content, and styling properties such as backgroundColor and borderColor. See the Model Schema for the full model format.