-
Need NodeJS installed
node -v
To check the node installation.
-
Install a bundler: use Parcel
-
To start the development server use
npx parcel index.html
and go to
http://localhost:1234
. A production build can be achieved vianpx parcel build index.html
-
Alternatively setup start and build scripts in
package.json
to usenpm start npm run build
respectively source. Note, that you have to specify the public URL, where the website will be deployed using either the
--public-url
CLI option (in the parcel build command) or set thepublicUrl
key inpackage.json
.- There might happen some weirdness with the paths of the
href
andsrc
in development and build. For development, it might help to run thenpm start
within thesrc
directory. Otherwise, specify the--public-url
...?
-
-
Using KaTeX (css must be manually imported) with auto-render, math can be typeset just like in a typical LaTeX body.
-
A p5 sketch instance is created in the DOM as described here.
-
Very useful D3.js resources:
-
This may be particularly important for plots.
iscottyi / d3-lorenz-simulation Goto Github PK
View Code? Open in Web Editor NEWSmall visualisation of the Lorenz System made using D3.js
License: MIT License