Welcome to BlogDogIt Sunday, August 19 2018 @ 11:38 PM EDT

Renewed Obsession

  • Contributed by:
  • Views: 634
masodo's musings

Get a grip on HTML5Not one to let this internet fad get too far beyond my grasp, I have been obliged to explore the inner workings of the new HTML5 protocols for the construction of web pages. My studies have been mostly in the form of deconstructing some of the HTML5 games I have been installing over at the DeBurger Game Room online arcade.

Time TunnelIt must have been within the confines of that more methodical - dare I say, logical - mode of thinking that my pet thought exercise - the previously revealed inspiration for my gravitar icon [
see: Mathematical Obsession? ] - concerning geometry of circumscribed square inscribed with circle, returned once again to my center of consciousnesses. This simple geometric construct has always suggested, to my mind, some hidden, cosmic significance. Beckoning me  with those forces of the universe that can really only be explored through carefully administered mathematics.

Not one to let my inability to carefully administer mathematics hinder me in an attempt, I took it upon myself to create within the esoteric mechanics of the javascript programming language, a representation of this geometric abstraction/distraction that offered an added dimension to my usual 2 dimensional envisagement of form by the inclusion of the fourth with a suggestion of the third; an exercise I entered into with all the certainty of a theoretical physicist albeit without the typically manditory, prerequisite education.

More questions than answersArmed only with the preconceived notion of what I wanted to depict I - by way of the internet - became myself, a virtual cog in the machine with which the global, computational hive-mind works tirelessly to replicate itself through the dissemination of knowledge among the hairless apes in a way that stresses the inevitable futility of resistance.   

Clay TabletIt was while immersed in the vagaries of determining the proper expansion rates of circles in comparison to squares that I happened upon a quite irrational little discovery that I have learned has been known since 1600 - 1800 B.C. Mesopotamia, as evidenced in the Babylonian clay tablet known as YBC 7289 (from the Yale Babylonian Collection. Image to the left †)  The required incantation invoked in order to bring to life my vision of the infinitely expanding, nested shapes was what is commonly referred to as "The Square Root of Two" or more precisely: "approximately 1.41421356237..."

The result of this exercise is presented within the "iFrame" below followed by the code required to draw the effect. Those who do not understand such things should stand in awe of my achievement. Those who can see quite clearly when they peer into the supplied code will rightly bust-a-gut at the hack chosen to render the desired effect. In either case, I hope that when you gaze upon this meager point-plot animation you will remember those early humanoids as well as this somewhat more recently developed model together in that same moment wherein you wonder, "what were they thinking?"

"CubeSphere" by masodo


The HTML5/javascript code to render the above animation:

<!doctype html><html><head><title>Canvas Concentric Test</title></head><body style="background-color:#000000;"><canvas id="L1"style="z-index:1;position:absolute;left:0px;top:0px;"height="360px"width="360px">Canvas not supported.</canvas><script type="application/javascript">var L1, CX, RX, RY, RX2, RY2, RW, RH, stx, enx, WIDTH=360, HEIGHT=360, pxt=1, pls=.1, St1="#fff";function init(){L1=document.getElementById("L1"), CX=L1.getContext("2d"), setInterval(D1, 80)}function D1(){for(pls<1&&(pls+=.1), pls>.4&&(pls=.1), stx=0, enx=8, RW=pls, RH=pls, RX=180, RY=180, RX2=180, RY2=180, CX.beginPath(), CX.clearRect(0, 0, WIDTH, HEIGHT), CX.closePath();stx<=enx;stx++)CX.strokeStyle=St1, CX.lineWidth=pxt, stx>1&&(CX.lineWidth=pxt+1), stx>2&&(CX.lineWidth=pxt+1), stx>3&&(CX.lineWidth=pxt+2), stx>4&&(CX.lineWidth=pxt+4), stx>5&&(CX.lineWidth=pxt+8), stx>6&&(CX.lineWidth=pxt+16), stx>7&&(CX.lineWidth=pxt+24), RH=RH+RH+1, RX-=(RW=RW+RW+1)/4, RY-=RW/4, RX2-=1.41421356237*RW/4, RY2-=1.41421356237*RW/4, CX.beginPath(), CX.strokeRect(RX2, RY2, 1.41421356237*RW, 1.41421356237*RH), CX.strokeRect(RX, RY, RW, RH), CX.arc(180, 180, 1.41421356237*RW/2, 0, 4*Math.PI, !1), CX.moveTo(180+RW/2, 180+RW/2), CX.arc(180, 180, RW/2, 0, 4*Math.PI, !1), CX.closePath(), CX.stroke()}init();</script></body></html>


† A black and white rendition of the Yale Babylonian Collection's Tablet YBC 7289 (c. 1800–1600 BCE), showing a Babylonian approximation to the square root of 2 (1 24 51 10 w: sexagesimal) in the context of Pythagoras' Theorem for an isosceles triangle. The tablet also gives an example where one side of the square is 30, and the resulting diagonal is 42 25 35 or 42.4263888... Source: Bill Casselman and the Yale Babylonian Collection.
 

 

Share
  • Facebook
  • Google Bookmarks
  • Digg
  • Twitter
  • Reddit