<%@ 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;" %> Imitation at a fitness class, with the instructor on the left <%'-- 5. imitation: horizontal line connecting description with commands -- %> 5. converting perceived joint angle to joint angles for action: <%' ---- 4. left: inner language description ---- %> 4. data analysis: estimate the joint-angle for every joint between the instructor's limbs, & track timing <%' ---- 6. right: inner language command ---- %> 6. data entry: For every joint between the follower's limbs, enter the joint angle and timing, and mirror appropriately <%' ---- 3. left: identifying target components and direction ---- %> 3. get limb direction relative to plumb line <%' ---- 7. right: identify limb changes required ---- %> 7. prioritize and default <%' ---- 2. left: feature extraction ---- %> 2. identify instructor's limbs <%' ---- 8. right: calculate joint rotations ---- %> 8. calculate changes in joint rotation <%' ---- 1. left: image retrieval ---- %> 1. get gravity plumb line <%' ---- 7. right: control muscle tension ---- %> 9. calculate changes in muscle tension <%' ---- 1. left: from eye ---- see below ---- %> <%' ---- 7. right: to brain ---- see below ---- %> <%' ---- left: from eye ---- %> <%' ---- right: to brain ---- %>