note Zach Shallbetter

Welcome to Fundamental writings

This is writings — where we discuss what we are building and thinking about: new features, releases, and longer-form research. Everything here is plain markdown in a content datastore, so a new piece is one file. The first things going in are the research papers on the ideas behind Fundamental.

It renders three things well, on purpose.

Diagrams (Mermaid)

The frame scheduler runs six ordered phases so reads never thrash against writes:

flowchart LR
  discover --> read --> compute --> state --> write --> render
  render -. next frame .-> discover
  classDef phase fill:#0b1020,stroke:#4da3ff,color:#dfe8ff;
  class discover,read,compute,state,write,render phase

Math (LaTeX)

A body radiates structure that is separate from the force it applies. Gravity, for instance, is a softened inverse-square field — finite at the core, real 1/d21/d^2 far out:

g=GMr^d2+ε2,F=mgg = -\,\frac{G\,M\,\hat{r}}{d^2 + \varepsilon^2}, \qquad F = m\,g

and reading leaves a decaying memory, M(x,y,t+Δt)=M(x,y,t)decay+depositM(x, y, t{+}\Delta t) = M(x, y, t)\cdot\text{decay} + \text{deposit}.

Code (editor-grade highlighting)

Marking an element as a body is one attribute — the same markup works in plain HTML, React, Svelte, or Astro:

import { FieldField } from '@fundamental-engine/react';

export function Headline() {
  // density returns to the element through --field-density; CSS reads it back
  return (
    <FieldField density={1}>
      <h1 data-body="attract" data-strength={1.2} data-feedback>
        Mass
      </h1>
    </FieldField>
  );
}

That’s the whole idea of this section: write it in markdown, and the diagrams, math, and code come out legible. Start with the research.