teaching machines

Illusions are “Madeup”

October 14, 2015 by . Filed under madeup.

Life can be tricky. Sometimes we only see what others want us to see. For example, take a look at the object below:

infinite-staircase

 

Try picking any step along this staircase and begin climbing. Did you run into any problems along the way? Hopefully you found that you arrived right back where you started. So where’s the discontinuity? Well, the truth is you’re only seeing what I want you to see. Take a look at the same object but from a slightly different angle :

infinite-staircase-solution

 

As you can see this staircase is anything but infinite. The only real trick here is to procedurally generate larger blocks the further they sit from a predetermined viewpoint. Here is the code to make your own Penrose stairs in Madeup:

/usr/lib/ruby/2.7.0/rubygems/dependency.rb:311:in `to_specs': Could not find 'coderay' (>= 0) among 56 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/.gem/ruby/2.7.0:/var/lib/gems/2.7.0:/usr/lib/ruby/gems/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0:/home/johnch/.gems', execute `gem env` for more information
	from /usr/lib/ruby/2.7.0/rubygems/dependency.rb:323:in `to_spec'
	from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_gem.rb:62:in `gem'
	from ./coderay:24:in `
'