p5.js
The friendly classic: setup() and draw(), shapes and colour. Perfect for a first sketch.
Creative Code Art is a free home for artists who paint with code. Everything on this page is live, running in your browser right now. Move, scroll, and try it yourself.
Start the tour ↓This is a real p5.js sketch. Edit the numbers at the top: petals, layers, hue, speed. The picture redraws a moment after you stop typing. No account, nothing saved.
Artists choose which numbers visitors may move. Drag these and the flow field answers at once, without reloading. On every work page, sliders work the same way.
Pick the tool that fits the idea. Each of these is the starting sketch an artist gets.
The friendly classic: setup() and draw(), shapes and colour. Perfect for a first sketch.
Shaders run on the graphics card, every pixel at once: light, fluid, noise.
3D scenes with lights, materials and a camera people can turn.
Plain JavaScript and a 2D canvas, nothing in between.
When an artist allows it, anyone can copy a work in one click and make it their own. The remix always names the original, and every work shows its whole remix family.
Your name, your photo, a cover made from one of your own works, your tools and links, and every work running live. One short address to share everywhere.
I’m Yaser Sadat Haghi, a digital artist and creative technologist based in Tehran. I use code, mainly p5.js, to create generative and interactive art. I’m also the founder of Creative Code Art, a free platform for sharing, learning, and exploring the intersection of art and technology.
Since 2020 the community has run a festival in virtual reality, a week with Ars Electronica, live shows in New York and Bogotá, prompt challenges and free workshops.
Pages, works, remixes and community cost nothing.
Every remix links back to the original, forever.
Code runs walled off: no network, no cookies, no access to your account.
No ads, no trackers, and your data is never sold.
Make your page, write a few lines, and the world sees them run.