-
Notifications
You must be signed in to change notification settings - Fork 1
/
draw-intersections.html
91 lines (70 loc) · 3.46 KB
/
draw-intersections.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<title>Ruler and Compass Designer</title>
<link rel="stylesheet" href="style.css?v=1.0">
<script src="js/jquery-2.2.4.min.js" type="text/javascript"></script>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<nav id="toolbox">
<div class='guides'>
<button id="lineMode" class="active" data-mode="line" title="(l) guideline"></button>
<button id="CircleCenterMode" data-mode="circle-center" title="(c) circle guide - from radius"></button>
<button id="CircleEdgeMode" data-mode="circle-edge" title="(c) circle guide - from edge"></button>
</div>
<div class='editing'>
<button id="eraseMode" data-mode="erase" title="(e) erase"></button>
</div>
<div class='drawing'>
<button id="draw-straight" data-mode="draw-straight" title="(d) draw - straight"></button>
<button id="draw-curved" data-mode="draw-curved" title="(d) draw - curved"></button>
<button id="musical" data-mode="musical" title="(m) musical line"></button>
<button id="play" data-mode="play" title="(p) play music"></button>
<span id='noteDisplay'></span>
</div>
</nav>
<div id='frame'>
<svg id='nest' xmlns="http://www.w3.org/2000/svg" data-scale='1' data-top="0" data-left="0" data-width="1150" data-height="700" >
<g id='preview'></g>
<g id='musicallines'></g>
<g id='guidecircles'></g>
<g id='guidelines'></g>
<g id='drawinglayer'></g>
<g id='intersection_points'></g>
<!-- <circle class="follower" r="20" cx="200" cy="200" data-identifier="C18" style="stroke-width:1; fill:red"></circle>-->
</svg>
</div>
<script src="js/objs.js" type="text/javascript"></script>
<!-- Undo History -->
<script src="js/undo/undoHistory.js" type="text/javascript"></script>
<!--Window Tools -->
<script src="js/windowTools/pan.js" type="text/javascript"></script>
<script src="js/windowTools/zoom.js" type="text/javascript"></script>
<!--Intersection Tools -->
<script src="js/intersectionTools/lineIntersection.js" type="text/javascript"></script>
<script src="js/intersectionTools/intersectionNode.js" type="text/javascript"></script>
<script src="js/intersectionTools/coordDictionary.js" type="text/javascript"></script>
<script src="js/intersectionTools/nodeClicks.js" type="text/javascript"></script>
<!--Line Tools -->
<script src="js/lineTools/lineEquation.js" type="text/javascript"></script>
<script src="js/lineTools/guideline.js" type="text/javascript"></script>
<script src="js/lineTools/grid.js" type="text/javascript"></script>
<!-- Path Tools -->
<script src="js/pathTools/pathClick.js" type="text/javascript"></script>
<!--Circle Tools -->
<script src="js/circleTools/circleDraw.js" type="text/javascript"></script>
<script src="js/circleTools/circleEquations.js" type="text/javascript"></script>
<!--Musical Tools -->
<script src="js/musicalTools/findClosestNote.js" type="text/javascript"></script>
<script src="js/musicalTools/musical.js" type="text/javascript"></script>
<!--App -->
<script src="js/draw.js" type="text/javascript"></script>
<script>
//$("#nest").Grid();
var draw=new DrawApp();
</script>
</body>
</html>