p5.js-web-editor
boiga
p5.js-web-editor | boiga | |
---|---|---|
40 | 1 | |
1,257 | 30 | |
1.8% | - | |
9.6 | 2.1 | |
9 days ago | 12 months ago | |
JavaScript | Python | |
GNU Lesser General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
p5.js-web-editor
-
Ask HN: Modern Day Equivalent to HyperCard?
not sure it counts as "HyperCard" but for environments there's p5js.org (https://editor.p5js.org/)
> I wish there were an offline environment like that built into firefox. You can bring up a javascript console, but it's not really a friendly development environment. And something like visual studio code is capable but large and complicated.
That seems like a day project in electron. At least to MVP. Use CodeMirror or Monaco. As long as you pass the right options you can run the user's code in an iframe in a separate process. That way you can kill it even if it has an infinite loop.
-
How to Create Simple Sketching Art with p5.js: A Step-by-Step Tutorial
p5.js already has a web editor for you where you can make your first sketch. You can click here to create your first sketch.
-
Let's compile like it's 1992
Another option is to use the p5.js library. They also have a nice online editor, at https://editor.p5js.org/, which makes it easy for students to get up and running quickly.
- TRADUÇÃO: Quando você vai querer usar o BubbleSort?
-
hello :)
Playing is the way to go! Some stuff can be a bit hard to wrap your head around for the first time, but theres a lot of resources and good people on the generative scene to help. If you havent saw it, you can use the online editor https://editor.p5js.org/ so you dont need to worry about how the file structure of a p5 project works (its easy!) And this will feel a bit dumb for some people but the moment i saw the reference page https://p5js.org/es/reference/ i felt a bit of relief as i thought programmers just memorized all those methods and functions.
-
Ising Model - Mathematical model of ferromagnetism in statistical mechanics
I'm not very good at JS or processing, but you can see how this one worked out by pasting it into https://editor.p5js.org/ or a similar website.
-
How hard would it be to code a "point and click-y" game as a total beginner
You could do something like this in p5js pretty easily. p5js is a beginner friendly JavaScript library for drawing to an HTML canvas.
- De unde încep? Help!
-
Scratch is the world’s largest coding community for children
I believe p5.js (used at https://editor.p5js.org/) is quite close to Scratch in spirit. Of course I think turning straight to javascript (the library really streamlines it) might be too difficult without instruction, so following some kind of tutorials or lessons would be necessary.
It's incredibly fun, and I've been making procedural... things for a while with it. Many artists use it (and of course every web tool is available... you can even later port the code to just straight canvas for the performance, although that's rarely necessary I guess).
See my little roguelike room generator: https://editor.p5js.org/gustavo.nramires/sketches/eyyxg7vl2
And a flower: https://editor.p5js.org/gustavo.nramires/sketches/hwhVUQu_X
-
Wind and Grass
Hi, i'm on editor.p5js.org
boiga
-
Scratch is the world’s largest coding community for children
The former. If you want text, other languages are available.
If you really want to use a keyboard, Tosh exists https://tosh.blob.codes/
If even using a keyboard is too much effort, I have a Python library for doing Scratch metaprogramming and code generation: https://github.com/davidBuchanan314/boiga
I've used it to write non-trivial Scratch programs, such as X25519 key exchange with ChaCha20-Poly1305 authenticated encryption https://scratch.mit.edu/projects/714773326/
What are some alternatives?
website-archive - Archive of the Coding Train website (first version)
pxt-microbit - A Blocks / JavaScript code editor for the micro:bit built on Microsoft MakeCode
website - The Pudding's website
c2lc-coding-environment
jscriptparse - pyx scripting language & REPL/Shell ; prs - javascript module for parser combinators
graze - Rewrites Scratch projects as GameMaker 1.4 projects
schotter - Nannou/Rust tutorial based on Schotter by Georg Nees
blockly - The web-based visual programming editor.
kaboom.js - 💥 JavaScript game library
scratch-www - Standalone web client for Scratch