Live data from Hacker News

p5.js

p5js.org

51–60 of 73 posts

Re: p5.js

#51
Is there a JavaScript library that does animation using timelines, key frames, etc? It seems like p5js and several other animation libraries focus on things like partial simulations or other animations driven by mathematical formulas rather than animations done by placing objects on timelines and transforming them.

Re: p5.js

#52
Processing (the original Java one) has inspired many libraries. These days it is possible to find (more-or-less) compatible libraries for most popular language.

As a summer project I wrote a version for Racket:

https://docs.racket-lang.org/manual-sketching/

The main inspiration was Daniel Shiffman's YouTube channel "The Coding Train". He has a knack for picking visual interesting problems/algorithms and his enthusiasm is unmatched.

https://thecodingtrain.com/

Re: p5.js

#54
post #51

Is there a JavaScript library that does animation using timelines, key frames, etc? It seems like p5js and several other animation libraries focus on things like partial simulations or other animations driven by mathematical formulas rather than animations done by placing objects on timelines and transforming them.

It has a frame rate property you can reference

Re: p5.js

#56
post #47
post #19

Earlier quoted context omitted.

> I'm surprised that they decided to take out the part in the About section mentioning that this is a continuation of the ideas from Processing There was a schism between Ben Fry and the Processing Foundation, so I would reckon it's political. One of his chief complaints was how the p5.js project had taken over the Processing Foundation and minimized Processing development.

Some more context: Ben Fry posted a thread on X in 10/2023[1] where he announced and explained his decision to resign from the Processing Foundation. Seems like Processing got left out from expenses despite their large budget, running against their original reason to start the foundation: “I was soon shocked to learn that the Foundation spent nearly $800,000 last year. $0 of that went to Processing 4. This year, the…

"...there are still lots of good reasons to choose it over p5."

What are some good reasons to choose it over p5?

Re: p5.js

#57
Nice new website! Great project, I've been using it since the pro55esing java applet days. I got my 10 year old niece interested in programming by showing her some quick openprocessing code.

Re: p5.js

#58

Earlier quoted context omitted.

I use it to play music. Short demo: https://youtu.be/G1ftvw-Y6pk Open mic set: https://youtu.be/nKFK_OhQv3k

Did you transform a coat stand into an awesome futuristic instrument??? So glad I asked. Brilliant work. This should be in the HN front page!

Reminds me of Electronicos Fantasticos (Japan) who re-purposes old items (TV's old fans, barcode scanners etc...) and makes electronic music. Super interesting stuff!

https://www.youtube.com/watch?v=A0VYsiMtrNE

Re: p5.js

#59
post #47

Earlier quoted context omitted.

Some more context: Ben Fry posted a thread on X in 10/2023[1] where he announced and explained his decision to resign from the Processing Foundation. Seems like Processing got left out from expenses despite their large budget, running against their original reason to start the foundation: “I was soon shocked to learn that the Foundation spent nearly $800,000 last year. $0 of that went to Processing 4. This year, the…

"...there are still lots of good reasons to choose it over p5." What are some good reasons to choose it over p5?

Performance is the main one. Another is not having to use a browser or program in JavaScript.

Re: p5.js

#60
The p5.js is a really awesome library because of their increased functionality and ease of use for artistic applications.

Last year, I made a p5.js and Ruby on Rails powered application [1] [2] for my Bachelor's degree that allowed the user to create generative art directly from the user interface, and the experience with that tool was straightforward.

[1] - https://www.facili.art/

[2] - https://github.com/murciof/faciliart

Post reply on HN