Py5.js Demo by @lucapodular

This Exciting (but untested) Demo Includes:

Structure

setup(), draw(), createCanvas()

2D Primitives

arc(), ellipse(), circle(), line(), point(), quad(), rect(), square(), triangle()

Color

background(), fill()

Mouse Variables

mouseX, mouseY, pmouseX, pmouseY, winMouseX, winMouseY, pwinMouseX, pwinMouseY, mouseButton, mouseIsPressed

Key Variables

keyIsPressed, key, keyCode

Mouse Events

mouseMoved(), mouseDragged(), mousePressed(), mouseReleased(), mouseClicked(), doubleClicked(), mouseWheel()

Key Events

keyPressed(), keyReleased(), keyIsDown()

Random

random()