4 ms·
ChatGPT knows P5.js pretty well so you can ask "Write a P5 program that plots a sine wave and let's me control phase with a slider." and it does it. I used P5.
by _spduchamp 2y ago
ChatGPT knows P5.js pretty well so you can ask "Write a P5 program that plots a sine wave and let's me control phase with a slider." and it does it.
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 https://editor.p5js.org/spDuchamp/full/zgtkE2xik
Here 3D printed result https://www.instagram.com/p/Cr4ZXGztY27/ https://www.instagram.com/p/Cr4ZXGztY27/
- zyklonix 2y agoI am fascinated with this. What is it used for?
- _spduchamp 2y agoI use it to play music. Short demo: https://youtu.be/G1ftvw-Y6pk https://youtu.be/G1ftvw-Y6pk Open mic set: https://youtu.be/nKFK_OhQv3k https://youtu.be/nKFK_OhQv3k
- zyklonix 2y agoDid you transform a coat stand into an awesome futuristic instrument??? So glad I asked. Brilliant work. This should be in the HN front page!
- _spduchamp 2y agoYup. That's exactly what I did. I made an album for falling asleep to that you can find on various streaming music services. Just search "Autonomous Drone Lullabies" by Stefan Powell. It's an album that was made autonomously using an algorithm in Pure Data. It's also here: https://stefanpowell.bandcamp.com/album/autonomous-drone-lullabies https://stefanpowell.bandcamp.com/album/autonomous-drone-lul...
- evanjrowley 2y agoPurchased! Excellent find on HN today.
- brianjking 2y agoRight?! I'm about to purchase a copy too.
- brianjking 2y agoThis is seriously so cool. Thank you.
- jamdav16 2y agoReminds 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 https://www.youtube.com/watch?v=A0VYsiMtrNE
- potatoman22 2y agoImagine a procedurally generated game via using an LLM to continually program new content for the game.
- deleted 2y ago[deleted]