teaching machines

Voxel Snake

September 28, 2015 by . Filed under madeup, public.

My kids have a bendy toy that was begging me to recreate it using Madeup. The toy is kind of like a voxelated snake:

I made a single block with this short program:

/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 `
'

This solidifies to a nice-looking block with alternating notches:

A single voxel from the voxel snake. Not visible is the hole passing through the center through which I run an elastic cord.

A single voxel from the voxel snake. Not visible is the hole passing through the center through which I run an elastic cord.

After printing 12 of these, making a trip to a hobby store for elastic cord, and tying some knots, I had my very own voxel snake and the esteem of my sons.