mariocraft987 / bark-coding

A Blockly Based coding language
https://bark.dumorando.com
BSD 2-Clause "Simplified" License
10 stars 18 forks source link

p5.js for the stage #28

Closed nmsderp closed 3 months ago

nmsderp commented 4 months ago

We should use p5.js for the stage, it can be easily used with html and blocky, plus it is really simple to make p5.js code, you just download the minified file and mention it via the script tag. Read the docs for more tho

mariocraft987 commented 4 months ago

We should use p5.js

nmsderp commented 4 months ago

p5.js is really simple

function setup() {
  createCanvas(400, 400);
}

function draw() {
  background(220);
}

that makes a simple stage, with 2 functions

mariocraft987 commented 4 months ago

That was already in the editor, but i'm such a noob at it 🤓

nmsderp commented 3 months ago

closing this for now