Welcome to Brian2WASM’s Documentation

The brian2wasm package is a Brian 2 simulator device that compiles Brian 2 models into WebAssembly and JavaScript using the Emscripten toolchain. It generates a self-contained web folder containing HTML, JavaScript, and a .wasm binary, enabling simulations to run directly in any modern web browser.

Example simulation output

Example output of a brian2wasm simulation.

Contributing

We welcome contributions to brian2wasm! If you’re interested in contributing, please join the discussion on the Brian Discourse Group.

Bug Reports

To report issues or suggest improvements, use the GitHub issue tracker or post in the Brian Discourse Group.

Tip

Before submitting a bug report, check the known issues page to see if your issue is already documented.

Contents

API Reference