<%@ Language=VBScript %><% option explicit %> <% Response.Buffer = FALSE %> <% Response.ContentType = "image/svg+xml" %> <% '--- info_est.asp --- DIM ScreenWidth, ScreenHeight 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") ' set it up for a graph bounding box of 2000 horizontal by 1000 vertical ' the viewBox has to be larger, to allow for left (and right?) parameter stuff ' the graph should have 20 by 10 internal dividers (grid pattern) %> <% '-- left foot, scan (photoshop) -> trace (AI) -> svg ---%> <% '-- left foot image, flipped right foot image, separated by x:180 translation ---%> <% '-- single foot -- width=x=114.12, length=height=y=300.96 -- %> <% '-- left hip x=56 y=165 - centre x=146 y=165 - right hip x=236 y=165 ---%> <% '-translate all to hip-centre coordinates, then rotate, translate back ---%> <% '-- translate the left foot to the left-hip joint, rotate, then translate back --%> <% '------------------- right foot ---------------------------------------%> <% '------------------- left-foot centre --------------------------------%> <% '------------------- hip ---------------------------------------%> left hip-joint - to - right hip-joint <% '-------------- end of wrapped transformation ------------------------%> <% 'transform="translate(176,165) rotate(-30) translate(-176,-165)"%> <% '' reset the timeout ' Server.ScriptTimeout = timeout Response.End '-----------------------------------------------------------%>