source: js/viewer-f0/index.html @ 953

Last change on this file since 953 was 223, checked in by mmichalski, 11 years ago

Load javascript files from server

File size: 2.5 KB
RevLine 
[134]1<!DOCTYPE html>
2<html>
3<head>
4    <title></title>
5    <link rel="stylesheet" type="text/css" href="css/styles.css">
6</head>
7<body>
[223]8<script src="js/library/LAB.min.js"></script>
9<script src="js/f0Viewer.js"></script>
[216]10
11<h2 class="header">From TextArea</h2>
12
[188]13<div class="window">
14    <div class="cont" id="container"></div>
15    <div class="cont" id="containerNeuron"></div>
[134]16
[188]17    <div class="menu">
18        <textarea id="geno">//0&#13;&#10;p:</textarea>
[134]19
[188]20        <div><input type="checkbox" id="axisBox"> Show axis for parts </input></div>
21        <div id="test">
22            <button onclick="openTextAreaCreature()">Render</button>
23        </div>
[134]24    </div>
[188]25</div>
[134]26
[223]27<h2 class="header">From Framsticks Site</h2>
[216]28
[188]29<div class="window">
30    <div class="cont" id="container1"></div>
31    <div class="cont" id="containerNeuron1"></div>
32
33    <div class="menu">
34        <div><input type="checkbox" id="axisBox1"> Show axis for parts </input></div>
35        <div id="test1">
36
37            <button onclick="openEmbeddedCreature()">Render</button>
38        </div>
39    </div>
[134]40</div>
41
[216]42<h2 class="header">From Code</h2>
[134]43
[188]44<div class="window">
45    <div class="cont" id="container2"></div>
46    <div class="cont" id="containerNeuron2"></div>
47
48    <div class="menu">
49        <div><input type="checkbox" id="axisBox2"> Show axis for parts </input></div>
50        <div id="test2">
51
[218]52            <button onclick="openCodeCreature('//0\np:sh=1\np:0.545102894306183, -0.318887442350388, sh=1, sx=1.1, sy=1.1, sz=1.1\np:1.16632652282715, -0.325989931821823, sh=1, sx=1.21, sy=1.21, sz=1.21\np:1.7860780954361, 0.063004806637764, sh=1, sx=1.331, sy=1.331, sz=1.331\np:2.13026833534241, 0.818416178226471, sh=1, sx=1.4641, sy=1.4641, sz=1.4641\np:2.01168036460876, 1.77628517150879, 7.99184850157293e-17, sh=1, sx=1.61051, sy=1.61051, sz=1.61051\np:1.32041680812836, 2.62884712219238, 2.42627849650446e-16, sh=1, sx=1.771561, sy=1.771561, sz=1.771561\np:0.138709783554077, 3.0578818321228, 4.58648859180417e-16, sh=1, sx=1.9487171, sy=1.9487171, sz=1.9487171\nj:0, 1, sh=1\nj:1, 2, sh=1\nj:2, 3, sh=1\nj:3, 4, sh=1\nj:4, 5, sh=1\nj:5, 6, sh=1\nj:6, 7, sh=1\n')">Render</button>
[188]53        </div>
54    </div>
55</div>
56
[216]57<h2 class="header">From file</h2>
58
[188]59<div class="window">
60    <div class="cont" id="container3"></div>
61    <div class="cont" id="containerNeuron3"></div>
62
63    <div class="menu">
64        <div><input type="checkbox" id="axisBox3"> Show axis for parts </input></div>
65        <div id="test3">
66
67            <button onclick="openFileCreature()">Render</button>
68        </div>
69    </div>
70</div>
71
72
73</body>
[134]74</html>
Note: See TracBrowser for help on using the repository browser.