Code:

  1. function setup()
  2. {
  3.   createCanvas(800, 800)
  4.   background(245)
  5.   for(var i = 1; i < width/25; i++)
  6.   {
  7.     strokeWeight(10)
  8.     stroke(255 – i*10, 0, 0 + i*10)
  9.     line(25*i, 100, 25*i, height-100)
  10.   }
  11. }
  12. function draw()
  13. {
  14. }