openrndr
p5.js
Our great sponsors
openrndr | p5.js | |
---|---|---|
16 | 233 | |
817 | 20,761 | |
1.2% | 1.0% | |
9.3 | 9.9 | |
6 days ago | 4 days ago | |
Kotlin | JavaScript | |
GNU General Public License v3.0 or later | 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.
openrndr
-
Show HN: SalamiVG, an SVG framework for generative art and creative coding
I've been having fun making generative art for a few years and recently got the itch to write my own JS library for sketching SVGs.
This library is heavily inspired by OPENRNDR [1], which to date has been my framework of choice.
My motivation to write a JS library for SVGs came from a desire to bring the programming style I love from OPENRNDR into a language I use every day. I was also motivated to generate simple SVGs that I understood deeply because I'd like to start using a plotter soon to bring these sketches into the physical world.
The library is pretty bare-bones, but I did my best to document it thoroughly enough that a beginner could install it and draw their first sketch in as little time as possible. All the documentation, including an FAQ, is hosted in the project Wiki [2]. And yes, I do recommend p5.js for most users/beginners, but I still believe this library fills a niche.
Happy to answer any questions, or field any criticisms/notes.
-
Framework for creative coding in Lisp?
Is there a framework, library or package along the lines of Processing or OPENRNDR for Common-Lisp or Clojure etc.?
-
Ask HN: What's the best “higher level Rust” these days?
I’d also be interested in peoples replies. I know there is a creative coding framework built on it (haven’t used it though) https://openrndr.org/ .
-
Are there more elegant languages for generative art and creative coding?
Kotlin is very similar to Swift. OpenRNDR is a coding framework written it it. Kotlin has many of the features you speak of. Kotlin supports many of the features you ask about (or at least something similar to it).
Kotlin's a good language with a generative framework - https://openrndr.org
-
Coracle - Kotlin based Processing clone
Also have you checked out https://openrndr.org/
-
Processing and P5 Got Newbies into Coding
OPENRNDR is worth checking out for anyone interested in processing https://openrndr.org/
It avoids a lot of the weirdness that processing has in its relation with Java and meets somewhere between that and open frameworks.
Great to check out if you've been looking for a playground to get familiar with Kotlin too!
- Ask HN: Any Artists on HN?
-
Tips & tricks for building a game using Jetpack Compose for Desktop
Instead of reinventing the wheel vector, I decided to use openrndr-math, which includes an implementation of the Vector2 class including all common operations, like scalar multiplication, addition, subtraction, the dot product, and more. (Ever since listening to the Talking Kotlin episode, I've been meaning to explore OPENRNDR in detail, but that will have to happen in a separate project.)
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