teaching machines

Snowflake

December 3, 2015 by . Filed under madeup, public.

I have a challenge with some students to make a Christmas ornament in Madeup. I was pretty certain I was going to make a cutesy revolved Christmas tree, but I needed more time to think about the math. I fell back on something we fall back on:

A dowel-y snowflake.

A dowel-y snowflake.

All told, the snowflake is comprised of 2 + 6 * 3 = 20 dowels, 2 for the concentric hexagons, and 6 * 3 for the 6 spurred arms. The Madeup code follows:

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

It printed cleanly:

Two snowflakes may be alike when 3D printed.

Two snowflakes may be alike when 3D printed.

This is the time of year to make snow angles.