News for hackers. Stuff that matters.
Re:P5.js Crash Course: Recreate Art You Love by bob_loblaw on Monday November 06, 2017 @05:32PM (#15639582)
Dan Shiffman has a great YouTube channel on Processing stuff (mostly P5 these days).

https://www.youtube.com/user/shiffman/

Re:P5.js Crash Course: Recreate Art You Love by chairmanwow on Tuesday November 07, 2017 @12:26AM (#15641237)
I have watched so many hours of Dan's videos because he inspires a fervency of the acquisition of knowledge. I absolutely wish that I had his videos whenever I was first starting to program. His attitude is so endearing as it is clear that he simply can't contain his excitement about programming.

His Youtube channel used to be called "Coding Rainbow", but he was unfortunately forced to change it. He really does a great job at capturing the sense of wonder that "Reading Rainbow" inspired in me as a kid.

Re:P5.js Crash Course: Recreate Art You Love by diminish on Tuesday November 07, 2017 @04:20AM (#15641963)
I just watched him last weekend - he triggers the curious learner, without avoiding mistakes, and walking as a discoverer he teaches difficult concepts with fun.

Hope he really launches some big online learning thing covering more areas.

Re:P5.js Crash Course: Recreate Art You Love by jhochenbaum on Monday November 06, 2017 @06:13PM (#15639826)
Dan is the man! He also has a great follow up course in p5.js on Kadenze based on his Nature of Code book as well which is really great! https://www.kadenze.com/courses/the-nature-of-code/info
Re:P5.js Crash Course: Recreate Art You Love by pmcpinto on Tuesday November 07, 2017 @04:59AM (#15642093)
Nice tip. I've started this course a couple of days ago: https://www.kadenze.com/courses/introduction-to-programming-...

I think I'm going to do that one next

Re:P5.js Crash Course: Recreate Art You Love by bionicbrian on Monday November 06, 2017 @07:25PM (#15640178)
Love that guy. Worth watching just for the comedy.
Re:P5.js Crash Course: Recreate Art You Love by Already__Taken on Monday November 06, 2017 @07:02PM (#15640084)
His recent arrays one was really great.
Re:P5.js Crash Course: Recreate Art You Love by grahamperich on Monday November 06, 2017 @04:49PM (#15639305)
Nice! For those who aren't too familiar with P5.js, you may enjoy this introduction: http://hello.p5js.org/

however, do note that the real-time video compositing is done with a different library (https://github.com/brianchirls/Seriously.js/

Re:P5.js Crash Course: Recreate Art You Love by IanCal on Tuesday November 07, 2017 @03:27AM (#15641777)
To maybe save people a bit of time who do what I did:

The video compositing library seems to no longer have a main website.

The video drawing library, popcorn.js was run by mozilla but they no longer maintain it. There is a fork however. On the github page for this, it links to a js fiddle to try it out which fails to do the simple demo. The reason it fails is because the location it's pulling popcorn.js from is now just serving up HTML (js fiddle could make this clearer there's an issue). You may have to try things out locally to get it working.

Re:P5.js Crash Course: Recreate Art You Love by packetslave on Monday November 06, 2017 @10:43PM (#15640936)
be careful with that Seriously repository. The link to seriouslyjs(dot)org appears to be trying to install malware.
Re:P5.js Crash Course: Recreate Art You Love by droidist2 on Tuesday November 07, 2017 @12:42AM (#15641281)
Seriously!?!
Re:P5.js Crash Course: Recreate Art You Love by gadders on Tuesday November 07, 2017 @05:00AM (#15642101)
Is there anything I can read rather than watch a video?
Re:P5.js Crash Course: Recreate Art You Love by nrjames on Tuesday November 07, 2017 @08:40AM (#15643237)
This is great for learning Processing. http://natureofcode.com/book/
Re:P5.js Crash Course: Recreate Art You Love by qubex on Monday November 06, 2017 @11:15PM (#15641043)
I really love Processing (and its derivative P5.js) but I never really have any ideas to what to build with these tools in order to get truly dexterous and acquainted with them. I’ve recently set myself the goal of implementing the ”Wave Function Collapse Algorithm” (https://github.com/mxgmn/WaveFunctionCollapse/blob/master/RE...) in P5.js as a kind of catalyst to get me going.
Re:P5.js Crash Course: Recreate Art You Love by posterboy on Tuesday November 07, 2017 @12:07PM (#15645162)
This was a while ago, right? It's pretty cool, could be used for a procedural demo, maybe with music in a similar way.
Re:P5.js Crash Course: Recreate Art You Love by qubex on Wednesday November 08, 2017 @08:46AM (#15652298)
The algorithm was discovered/invented by analogy to Quantum Mechanics (with which it shares many similarities, but also important differences: the algorithm deals with probabilities, while the actual quantum physics deals with amplitudes, of which probabilities are the square).

Most of the stuff on that repository dates back about a year, and I first read about it about then here on Hacker News, but searching for the actual article has me swamped with references to quantum mechanics and physics.

Anyway, it has very general and broad applications indeed. Audio, 3D voxel spaces, et cetera, beyond the obvious 2D pixel space.

UPDATE: found the original entry on Hacker News, it was indeed first mentioned a year ago (with a few subsequent reposts): https://news.ycombinator.com/item?id=12612246

Re:P5.js Crash Course: Recreate Art You Love by misterman101 on Monday November 06, 2017 @06:50PM (#15640023)
To everybody interested, check out paper.js. It's also programmatic design but everything can be an object, making animations/interactivity easier, along with some other neat features.

http://paperjs.org/

Re:P5.js Crash Course: Recreate Art You Love by greggman on Monday November 06, 2017 @09:24PM (#15640623)
Bret Victor had some thoughts on ways P5 could be improved

http://worrydream.com/LearnableProgramming/

Re:P5.js Crash Course: Recreate Art You Love by jordanwallwork on Monday November 06, 2017 @04:42PM (#15639269)
Unrelated to the article itself, but I hate how it hijacks the scroll to add some kind of easing. It adds nothing and just made reading through the article feel weird
Re:P5.js Crash Course: Recreate Art You Love by ashwinv11 on Monday November 06, 2017 @06:00PM (#15639738)
Sorry about that, just fixed it!
Re:P5.js Crash Course: Recreate Art You Love by toisanji on Monday November 06, 2017 @05:55PM (#15639709)
here is a site I built to teach people how to code and draw with p5js: http://www.pushpopchallenge.com/
Re:P5.js Crash Course: Recreate Art You Love by ggambetta on Tuesday November 07, 2017 @04:05AM (#15641916)
This is beautiful. It captures the immediacy of writing some code and seeing something on the screen that I remember (and miss) from the ZX Spectrum.
Re:P5.js Crash Course: Recreate Art You Love by Already__Taken on Monday November 06, 2017 @07:02PM (#15640075)
I put together a very crude scaffold for p5 a long time ago in hopes it might encourage students to dive in and edit code, share/remix. It was an aid to teach client/server things but hopefully have a point to it.

Didn't really take off though: https://github.com/BirkdaleHigh/sketch

Re:P5.js Crash Course: Recreate Art You Love by Helloworldboy on Monday November 06, 2017 @04:45PM (#15639285)
This is awesome. I loved building little apps in Processing in college, looking forward to trying this out.
Re:P5.js Crash Course: Recreate Art You Love by posterboy on Tuesday November 07, 2017 @12:10PM (#15645188)
is there an online comunity for processing.js like wonderfl for flash?