Skip to content

fifth-postulate/esche.rb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

111 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

esche.rb

Presentation for the Amsterdam.rb meetup of 17 April.

Inspiration

This talk is heavily inspired by the excellent workshop Escher in Elm by the awesome Einar Host. His workshop in turn was based on the 1982 classic paper functional geometry, or at least the revision from 2002.

Summary

Be creating good abstractions and relying on function composition one is able to succinctly express pictures, like Eschers Square Limit.

Square Limit, Escher 1964

Dependencies

Below is an image of the dependencies between different files.

Dependencies between different files

Development

Presentation

The presentation is defined in the Markdown file functional_geometry.md in the docs directory.

To view the presentation got to the docs directory and run a HTTP server

python -m SimpleHTTPServer

Open localhost:8000. Or it can be viewed online.

Picture

To create a picture describe it in escher.rb and run

ruby escher.rb > ../image/<INSERT NAME>.svg

To show a box, do the same, but in show_box.rb, running

ruby show_box.rb > ../image<INSERT NAME>.svg

About

Presentation for the Amsterdam.rb meetup

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages