<%@ Language=VBScript %><% option explicit %> <% Response.Buffer = FALSE %> <% Response.ContentType = "image/svg+xml" %> <% '--- imitate.asp --- DIM ScreenWidth, ScreenHeight DIM ScreenWidth1, ScreenHeight1 DIM ImageWidth, ImageHeight, ImageWidthHeight DIM timeout, SID DIM msg '-- for errors '' extend the timeout to allow for long files ' timeout = Server.ScriptTimeout '' Response.Write "Initial timeout=" & timeout & "
" ' Server.ScriptTimeout = 1200 ' SID = Request.Cookies("Humble")("SID") ScreenWidth = Request.Cookies("Humble")("ScreenWidth") ScreenHeight = Request.Cookies("Humble")("ScreenHeight") ImageWidth = 600 ImageHeight = 730 ImageWidthHeight = " 0 0 " & ImageWidth & " " & ImageHeight ScreenWidth1 = ScreenWidth ScreenHeight1 = ScreenHeight IF ScreenWidth1 > ((ImageWidth * ScreenHeight) / ImageHeight) * 1.5 THEN ScreenWidth1 = ((ImageWidth * ScreenHeight) / ImageHeight) * 1.5 ELSEIF ScreenHeight1 > ((ImageHeight * ScreenWidth) / ImageWidth) * 1.5 THEN ScreenHeight1 = ((ImageHeight * ScreenWidth) / ImageWidth) * 1.5 END IF ' set it up for a graph bounding box of ImageWidth horizontal by ImageHeight vertical ' the viewBox may have to be larger, to allow for left and right stuff ' baseProfile="basic" ' xmlns="&ns_svg;" ' xmlns:xlink="&ns_xlink;" %> 1.5.0.D1: Imitation at a fitness class, with the instructor on the left <%' ---- horizontal line connecting description with instruction ---- %> <%' ---- left: inner language description ---- %> 4. description of relative position of body and legs, "body straight, both arms back, right upper leg up" - might estimate degrees of rotation: upper leg 120 degrees - <%' ---- right: inner language command ---- %> 5. command for relative position of body and legs, "body straight, both arms back, right upper leg up" - might use degrees of rotation: upper leg 120 degrees - <%' ---- left: identifying target components and direction ---- %> 3. identification of instructor's body and limbs, with labels for body, arms, and legs <%' ---- right: control muscle tension ---- %> 6. approximate changes in joint rotation <%' ---- left: feature extraction ---- %> 2. vector graphics image <%' ---- right: feature extraction ---- %> 7. approximate changes in muscle tension <%' ---- left: image retrieval ---- %> 1. 2D pixellated image from the eye <%' ---- left: from eye ---- see below ---- %> <%' ---- right: to brain ---- see below ---- %> <%' ---- left: from eye ---- %> <%' ---- right: to brain ---- %>