Universe

beam aims to simplify the creation of schematics for experiment setups in the field of optics.

#import "@preview/beam:0.1.0"

#beam.setup({
    import beam: *

    // draw your setup here
})

Examples

A Michelson interferometer and more

michselson interferometer

Documentation

Automatically generate the manual via tidy

typst compile --root . docs/main.typ manual.pdf

Tests

Run tests locally with tytanic

tytanic run --no-fail-fast

Credits

I built this package on the foundations of the fabulous zap.