Code Sketch


HAPPY NEW YEAR
By: Amol naik
Category: Programming
clear()
setSpeed(fast)

setPenColor(black)
setFillColor(orange)
setPenThickness(5)

def gradients =
  cm.linearMultipleGradient(
    0,900,
   0,-900,
    Seq(0,0.29,1),
    Seq(Color(51, 16, 37),
    Color(51, 51, 255),
    Color(51, 0, 255)),
    false)

    

def sky =
  cm.radialMultipleGradient(
   60, 103, 700,
    Seq(0,0.20,
    0.40,0.699999,
    0.89999,0.9,1
    ),
    Seq(Color(255, 251, 179), Color(255, 249, 76),
    Color(255, 102, 0),Color(255, 51, 0),Color(204, 0, 51),
    Color(186, 51, 0), Color(220, 0, 0)),
    false)



hop(-140)