Weird: Generative Art in Common Lisp

  • I've been trying to track that top image down for ages. This faux bokeh was a big inspiration for a VR piece I made: https://andybak.net/gossamer

    (By "faux" I just mean this isn't simulating optics to any great level of realism)

    I knew it was by inconvergent but I didn't think of looking on Github for some reason.

    My implementation was actually different - I based mine on the work of Keijiro Takahashi: https://github.com/keijiro/VfxBokeh

  • 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]
      }

  • Beautiful, and in Common Lisp just makes it that much better for me. Thanks for sharing!

  • As a generative artist I love seeing what other people do. Sadly I am not conversant in CL so its difficult to understand.

  • Awesome! Anyone seen an equivalent in Python?

  • pretty!