Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

p5.js has been around for about 8 years.

"p5.js is a JavaScript library for creative coding, with a focus on making coding accessible and inclusive for artists, designers, educators, beginners, and anyone else! p5.js is free and open-source because we believe software, and the tools to learn it, should be accessible to everyone.

Using the metaphor of a sketch, p5.js has a full set of drawing functionality. However, you’re not limited to your drawing canvas. You can think of your whole browser page as your sketch, including HTML5 objects for text, input, video, webcam, and sound."



We are a community of, and in solidarity with, people from every gender identity and expression, sexual orientation, race, ethnicity, language, neuro-type, size, disability, class, religion, culture, subculture, political opinion, age, skill level, occupation, and background. We acknowledge that not everyone has the time, financial means, or capacity to actively participate, but we recognize and encourage involvement of all kinds. We facilitate and foster access and empowerment. We are all learners.


During my university courses at University of London, we made a side-scrolling video game, a sound visualizer, as well as a MS Paint clone using P5. It's definitely accessible for beginning JavaScript programmers.


How much would the MS Paint take to the average coder to ship?


Surprisingly, if you keep the feature set down, time to ship wasn't bad. The project was done in about half a semester and that's only working on it here and there. For the final project we had to implement three "advanced" drawing tools, I think one of the ones I came up with was to draw Bezier curves, now that wasn't exactly trivial and could definitely add some time to ship.


I was thinking mostly photoshop brushes, not paint tbh. Thanks for sharing. might try at home!


Depends on how feature complete you want it to be.

Back when I was working in Processing a lot, I could probably have whipped up something decent in an easy weekend. If I wanted to have more complicated features like flood fill, cutting/moving regions etc, I might need an extra day to figure it out.

If all you want is a bare minimum scribbling lines in a limited palette, that could probably be done in a matter of minutes.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: