<commit_before>{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "\n",
    "# Cuboidal E3: A Study in Structure\n",
    "### (version 1.0)\n",
    "\n",
    "\n",
    "\n",
    "<br />\n",
    "<br />\n",
    "\n",
    "<div style=\"text-align: center\">\n",
    "<a data-flickr-embed=\"true\"  href=\"https://www.flickr.com/photos/kirbyurner/23974099077/in/dateposted-public/\" title=\"Cuboidal E by <NAME> using vZome\"><img src=\"https://farm5.staticflickr.com/4582/23974099077_e34a1b245f_z.jpg\" width=\"640\" height=\"399\" alt=\"Cuboidal E by <NAME> using vZome\"></a><script async src=\"//embedr.flickr.com/assets/client-code.js\" charset=\"utf-8\"></script></script>\n",
    "<b>Figure 1: Overlapping Cuboids with Embedded E3</b>\n",
    "</div>\n",
    "\n",
    "What we see here is another vZome construction by <NAME>, showing an E3 embedded in two cuboids, with one edge length in common, the first cuboid (blue) the Golden Cuboid.\n",
    "\n",
    "What are the dimensions, based on the color coding?  Note that vZome has this way of repeating colors based on orientation and scale, which is why all three edges of the Golden Cuboid appear blue.\n",
    "\n",
    "Lets start with E3 itself, the blue shaded tetrahedron module nestled inside (inscribe within) both cuboids.  The darker triangle towards the bottom of the figure is 1/4 the diamond face of a Rhombic Triacontahedron. If we take the diamond center to the origin of said RT to be ø, and accept that in ratio to unit sphere Radius (R) = 1, then said tetrahedron is E3 i.e. 1/120th of the \"SuperRT\".  The \"SuperRT\" is \"phi-up\" from the regular RT made of E modules.  It's made from intersecting Platonic Duals:  Icosahedron and Pentagonal Dodecahedron."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "from math import sqrt as rt2\n",
    "ø = (rt2(5) + 1)/2\n",
    "ø_down = ø ** -1\n",
    "ø_up = ø\n",
    "Blue = ø_down\n",
    "Orange = 1/((rt2(ø ** 2 + 1)) * ø_down)\n",
    "Red = rt2(ø ** 2 + 1)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "0.6180339887498948\n",
      "0.8506508083520401\n",
      "1.902113032590307\n"
     ]
    }
   ],
   "source": [
    "for item in Blue, Orange, Red:\n",
    "    print(item)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "The shop-talk around \"ø up\" and \"ø down\" involves scaling all linear dimensions of a shape, whereby volume actually increases or decreases by a factor of ø to the 3rd power.  When you think \"ø to the 3rd\" sometimes imagine a tetrahedron of edges ø vis-a-vis a regular tetrahedron of edges 1 (D).  Remember in Synergetics we may use this alternative model of 3rd powering, where our unit-tetrahedron comes from in the first place."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "Blue = ø_down\n",
    "Red = rt2(ø ** 2+1)\n",
    "Orange = ø/Red"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "0.6180339887498948\n",
      "0.85065080835204\n",
      "1.902113032590307\n"
     ]
    }
   ],
   "source": [
    "for item in Blue, Orange, Red:\n",
    "    print(item)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "For the purposes of Synergetics, our canonical bridge to the Platonics involves making the unit edge of the tetrahedron serve as our D, the Diameter of a unit-radius sphere (D = 2R).  We often call this edge length 2, using R as our unit.  \n",
    "\n",
    "The Icosahedron with edges D, for example, is our volume of ~18.51..., which Jitterbugs to become the Cuboctahedron (VE) of volume 20.  The octahedron of edges D has volume 4, the cube of face diagonals D has edges 3, and the unit of volume, the regular tetrahedron of edges D, is of course volume 1.\n",
    "\n",
    "Links to Volumes Table:\n",
    "* [on Codepen](https://codepen.io/pdx4d/full/qjwORr/)\n",
    "* [in Wikipedia](https://en.wikipedia.org/wiki/Synergetics_(Fuller)\n",
    "* [at Synergetics on the Web](http://www.grunch.net/synergetics/volumes.html)\n",
    "\n",
    "The dual of said Icosahedron, its edges made to intersect said Icosa's at 90 degrees, gives the superstructure of our SuperRT, the one fragmenting into 120 E3 modules, as depicted in Figure One.\n",
    "\n",
    "What is the volume of the E3? In tetravolumes, we take the SuperRT volume of 15√2 (equivalently vol(CO) * S3)."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "3.552713678800501e-15"
      ]
     },
     "execution_count": 5,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "(15 * rt2(2)) - (20 * rt2(9/8)) # equal within floating point error (the equality is exact)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "For excercise, lets computer these expressions to a hundred places of decimal precision."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "E3*120 21.21320343559642573202533086314547117854507813065422109765019606986098717693160558275581301491462360\n",
      "Check: 21.21320343559642573202533086314547117854507813065422109765019606986098717693160558275581301491462360\n"
     ]
    }
   ],
   "source": [
    "from decimal import Decimal, localcontext\n",
    "with localcontext() as cm:\n",
    "    cm.prec = 100 # 100 decimal points of precision\n",
    "    SuperRT_vol = Decimal('15') * Decimal('2').sqrt()\n",
    "    check_value = Decimal('20') * (Decimal('9')/Decimal('8')).sqrt()\n",
    "print(\"E3*120\", SuperRT_vol)\n",
    "print(\"Check:\", check_value)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "vZome by <NAME> is a downloadable Java application that simulates working the ZomeTool, meaning it takes the ZomeTool hub as an object providing relevant information as to the orientation of the rods stuck into it.  If you've never seen the ZomeTool hub, it's a phenomenal specimen of precision engineering.\n",
    "\n",
    "In making connections between hubs, vZome automatically colorizes depending on a carefully defined palette.  When the rod would not be possible, given hub contraints, it's left to the vZome user to specify a color.\n",
    "\n",
    "For Further Reading:\n",
    "* [Koski on EPQR (\"peculiar\") Modules in Golden Cuboid](https://www.youtube.com/watch?v=lm9MkxsbJG4)\n",
    "* [vZome by <NAME>](http://vzome.com/home/)"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.1"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2<commit_msg>upgrade<commit_after>{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "\n",
    "# Cuboidal E3: A Study in Structure\n",
    "### (version 1.0)\n",
    "\n",
    "\n",
    "\n",
    "<br />\n",
    "<br />\n",
    "\n",
    "<div style=\"text-align: center\">\n",
    "<a data-flickr-embed=\"true\"  href=\"https://www.flickr.com/photos/kirbyurner/23974099077/in/dateposted-public/\" title=\"Cuboidal E by <NAME> using vZome\"><img src=\"https://farm5.staticflickr.com/4582/23974099077_e34a1b245f_z.jpg\" width=\"640\" height=\"399\" alt=\"Cuboidal E by <NAME> using vZome\"></a><script async src=\"//embedr.flickr.com/assets/client-code.js\" charset=\"utf-8\"></script></script>\n",
    "<b>Figure 1: Overlapping Cuboids with Embedded E3</b>\n",
    "</div>\n",
    "\n",
    "What we see here is another vZome construction by <NAME>, showing an E3 embedded in two cuboids, with one edge length in common, the first cuboid (blue) the Golden Cuboid.\n",
    "\n",
    "What are the dimensions, based on the color coding?  Note that vZome has this way of repeating colors based on orientation and scale, which is why all three edges of the Golden Cuboid appear blue.\n",
    "\n",
    "Lets start with E3 itself, the blue shaded tetrahedron module nestled inside (inscribe within) both cuboids.  The darker triangle towards the bottom of the figure is 1/4 the diamond face of a Rhombic Triacontahedron. If we take the diamond center to the origin of said RT to be ø, and accept that in ratio to unit sphere Radius (R) = 1, then said tetrahedron is E3 i.e. 1/120th of the \"SuperRT\".  The \"SuperRT\" is \"phi-up\" from the regular RT made of E modules.  It's made from intersecting Platonic Duals:  Icosahedron and Pentagonal Dodecahedron."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "from math import sqrt as rt2\n",
    "ø = (rt2(5) + 1)/2\n",
    "ø_down = ø ** -1\n",
    "ø_up = ø\n",
    "Blue = ø_down\n",
    "Orange = 1/((rt2(ø ** 2 + 1)) * ø_down)\n",
    "Red = rt2(ø ** 2 + 1)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "0.6180339887498948\n",
      "0.8506508083520401\n",
      "1.902113032590307\n"
     ]
    }
   ],
   "source": [
    "for item in Blue, Orange, Red:\n",
    "    print(item)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "The shop-talk around \"ø up\" and \"ø down\" involves scaling all linear dimensions of a shape, whereby volume actually increases or decreases by a factor of ø to the 3rd power.  When you think \"ø to the 3rd\" sometimes imagine a tetrahedron of edges ø vis-a-vis a regular tetrahedron of edges 1 (D).  Remember in Synergetics we may use this alternative model of 3rd powering, where our unit-tetrahedron comes from in the first place."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "Blue = ø_down\n",
    "Red = rt2(ø ** 2+1)\n",
    "Orange = ø/Red"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "0.6180339887498948\n",
      "0.85065080835204\n",
      "1.902113032590307\n"
     ]
    }
   ],
   "source": [
    "for item in Blue, Orange, Red:\n",
    "    print(item)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "For the purposes of Synergetics, our canonical bridge to the Platonics involves making the unit edge of the tetrahedron serve as our D, the Diameter of a unit-radius sphere (D = 2R).  We often call this edge length 2, using R as our unit.  \n",
    "\n",
    "The Icosahedron with edges D, for example, is our volume of ~18.51..., which Jitterbugs to become the Cuboctahedron (VE) of volume 20.  The octahedron of edges D has volume 4, the cube of face diagonals D has edges 3, and the unit of volume, the regular tetrahedron of edges D, is of course volume 1.\n",
    "\n",
    "Links to Volumes Table:\n",
    "* [on Codepen](https://codepen.io/pdx4d/full/qjwORr/)\n",
    "* [in Wikipedia](https://en.wikipedia.org/wiki/Synergetics_(Fuller)\n",
    "* [at Synergetics on the Web](http://www.grunch.net/synergetics/volumes.html)\n",
    "\n",
    "The dual of said Icosahedron, its edges made to intersect said Icosa's at 90 degrees, gives the superstructure of our SuperRT, the one fragmenting into 120 E3 modules, as depicted in Figure One.\n",
    "\n",
    "What is the volume of the E3? In tetravolumes, we take the SuperRT volume of 15√2 (equivalently vol(CO) * S3)."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "3.552713678800501e-15"
      ]
     },
     "execution_count": 5,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "(15 * rt2(2)) - (20 * rt2(9/8)) # equal within floating point error (the equality is exact)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "For excercise, lets computer these expressions to a hundred places of decimal precision."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "E3*120 21.21320343559642573202533086314547117854507813065422109765019606986098717693160558275581301491462360\n",
      "Check: 21.21320343559642573202533086314547117854507813065422109765019606986098717693160558275581301491462360\n"
     ]
    }
   ],
   "source": [
    "from decimal import Decimal, localcontext\n",
    "with localcontext() as cm:\n",
    "    cm.prec = 100 # 100 decimal points of precision\n",
    "    SuperRT_vol = Decimal('15') * Decimal('2').sqrt()\n",
    "    check_value = Decimal('20') * (Decimal('9')/Decimal('8')).sqrt()\n",
    "print(\"E3*120\", SuperRT_vol)\n",
    "print(\"Check:\", check_value)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "vZome by <NAME> is a downloadable Java application that simulates working the ZomeTool, meaning it takes the ZomeTool hub as an object providing relevant information as to the orientation of the rods stuck into it.  If you've never seen the ZomeTool hub, it's a phenomenal specimen of precision engineering.\n",
    "\n",
    "In making connections between hubs, vZome automatically colorizes depending on a carefully defined palette.  When the rod would not be possible, given hub contraints, it's left to the vZome user to specify a color.\n",
    "\n",
    "For Further Reading:\n",
    "* [Koski on EPQR (\"peculiar\") Modules in Golden Cuboid](https://www.youtube.com/watch?v=lm9MkxsbJG4)\n",
    "* [vZome by <NAME>](http://vzome.com/home/)\n",
    "* [Hypertoons 2017](http://coffeeshopsnet.blogspot.com/2017/11/hypertoons-2017.html)"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.1"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
{'fraction_non_alphanumeric': 0.15968237021219805, 'fraction_numerical': 0.06259175230214867, 'mean_word_length': 2.954353562005277, 'pattern_counts': {'":': 156, '<': 37, '<?xml version=': 0, '>': 37, 'https://': 10, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4391614', 'n_tokens_mistral': 5961, 'n_tokens_neox': 5282, 'n_words': 1557}