„wo der Zufall abnimmt nimmt der Abfall zu“ (Sigward Sprotte)
Its playing with words an impossible to translate. A try: “while chance (in the meaning of randomness) decreases junk increases”
December. Time to think about season’s greetings. Possibly an individual card for every addressee. Deeply hidden in my file system I found a programm I wrote some years ago. The task was: draw 3 lines with random Bezier curves and random color. The program was written in postscript. You can easily copy the code to a post script printer or import as eps into Adobe Illustrator. Some results are a bit boring some have a good tension. Have a look at the results
The code:
%!PS-Adobe-2.0
%%BoundingBox: 0 0 400 400
statusdict begin /waittimeout 0 def end
/linienst
{
rand 10000000 div
setlinewidth
} bind def
/farbe
{
rand 2200000000 div
rand 2200000000 div
rand 2200000000 div
setrgbcolor
}bind def
/zufall5mio
{
rand 5000000 idiv
}bind def
/linie
{
newpath
zufall5mio
zufall5mio
moveto
6 {zufall5mio} repeat
curveto
}bind def
/zeichnen
{
farbe
linienst
linie
stroke
}bind def
101 srand % “seed” for random values, this parameter needs to be changed for every new graphic.
3 {zeichnen} repeat
showpage
%Trailer
Leave a Reply