Jeremy Magland Initial commit: numbl project example for GitHub Pages
| .github | |
| .gitignore | |
| main.m | |
| numbl-project.json | |
| README.md | |
| waves.m |
numbl project example#
A tiny example numbl project deployed to GitHub Pages. Everything runs in your browser — pick a script in the panel on the left and click Run. You can edit any file too; changes stay in memory for your session.
Files#
main.m— prints a couple of values and draws a plot.waves.m— a small helper function used bymain.m.
x = linspace(0, 4*pi, 400);
plot(x, exp(-x/10) .* sin(x));
title('damped sine');
How it's deployed#
On every push to main, the workflow in
.github/workflows/deploy.yml bundles these
files with the numbl browser IDE and publishes the result to GitHub Pages — no
server, nothing to build by hand.
Edit numbl-project.json to change the title or which file opens first.