DanaProcessing 1.0 is here · MIDI learn, Beat(), the microphone and performance mode
Draw, play and perform — in C#.
The Processing way of sketching, with real 3D, its own live-coding sound engine and an IDE built for the stage. Free and open source.
Other platforms
Pick where to start.
Six short ways in, each leading into the full reference. 2D, 3D and sound sit side by side — nothing is hidden behind a mode.
Learn the basics
One sketch of fireflies, built in six steps: canvas, color, animation, classes, input, sound.
30 min · 6 steps
Draw in 2D
Color, shapes, text, transforms, images and pixels — Processing's whole vocabulary.
Fill() · Rect() · Text()
Go 3D
Pass Renderer3D to Size() and get boxes, cameras, lights, materials and shaders.
Box() · Camera() · Lights()
Make sound
Live loops that stay in time while you edit, synths, samples, and visuals that hear them.
[LiveLoop] · Play() · Sample()
Play live
Knobs with MIDI learn, visuals on the beat, the room's microphone, code on the projector.
MidiCC() · Beat() · F11
Generative art & print
Seeds you control, a sheet of variations, poster PNGs and SVG for pen plotters.
Seed · Ctrl+Shift+V · Ctrl+Shift+E
All 38 topics and the A–Z index · Coming from Processing or p5.js
Open one and press Run.
Every example is in the IDE's gallery too. Each page below has the full code and a “Run in Dana” button.
-
Fireflies
The tutorial's sketch: classes, lists, mouse and sound.
-
Seeded landscapes
Random() and Noise() follow the seed. F6 for another, Ctrl+Shift+V for sixteen.
-
Flow lines for a plotter
Two pens, one SVG layer each, strokes ordered so the pen barely travels in the air.
-
Visuals in time
Pulse(), BeatTween() and OnBeat(4): everything moves with the music.
-
MIDI learn flower
Touch a slider, turn a knob: they're connected. Pads fire bursts.
-
Life, rewound
Pause, drag back, press ⤺: it really continues from that frame.
-
A dotted globe
20,000 points in one batch, real distances, and the 1,000 km around a city.
-
Hello, 3D
One Size() argument turns on lights, cameras, boxes and spheres.
-
A reel from your code
A few // @reel lines and Create reel makes the vertical video, with the code typing itself.
An IDE that keeps playing.
The sketch and its music keep going while you type. One switch runs and stops them, and tells you how long they've been live. F11 puts the visuals on the projector with your code floating on top.
- Ctrl+Enter Hot reload, state kept
- Shift+F5 Stop the sketch and its sound
- F3 Why is it slow? fps, Draw() time, memory
Keep Dana growing.
DanaProcessing is free and open source, built in spare time. A donation buys more time for new features, examples and fixes.
PayPal isn't available where I live, so donations are received on my behalf by a trusted collaborator, Carlos Fernandez.