Skip to content

Comment on Weird: Generative Art in Common Lisp

Comments

For those inspired by this, they may also like context free art - https://www.contextfreeart.org

For example: https://www.contextfreeart.org/gallery/view.php?id=4223

  startshape lightning 
  
  shape lightning
  
  rule 20 {
      CIRCLE[r -60..60]
      lightning[y -1 s 0.99 r -10..10]
  }
  
  rule 1 {
      CIRCLE[r -60..60]
      lightning[y -1 s 0.5 r -50..-20]
      lightning[y -1 s 0.99 r -10..10]
  }
  
  rule 1 {
      CIRCLE[r -60..60]
      lightning[y -1 s 0.5 r 20..50]
      lightning[y -1 s 0.99 r -10..10]
  }
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.