!!! 5
%html{:xmlns => "http://www.w3.org/1999/xhtml"}
%head
%title Canvas Experiment Six
%link{:href => "style.css", :rel => "stylesheet", :type => "text/css"}/
%script(type="text/javascript" src="./jquery-1.6.1.js")
%script(type="text/javascript" src="./arc_four.js")
%body
%h1 Canvas Demo, Experiment Seven
%p
My math was off. Someone pointed out to me that the javascript
had a run-over-rise, not rise-over-run; the slope was inverted.
See? Now it looks awesome.
%p
The one problem remaining is what to do when the slope is undefined.
.wrapper(style="clear: both")
%input(type="hidden" value="40")
.canvas_demo(style="width: 600px; height: 600px; border: 1px solid green;")