browse OpenProcessing

paiting Loft
doodle 3
Elastic
browse all>

browse the portfolio of Martin Schneider

interlaced
Pi Day
fractal cell
Let There Be Block
see more>
doodle 3

doodle 3

uploaded by
Martin Schneider

Move your mouse to make the lines grow.

Key Map

[s] soft mode on/off
[d] dodge mode on/off
[c] crayon mode on/off

[f] forward (next doodle)
[+] and [-] to zoom
[space] to redraw




Embed Code
Fave'd by 44 users
Sketch added to your favorites in your portfolio.
You must login/register to add this sketch to your favorites.

comments

source code

Comments

Guigui
01 Jan 2010, 10:41
The code is so nice…& the artwork too.
8^)
Oscar Nevarez Leal
06 Jan 2010, 16:48
lovely!!!
Matt Wagner
25 Jan 2010, 10:56
This generates beautiful images!

Could someone tell me how to export the image once I've finished playing with it?

Thanks.
Martin Schneider
25 Jan 2010, 15:01
@Matt: you can download the sketch and add something like

case 's' : saveFrame("doodle-###.png"); break;

to the keyPressed function.
Matt Wagner
26 Jan 2010, 12:32
@Martin: Thanks a lot for the response. I'm having trouble figuring out how to export the generated image. I applied the scripted line, but still don't see any options to save, or a randomly placed saved file. I'm pretty sure I'm simply missing something, I haven't completely familiarized myself with the Processing interface and utilities.

Also, is there a way to export not only as .png, but as a vector, such as SVG or EPS?

Thanks!
Martin Schneider
26 Jan 2010, 13:26
@Matt
- If you press the 's' key the image should appear inside the sketch folder.
- you may also make use of the selectOutput function to open a file choser ( http://processing.org/reference/selectOutput_.html )
- you can export screenshots in PDF format ( http://processing.org/reference/libraries/pdf/index.html )
Matt Wagner
26 Jan 2010, 13:32
@Martin

Thanks, this helps. This is a very cool processing code.
Evan Robert Andrew Reeves
29 Jan 2010, 16:29
Gorgeous results! Great job.
Francesco Aggazio
01 Feb 2010, 13:05
Beautiful!
James Andino
05 Jul 2010, 08:53
for(int i=0; i<np & c<n; i++, c++) newp(c);

This drove me crazy. I didn't even know you can do that. Thank you.

Amazing and clean
You need to login/register to comment.