p5.js
p5.js is a free JavaScript library for artistic creation, supported by a diverse community. Recent workshops include a coding club for seniors in Korea and global events at various institutions.
Read original articlep5.js is a free and open-source JavaScript library designed to facilitate coding and artistic creation, catering to a diverse audience that includes artists, designers, beginners, and educators. The library is supported by an inclusive community that emphasizes accessibility. Recent activities include workshops and events aimed at various demographics, such as a coding club for individuals aged 50 and older in Korea, led by Inhwa Yeom, and a community salon featuring over 600 contributors, introduced by Qianqian Ye. The p5.js community actively engages in workshops globally, including events at institutions like ITP-NYU in New York and Tunapanda Institute in Nairobi. The p5.js team has announced that no new features will be added to the library, except those that enhance accessibility. The community is encouraged to explore the library's resources, including references, tutorials, and examples, to learn and create with p5.js. The platform also invites contributions and donations to support its ongoing development and community initiatives. Overall, p5.js serves as a valuable tool for learning coding and creating art, fostering a collaborative environment for users of all skill levels.
Related
Malicious Code Injection Found in CDN Polyfill Link Targeting Mobile Users
Polyfill.io selectively polyfills browser features based on User-Agent headers. Tailored polyfills are provided, with official documentation on their website. Contribution guide on GitHub, self-hosting info, and MIT license available.
Show HN: Simulating 20M Particles in JavaScript
This article discusses optimizing JavaScript performance for simulating 1,000,000 particles in a browser. It covers data access optimization, multi-threading with SharedArrayBuffers and web workers, and memory management strategies.
CodeMirror: Extensible code editor component for the web
CodeMirror is a versatile web code editor with accessibility, syntax highlighting, collaborative editing, and more. It supports multiple languages, offers extensive features, and encourages community contributions and discussions.
Show HN: Z Js - The literally low overhead Js framework.
Z.Js Framework enhances HTML, CSS, and JavaScript with routing, components, styling, and state management. Developers create components with JavaScript template literals, manage state, handle reactivity, and navigate pages efficiently. Explore documentation and contribute via the provided GitHub URL.
Node.js Is Here to Stay
Node.js, a key technology for 15 years, powers 6.3 million sites and 98% of Fortune 500 companies. Its lightweight, event-driven design suits real-time and high-concurrency needs. Security updates, Linux preference, and new features like ECMAScript Modules ensure Node.js remains a versatile and secure tool for modern web development.
- Many users praise the new website and improved documentation, noting it enhances accessibility and usability.
- Several commenters share their personal projects and experiences using p5.js, highlighting its ease of use for creative coding.
- There are mentions of the library's role in generative art and its influence on learning programming concepts.
- Some users express concerns about the library's performance and the background of its founders.
- Daniel Shiffman's contributions through educational content are frequently acknowledged as pivotal for many users.
In my view, it seems to be paying off - the site feels a lot easier to navigate and search, with more useful information. For example, compare the old[2] and new[3][4] versions of how to use p5js editor/canvases with a screen reader.
[1] - STF announcement/progress - https://p5js.org/events/stf-2024/
[2] - Using p5 with a screen reader (old version) - https://archive.p5js.org/learn/p5-screen-reader.html
[3] - How to Use the p5.js Web Editor with a Screen Reader (new) - https://p5js.org/tutorials/p5js-with-screen-reader/
[4] - Writing Accessible Canvas Descriptions (new) - https://p5js.org/tutorials/writing-accessible-canvas-descrip...
I used P5.js with ChatGPT to make a design tool that balances 5 masses on a circumference for creating a rotary magnetic bow with reduced harmonic locking.
Drag vertices of the pentagon... https://editor.p5js.org/spDuchamp/full/zgtkE2xik
Here 3D printed result https://www.instagram.com/p/Cr4ZXGztY27/
As a wonderful coincidence, the piece of digital art that got me interested in digital art in the first place - which is a delightful tribute to computing - also used p5.js: https://baku89.com/work/ffff?lang=en https://animethemes.moe/anime/subete_ga_f_ni_naru_the_perfec...
I think one of the hardest things for me as a programmer is getting through all the boilerplate to put the first pixel on the screen and p5.js solves that pretty well, letting me focus on more on the "creative" aspect of "creative coding".
I probably wouldn't use p5.js for Big Boy Software Development, but whenever I want to sketch, it's the first digital tool I reach for.
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://news.ycombinator.com/item?id=37760363
Knowing what I know now I regret supporting the work of Processing Foundation.
2022 (244 points, 57 comments) https://news.ycombinator.com/item?id=33176026
2017 (349 points, 77 comments) https://news.ycombinator.com/item?id=14749527
2014 (381 points, 93 comments) https://news.ycombinator.com/item?id=8144212
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/
It's one of the fastest ways I know of to make something fun and expressive in code.
p5 was a core dependency for Art Blocks, a popular Ethereum art platform that gained popularity due to its asset class of entirely generative artworks.
Related
Malicious Code Injection Found in CDN Polyfill Link Targeting Mobile Users
Polyfill.io selectively polyfills browser features based on User-Agent headers. Tailored polyfills are provided, with official documentation on their website. Contribution guide on GitHub, self-hosting info, and MIT license available.
Show HN: Simulating 20M Particles in JavaScript
This article discusses optimizing JavaScript performance for simulating 1,000,000 particles in a browser. It covers data access optimization, multi-threading with SharedArrayBuffers and web workers, and memory management strategies.
CodeMirror: Extensible code editor component for the web
CodeMirror is a versatile web code editor with accessibility, syntax highlighting, collaborative editing, and more. It supports multiple languages, offers extensive features, and encourages community contributions and discussions.
Show HN: Z Js - The literally low overhead Js framework.
Z.Js Framework enhances HTML, CSS, and JavaScript with routing, components, styling, and state management. Developers create components with JavaScript template literals, manage state, handle reactivity, and navigate pages efficiently. Explore documentation and contribute via the provided GitHub URL.
Node.js Is Here to Stay
Node.js, a key technology for 15 years, powers 6.3 million sites and 98% of Fortune 500 companies. Its lightweight, event-driven design suits real-time and high-concurrency needs. Security updates, Linux preference, and new features like ECMAScript Modules ensure Node.js remains a versatile and secure tool for modern web development.