Axel Kilian - Problem Set #2
 
Part 1
p1.dbn
//nice shade
paper 14


Choose a single shade of a paper and render that shade.
 
Part 2
p2.dbn
//pulse
paper 100
forever
{
   repeat s (-10) 10
   {
      set c (-s)
      repeat n c s
      {
         paper (n*n)
      }
      repeat r 1 ((s*s)/2)
      {
         paper (s*s)
      }
   }
}

Create a sequence of shaded papers using the Repeat command as a short animation of brightness. For example
Repeat a 0 100
{
Paper a
}

 
Part 3
p3.dbn
//steadily slowing rhytmen of pulsing shades
set c 1
forever
{
   set c (c+1)
   repeat n(-c) c
   {
      
      paper ((n*n)/4)
      repeat v 10 1
      {
         paper ((v*v)/2)
         paper  ((n)-(2*n))
      }
   }
}

Create an animation of a sequence of shaded papers that evokes a sense of rhythm.
 
Part 4
p4.dbn
//perpetual sunset/sunrise with a REM second
// in between
paper 1
forever
{
//sunset
   repeat n 1 100
   {
      paper (n/2)
      set [30 60] 0
      set [70 90] 10
      set [40 80] 15
      set [20 70] 30
   }
//REM
   paper 60
   paper 70
   repeat f 60 100
   {
      paper f
   }
//dawn
   repeat n 100 1
   {
      paper (n/2)
      set [30 60] 0
      set [70 90] 10
      set [40 80] 15
      set [20 70] 30
   }
}

Create an animation of a sequence of shaded papers that evokes a tranquil, sleepy image.
 
Part 5
p5.dbn
set c 1
forever
{
   set b (c+20)
   repeat t 1 30
   {
      paper n
   }
   repeat n 0 b
   {
      paper b
      paper 0
      paper b
   }
   repeat m 1 5
   {
      paper 10
      paper 70
      paper 10
   }
}

Create an animation of a sequence of shaded papers that evokes a gradually increasing/heightening feeling.
 
Part 6
p6.dbn
set c 1
forever
{
   set b (c+20)
   repeat t 1 30
   {
      paper t
      line t 30 (t*t) 40
   }
   repeat n 0 b
   {
      paper b
      line (80-n) (2*n) 60 (n*n)
      paper 0
      line (80-n) (2*n) 60 (n*n)
      paper b
      line (80-n) (2*n) 60 (n*n)
   }
   repeat m 1 5
   {
      paper 10
line 30 60 30 0
      paper 70
line 60 30 100 30
      paper 10
   }
}

Add a single line to the sequence, and let it fly in time. For instance
Repeat a 0 100
{
Paper 0
Line a 0 a 100
}

 
Part 7
p7.dbn
paper 30
pen 60
repeat s 0 4
{
   repeat y (-10) 10
   {
      paper (30-y)
      line (10+(s*40)+y) (20-((y*y)/10)) (10+(s*40)+y) (20-((y*y)/10)+20)
      line (10+(s*40)+y) ((y*y)/10) (30+(s*40)+y) (20-((y*y)/10))
   }
   repeat y (-10) 10
   {
      paper (30-y)
      line (30+(s*40)+y) (20-((y*y)/10)) (30+(s*40)+y) (20-((y*y)/10)+20)
      line  (30+(s*40)+y) (20-((y*y)/10)) (10+(s*40)+y) ((y*y)/10)
   }
}

Add another line and let two lines fly in contrasting styles.
 
Part 8
p8.dbn
// alittle dance 
paper 100
set c 1
pen 0
repeat i 10 90
{
   set x (100-((i-10)*(10/8)))
   paper (100-i)
   line x i (x+10) (i-10)
   line x (i-3) (x+8) (i-13)
}
pen 80
repeat d (-11) 12
{
   paper d
   set y (d*d)
   set yb ((d-1)*(d-1))
   set ybb ((d-2)*(d-2))
   line ((3*d)+32) (y+5) ((3*d)+30) (5+yb)
   line ((3*(d-1))+30) (yb+6) ((3*(d-1)+28)) (6+ybb)
}
repeat n 1 120
{
   paper 0
   set c (c+1)
   line 70 n 71 (n-10)
   line 73 (n-4+c) 74 (n-16+c)
}

Let two lines fly in cooperative styles.
 
Part 9
p9.dbn
// Hi Jocelyn, hmmm difficult, I hope I
// am commenting
// on the right exercise the line
// top left 45 degree angle cutting off a
// rectangular triangle (black). I would
// not choose a corner because the line
// needs room to run and maybe one or two
// ends to be a line and not a gap.
// position symmetry is maybe strong but
// mostly boring for me it always means
// to avoid the decission to deal with
// the other side. Sometimes in
// nature if there is a
// lack of information the missing data is
// compensated by mirroring the other
// complete half.
// Suggestion: Maybe throw the same line
// in the black pool and see it freed of
// symetry and borders helplessly floating
// finding a way to exist.
paper 80
pen 23
line 7 49 62 72
// Not really better but at least not
// symetrical and out there -axel

Using Part 1 of Problem Set 1, you are asked to comment and improve on a colleague's work. The person you will choose is determined by your order in the pulldown menu of the main page. For example, Ben should comment on Bruce, Bruce on Nick, and all the way down to Hoeteck commenting on Ben (wrapped around). We don't have a form mechanism setup, so for now just put it inside your DBN buffer as a comment, and include a modified version of your colleague's program that reflects your suggestions.
 
Part 10
p10.dbn
// Hi Jocelyn, here we go again. I like your
// part ten. It is not slick which makes
// it more complex (complex being nicer)
// compositional I would try to let it run
// out off the frame to evoke a sense of
// movement or closeness its a fan
// maybe your are looking over it.
// Added an edge to it to emphazise folding
// and made the drop in y direction,
// more spatial as well as aslight 
// angle of the edges - axel
//
//
//fan
paper 100
set h 22
set v (-25)
repeat r 1 9
{
   repeat a h (h+40+r)
   {
      pen ((a-25)*2+(r*4))
      line (h-4) v ((r*8)+a) (90-(r*r)-(a/10))
   }
   // the edge lines
   pen 50
   line ((r*8)+(h+40+r)) (90-(r*r)-((h+40+r)/10)) (((r+1)*8)+h) (90-((r+1)*(r+1))-(h/10))
   line (((r)*8)+h) (90-((r)*(r))-(h/10)) ((r*8)+(h+40+r)) (90-(r*r)-((h+40+r)/10))
}

Do the same as above for Part 10 of Problem Set 1.