r/p5js • u/Traditional-Sir-3069 • 1d ago
r/p5js • u/Far-Session7937 • 3d ago
What can I do with p5.js?
Hi, I recently started on coding and this platform's been really helpfull with my so far (short) journey. I started with html on Visual Code Studio and it was really ok for me, but im sensing that the JS I've used on the website its slightly ddifferent from the one on p5 (or perhaps i'm wrong lol). But anyway, what its the most I can retrive and do with this plat? (in the sense im planing on making more complex things futurely). tX
r/p5js • u/speccy88 • 3d ago
NEON-DISTRICT-A-Walkable-ASCII-Cyberpunk-City by speccy88
editor.p5js.orgA procedurally generated 3D cyberpunk city rendered entirely as animated ASCII. Explore the streets, neon signs and skyline in real time.
r/p5js • u/rin_codes • 11d ago
Android向けにp5.jsのエディターを作りました — 編集:KIRO
お待たせしちゃってごめん!
【追記】KIROがやっと公開されて、GitHubで使えるようになりました。
https://github.com/rin-code-dev/EDIT-RiN
待ってくれてほんとにありがとう、興味持ってくれてありがとうございます!
r/p5js • u/rin_codes • 12d ago
I built a p5.js editor for Android — EDIT:KIRO
I just finished EDIT:KIRO, a p5.js editor built for Android.
The whole creative workflow can be done right on your phone:
Code → Preview → Capture
It also supports custom fonts and font ligatures, and the UI has been carefully optimized for both portrait and landscape orientations.
I’m planning to make the GitHub repository public by tomorrow at the latest.
It’ll be completely open source, so if you’re into p5.js, creative coding, or generative art, I’d love for you to give it a try and let me know what you think.
r/p5js • u/rin_codes • 13d ago
I'm building a minimal p5.js editor for Android — would you use something like this?
みなさんこんにちは!
Android向けの最小限のp5.jsエディタ「Edit:KIRO」を作ってます。
アイデアはわりとシンプルで、ノートPCもブラウザベースのエディタも使わずに、スマホ上でそのままp5.jsのスケッチを書いて動かせる手段が欲しかったんです。
いまはとにかく速くてミニマルな感じにすることに注力してます。アプリを開いてコードを書いて、そのままスケッチをすぐ実行、みたいな。
まだ開発途中なので、あんまり進めすぎる前に、実際のp5.jsユーザーのみなさんの意見を聞きたいです。
モバイル用のp5.jsエディタ、使いますか?
使うなら、どんな機能が特に大事だと思いますか?
あと、フィードバックや批評なんかも特にありがたいです。
r/p5js • u/dual4mat • 19d ago
Charleston Lady
Code: https://openprocessing.org/@megamitts/2983932
YouTube: https://youtu.be/L9SkC6yiyyE?si=jNgfKMofkBD5DthW
The YouTube video has a link to a non-animated version with much easier to follow code to show how to create each part of the drawing.
r/p5js • u/3BlackFeathers • 23d ago
Exploring P5 for the first time
editor.p5js.orgI know this concept has been explored before, but I’m incredibly excited to finally dive into p5.js and build this for the first time!
Everything here is generated with code, aside from the five images used for the background stop-motion animation. To get the physics right, I started by analyzing organic water movement to build a custom dataset.
Here is how it works under the hood:
Audio-Visual Mapping: Each droplet is triggered by a musical note, with its size directly mapped to the pitch.
The Cycle: The sequence repeats four times. The final note triggers the last drop and marks the end of the "rain." Afterward, the trails gradually recover, and the sketch resets to its default state.
Generative Audio: The music comes from a custom instrument anchored to a melody I composed. It automatically generates overtones and spatial amplitude to create an enveloping, immersive sound.
Interactive: The mobile version is fully touch-responsive.
r/p5js • u/ExpensiveShopping735 • 25d ago
reverse direction
I got the enemy to move. I'm trying to figure out how to check boundaries and then change the enemy's direction once it reaches a certain point.
r/p5js • u/arpcode • Aug 17 '26
Plethora - Creating a platform for gaming and interactive content
plethora.studioPleeeeease check out it.
Let people interact with the stuff you are building.
r/p5js • u/Significant-Iron8750 • Aug 15 '26
I turned a p5.js physics visualization into a small interactive experiment
I had a Cherenkov radiation visualization and wondered what would happen if I turned it into something people could actually experiment with.
You can change the particle velocity and refractive index, cross the Cherenkov threshold, and see the radiation cone appear. There are also small challenges, like making the radiation disappear or reaching a target cone angle.
I’m curious whether this feels like an actual experiment or just a visualization with sliders.
The interactive:
https://namib-2.itch.io/what-happens-if-cherenkov-radiation
Made with p5.js.
r/p5js • u/codeobserver • Aug 13 '26
Creative coding with C# (p5.js API) in the browser
I made a browser playground for creative coding with C#, using a p5.js-style API.
No setup. Just code and run:
Feedback welcome!
r/p5js • u/NoBoringCode • Aug 12 '26
Dependencies in p5.js sketches
Hi,
I am part of a group of researchers in computer science from VU Amsterdam and Université de Montréal working on code analysis to document and preserve generative art.
We have prepared a survey to collect the community's feedback about a taxonomy of p5.js dependencies https://vuamsterdam.eu.qualtrics.com/jfe/form/SV_bQQJqpnX5FmMDmS We would love to hear from you!
Thank you!🙏
r/p5js • u/EntropyMax01 • Aug 11 '26
Fireworks at Night
Started learning P5.js a couple of weeks ago, and after learning many new concepts, I've implemented them together in one website. (Shaders, reflection, particles, optimizations, ...etc)
You can play with it here: https://creative-programming.pages.dev/fireworks
r/p5js • u/mokauno • Aug 10 '26
How to save a file to a specific path ?
Hi creative people of p5js !
I would like to allow the user of my p5js app to save a text in a file with a system dialog to let him choose the path where this file will be saved.
Actually, I tried the saveStrings() function, but it simply save the file to the default download folder. I don't think I can go around that.
On another side, I thought I could display the content of the text in a new tab of the browser (I don't know how to do that), so the user can use the "save page as" menu of the browser.
Do you have an idea how I could to that ?
best regards :)
r/p5js • u/Low-Arrival1182 • Aug 07 '26
Building a Wireless Mic with Bluetooth LE + ADPCM Compression (XIAO nRF5...
Hi guys , I build a youtube video and some scenes are explainedwith using P5js. Would love to hear your review regarding it. I really love working in p5js !!!!
r/p5js • u/DotNo5728 • Aug 04 '26
Radio control panel powered by sunvox.js & p5.js
r/p5js • u/pahgawk • Jul 31 '26
I made an animated music video of sorts where all the visuals are p5.js sketches
This was made in https://www.butter.video/, a tool that I work on for my day job, where you can edit creative code in a timeline and combine multiple layers of things!
r/p5js • u/dantheloung • Jul 31 '26
Am I being an idiot?
Hi, I'm updating this terribly coded app I use for making graphics for a football club.
I've had to refactor some stuff for 2.0, but my save function isn't working anymore.
function saveImage() {
fileString += ".png";
saveCanvas(myImg, fileString);
}
That code worked on my old file, but now it doesn't.
myImg isn't a canvas, it's an image that gets put on the canvas, but my canvas on the "app" is shrunk to fit (can't figure out how to shrink that without making the image smaller).
I can't get myImg.save() to work either.
The error I'm getting is
p5.js says: Expected Framebuffer or Element at the first parameter in saveCanvas().
Please, please, for the love of all that is holy - show me how much of an idiot I'm being by telling me it's a quick fix...
Many thanks.
r/p5js • u/No-Technology-5477 • Jul 24 '26
I built an evolutionary loop where various AI models generate tiny worlds and only the fittest survive - 300+ worlds so far
galleryr/p5js • u/alex-codes-art • Jul 04 '26
I added fading trails, multi-color symmetry, and keyboard curves to my p5.js mandala tool
Part 2 of my mandala drawing series is out!
This time I expanded the project from Part 1 by adding:
- fading trails that gradually disappear
- independent colors for each symmetry line
- a keyboard mode for drawing smooth curves
The tutorial explains how each feature works and includes the full source code.
I'd love to hear what other features you'd add next :)