Successfully reported this slideshow.
Your SlideShare is downloading. ×

Generative Art - Functional Vilnius 2015

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad

Check these out next

1 of 25 Ad

More Related Content

Viewers also liked (20)

Advertisement

Recently uploaded (20)

Generative Art - Functional Vilnius 2015

  1. 1. Generative Art Phillip Trelford, @ptrelford Functional Vilnius 2015, @fpvilnius
  2. 2. F#unctional londoners • Founded Feb 2010 • 1000+ Members • Meets every 2 weeks • Topics include • Machine Learning • Finance • Games • Web • Art http://meetup.com/fsharplondon
  3. 3. Generative Art: Que? Generative artists are chaos artists …embrace the chaos & learn to love it
  4. 4. Generative Art: Functional? • Functional Geometry Paper • Peter Henderson, 1984 http://pmh-systems.co.uk/phAcademic/papers/funcgeo.pdf
  5. 5. Procedural Art Phillip Trelford, @ptrelford Functional Vilnius 2015, @fpvilnius
  6. 6. Mondrian: Procedurally Generated http://www.clear-lines.com/blog/post/Transform-a-picture-in-the-style-of-Mondrian-with-FSharp.aspx
  7. 7. Lohse re-animated http://trelford.com/blog/post/Lohse.aspx
  8. 8. Loewensburg Reanimated http://trelford.com/blog/post/Loewensberg.aspx
  9. 9. Loewensburg Palette
  10. 10. Animated Gifs
  11. 11. ASCII Art Phillip Trelford, @ptrelford Functional Vilnius 2015, @fpvilnius
  12. 12. Happy endings // Generate text from Philippe Decrauzat's D.T.A.B.T.W.H.A.H.E. 2010 let print (s:string) = [|for y in 0..s.Length-1 -> [|for x in 0..y-1 -> s.[x] for x in y..s.Length-1 -> s.[y] |] |> fun cs -> System.String(cs) + System.String(cs |> Array.rev |> Seq.skip 1 |> Seq.toArray) |] |> fun ys -> [|yield! ys; yield! (Array.rev ys |> Seq.skip 1)|] |> String.concat "rn" print "A HAPPY ENDING" http://fssnip.net/ii
  13. 13. @FsiBot http://trelford.com/blog/post/fsibot.aspx
  14. 14. Emoji Art http://nf2p.com/f-sharp/generating-emoji-art-using-f-sharp/
  15. 15. Choose your own adventure http://www.pinksquirrellabs.com/post/2013/07/29/Choose-Your-Own-Adventure-Type-Provider.aspx
  16. 16. Shapes Phillip Trelford, @ptrelford Functional Vilnius 2015, @fpvilnius
  17. 17. SmallSharp: Lines open Library do GraphicsWindow.Show() GraphicsWindow.BrushColor <- red for i in 0..5..200 do GraphicsWindow.DrawLine(i,0,n-i,n) GraphicsWindow.DrawLine(0,i,n,n-i)
  18. 18. Deviant Art: Bubbles
  19. 19. Louvre: Abu Dhabi http://fsharp.org/testimonials/#goswin-1
  20. 20. Embracing Randomness Phillip Trelford, @ptrelford Functional Vilnius 2015, @fpvilnius
  21. 21. Turing Drawings match action with | Action.Left -> xPos <- xPos + 1 if xPos >= mapWidth then xPos <- xPos - mapWidth | Action.Right -> xPos <- xPos - 1 if (xPos < 0) then xPos <- xPos + mapWidth | Action.Up -> yPos <- yPos - 1 if (yPos < 0) then yPos <- yPos + mapHeight | Action.Down -> yPos <- yPos + 1 if yPos >= mapHeight then yPos <- yPos - mapHeight http://trelford.com/blog/post/Turing.aspx
  22. 22. Random Art http://trelford.com/blog/post/rand.aspx
  23. 23. Random Art animated
  24. 24. Inspirational Sites This is Colossal Deviant Art Zen Bullets
  25. 25. Resources http://smallsharp.codeplex.com (Windows only Graphics) http://funsharp.github.com (Cross Platform Graphics) http://funscript.info (F# -> JS) http://www.pinksquirrellabs.com (CYOA Type Provider) http://c4fsharp.net/#fsharp-coding-dojos (Dojos)

Editor's Notes

  • Books
    http://zenbullets.com/book.php

    Sites
    http://www.deviantart.com/digitalart/fractals/?order=67108864
    http://www.thisiscolossal.com/category/art/

    Tools
    https://smallsharp.codeplex.com/
    http://tsunami.io/
    http://tsunami.io/cloud_tsunami.html
    http://funscript.info/samples/mandelbrot.html
  • http://pmh-systems.co.uk/phAcademic/papers/funcgeo.pdf
  • https://github.com/mathias-brandewinder/Mondrian
  • http://trelford.com/blog/post/Lohse.aspx
  • http://trelford.com/blog/post/Loewensberg.aspx
  • http://trelford.com/blog/post/Loewensberg.aspx
  • http://nf2p.com/f-sharp/generating-emoji-art-using-f-sharp/
  • http://basil4life.deviantart.com/art/Colorful-Bubbles-393039067
  • http://www.waagner-biro.com/en/company/news-press/news/oriental-jewel-by-waagner-biro-the-domed-roof-of-the-louvre-abu-dhabi
    http://marquetteturner.com/the-louvre-abu-dhabi-united-arab-emirates/

×