p5.js looks like an excellent framework and community to work with for building Simulations into wiki.
p5.js is a JavaScript library that starts with the original goal of Processing, to make coding accessible for artists, designers, educators, and beginners, and reinterprets this for today's web - hello.p5js.org
Using the original metaphor of a Software Sketchbook, p5.js has a full set of drawing functionality. However, you're not limited to your drawing canvas, you can think of your whole browser page as your sketch! For this, p5.js has addon libraries that make it easy to interact with other HTML5 objects, including text, input, video, webcam, and sound - p5js.org
# Beyond the canvas
p5.js allows your simulation to reach out Beyond the Canvas. Using the p5.dom add-on library, p5.js can be used to create and interact with HTML elements outside of the HTML5 Canvas.
# Code Examples Take a look a some examples - p5js.org
Here is a simple example code:
function setup() { createCanvas(640, 480); } function draw() { if (mouseIsPressed) { fill(0); } else { fill(255); } ellipse(mouseX, mouseY, 80, 80); }
# References and community
# Downloads p5.min.js is about 250 KB and you can download the p5.js libraries or link to the CDN from here -p5js.org
# p5.js - p5.js | get started - p5js.org - p5.js | learn - p5js.org - p5.js | books - p5js.org - p5.js | download - p5js.org - FAQ - github.com - processing/p5.js: p5.js is a... - github.com - p5.js | reference - p5js.org - p5.js | reference - p5js.org - Wavefront .obj file - p5.js | reference - p5js.org - p5.js | reference - p5js.org - p5.js | libraries - p5js.org - 10Dots studio - co.uk