samplebrain
p5.js
Our great sponsors
samplebrain | p5.js | |
---|---|---|
1 | 233 | |
104 | 20,761 | |
- | 1.0% | |
3.2 | 9.9 | |
5 months ago | 3 days ago | |
C++ | JavaScript | |
GNU General Public License v3.0 only | GNU Lesser General Public License v3.0 only |
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.
samplebrain
We haven't tracked posts mentioning samplebrain yet.
Tracking mentions began in Dec 2020.
p5.js
-
Turbo Pascal Turns 40
Processing (P5) had this: you can select any string of text in its IDE anl search for it in the docs, and if it's one of the built-in functions or constants it will open the associated static html page that came installed with the software, so no internet nor server required. And despite being offline you can still navigate the docs too. This feels a lost basic skill in static site generation these days.
It was the only creative coding framework that had complete, offline documentation like that at the time I might add. OpenFrameworks is still mostly autogenerated stubs for example.
IMO it was one of the things that gave Processing an edge in educational contexts over all alternatives. I was pretty sad to see p5.js not fully continue that tradition and require that you go online to read the docs, and that it's not a static website but that text is rendered with javascript when you open it (still complete and with examples though).
-
G9.js: Automatically Interactive Graphics
I was curious too, took a little bit of digging :)
"the original domain of [P]rocessing was proce55ing.net, so people used to sometimes refer to processing as proce55ing or P5 or p5 for short. they still do sometimes. p5.js is a reference to that."
-
Ask HN: How to teach a kid of 15 Linux and programming
> how do I get him learning programming in a fun way?
Processing / P5.js can be pretty fun to learn. You use a real programming language to create art and animations. With little code you can get a circle on the screen, then making it move, then following your mouse, then adding other shapes, then changing colour depending on some event… It’s conductive to experimentation and a way to gradually introduce concepts.
- IT - programátor vzdělání
-
Tower of Hanoi in P5.js + WASM
I found P5.js, it is sort of the JS version of Processing and it has everything I was looking for, a complete API for rendering, painting images and text, calling DOM elements and much more.
-
I made a prototype for a .gcode animator. Details in comments.
I wanted to make a loading animation that looked like an icon got 3D printed, so in my spare time I made a little [p5.js](https://p5js.org/) .gcode animator.
-
Simplest graphics programming language/framework
Sounds like you want https://p5js.org/ That is, if you want use JS. This is pretty much an equivalent of Processing.
-
What are you working on? (2023-03)
I’m working on a wrapper for p5js using Fable. It’ll be mostly a summer project, since I don’t have much time to work on it the following months. It’s fun though, to port an example sketch every now and then, implementing missing methods along the way.
-
Any idea if there is a way of creating simulations such as the ones from the website PhET Colorado Edu, but without knowing anything about html, C++ or Python?
What sort of simulation are you trying to make? p5js.org is a great easy-to-use tool, but you still need to be handy with coding.
-
[Media] Genetic algorithm simulation - Smart rockets (code link in comments)
You're welcome, frameworks like nannou are called **Creative coding frameworks**, processing I think is the most popular one out there, also P5js.
What are some alternatives?
three.js - JavaScript 3D Library.
paper.js - The Swiss Army Knife of Vector Graphics Scripting – Scriptographer ported to JavaScript and the browser, using HTML5 Canvas. Created by @lehni & @puckey
fabric.js - Javascript Canvas Library, SVG-to-Canvas (& canvas-to-SVG) Parser
two.js - A renderer agnostic two-dimensional drawing api for the web.
BabylonJS - Babylon.js is a powerful, beautiful, simple, and open game and rendering engine packed into a friendly JavaScript framework.
heatmap.js - 🔥 JavaScript Library for HTML5 canvas based heatmaps
Konva - Konva.js is an HTML5 Canvas JavaScript framework that extends the 2d context by enabling canvas interactivity for desktop and mobile applications.
Pygame - 🐍🎮 pygame (the library) is a Free and Open Source python programming language library for making multimedia applications like games built on top of the excellent SDL library. C, Python, Native, OpenGL.
d3-cloud - Create word clouds in JavaScript.
svg.js - The lightweight library for manipulating and animating SVG
d3 - Bring data to life with SVG, Canvas and HTML. :bar_chart::chart_with_upwards_trend::tada:
SVG Gauge - Minimalistic, animated SVG gauge. Zero dependencies