Great. Turning the human hand into a random doodle machine. Or, one could parse an image and output the script on how to hand doodle it. 100k image => book size text.
Another idea for a drawing machine is to use markov chains, as they are commonly used for texts, and spam. I've not been able to write a program that deals with 2D material in the same way, but I imagine the result would be interesting (and give more meaning than markov-chain texts). bjørn On Tue, Jan 26, 2010 at 12:10 PM, Pall Thayer <[email protected]> wrote: > #!/usr/bin/perl > print "Use a pencil and a 210mm x 210mm sheet of paper. Start with > your hand at the upper-left corner.\n"; > @position = ('up', 'down'); > @direction = (['up', '-'], ['down', '+'], ['to the right', '+'], ['to > the left', '-']); > $amount = 0; > while(1){ > $d = int(rand(scalar @direction)); > $new_amount = int(rand(100)); > unless(eval("$amount $direction[$d][1] $new_amount") < 0 || > eval("$amount $direction[$d][1] $new_amount") > 210){ > print "With pencil ".$position[int(rand(scalar @position))].", > move > ".$new_amount."mm ".$direction[$d][0].".[Enter]\n"; > $amount = $new_amount; > $input = <>; > } > } > > > -- > ***************************** > Pall Thayer > artist > http://www.this.is/pallit > ***************************** > _______________________________________________ > NetBehaviour mailing list > [email protected] > http://www.netbehaviour.org/mailman/listinfo/netbehaviour > _______________________________________________ NetBehaviour mailing list [email protected] http://www.netbehaviour.org/mailman/listinfo/netbehaviour
