clojure-art

meow 2015-12-07T17:33:44.000023Z

Here's a model to play with: https://www.shapeways.com/model/3dtools/4123396/1/26?key=362cca1b87cad2789e9abae2a9fe44fc

meow 2015-12-07T17:34:32.000025Z

It looks like this: http://shpws.me/L2CZ

meow 2015-12-07T17:36:17.000027Z

And was produced by this code:

(defn dodeca-ambo-kis []
  (-> (ph/dodecahedron 10)
      (op/seed->mesh)
      (op/rep op/ambo 3)
      (op/kis (op/get-v-edge-count-height {3 2.5}))
      (op/kis (op/get-v-edge-count-height {5 -10}))
      (op/rep op/catmull-clark 3)
      (g/tessellate)
      (op/colorize get-face-color-average-complementary-plus-normal)))

(time (cad/save-x3d "output/shapeways/dodeca-ambo-kis.x3d" (dodeca-ambo-kis)))

meow 2015-12-07T17:45:14.000028Z

Actually, that triakis can be done in one step now: (op/kis (op/get-v-edge-count-height {3 2.5, 5 -10}))