LJ/doc/pointslists.html

108 lines
4.2 KiB
HTML

<!DOCTYPE HTML>
<!--
Prologue by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>LJ Laser Server</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]-->
<link rel="stylesheet" href="assets/css/main.css" />
<!--[if lte IE 8]><link rel="stylesheet" href="assets/css/ie8.css" /><![endif]-->
<!--[if lte IE 9]><link rel="stylesheet" href="assets/css/ie9.css" /><![endif]-->
</head>
<body>
<!-- Header -->
<div id="header">
<div class="top">
<!-- Logo -->
<div id="logo">
<h1 id="title">L J doc</h1>
<p>by <a href="http://www.teamlaser.fr">/team/laser</a></p>
</div>
<!-- Nav -->
<nav id="nav">
<!--
Prologue's nav expects links in one of two formats:
1. Hash link (scrolls to a different section within the page)
<li><a href="#foobar" id="foobar-link" class="icon fa-whatever-icon-you-want skel-layers-ignoreHref"><span class="label">Foobar</span></a></li>
2. Standard link (rbss the user to another page/site)
<li><a href="http://foobar.tld" id="foobar-link" class="icon fa-whatever-icon-you-want"><span class="label">Foobar</span></a></li>
-->
<ul>
<li><a href="../www/index.html" id="top-link" class="skel-layers-ignoreHref"><span class="icon fa-home">Home</span></a></li>
<li><a href="features.html" id="portfolio-link" class="skel-layers-ignoreHref"><span class="icon fa-wifi">Features</span></a></li>
<li><a href="concepts.html" id="contact-link" class="skel-layers-ignoreHref"><span class="icon fa-cog">Concepts</span></a></li>
<li><a href="aurora.html" id="contact-link" class="skel-layers-ignoreHref"><span class="icon fa-cog">Aurora</span></a></li>
<li><a href="plugins.html" id="contact-link" class="skel-layers-ignoreHref"><span class="icon fa-cog">Plugins</span></a></li>
<li><a href="pointslists.html" id="contact-link" class="skel-layers-ignoreHref"><span class="icon fa-cog">Pointlists</span></a></li>
<li><a href="references.html" id="contact-link" class="skel-layers-ignoreHref"><span class="icon fa-cog">References</span></a></li>
<li><a href="etherdream/protocol.html" id="contact-link" class="skel-layers-ignoreHref"><span class="icon fa-cog">etherdream</span></a></li>
</ul>
</ul>
</nav>
</div>
</div>
<!-- Main -->
<div id="main">
<!-- Check -->
<section id="check" class="three">
<div class="container" style="text-align: left">
<header>
<h2><strong>Points Lists</strong></h2>
</header>
<p style="font-size: 0.9em;">Tracers get their points list asking redis key</p>
LJ is network based. The user interface runs in a browser, in a tablet for example, letting you free to move ! With more than one laser you should think laser server and run LJ on a dedicated computer.<br>
<br>
<ul>
<li><strong>/pl/Scene/lasernumber : </strong> "[(x,y,color),(x1,y1,color),...]" The live list of points drawn.</li>
<li><strong>x : </strong>(0-600).</li>
<li><strong>y : </strong>(0-600).</li>
<li><strong>color : </strong> integer of the Hex value of the color, like FFFFFF. Conversion RGB in python from r,g,b values : int('0x%02x%02x%02x' % (r,g,b),0)</li>
</ul>
</div>
</section>
</div>
<!-- Footer -->
<div id="footer">
<!-- Copyright -->
<p class="copyright">
LJ is CC NC
</p>
</div>
<!-- Scripts -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/jquery.scrolly.min.js"></script>
<script src="assets/js/jquery.scrollzer.min.js"></script>
<script src="assets/js/skel.min.js"></script>
<script src="assets/js/util.js"></script>
<!--[if lte IE 8]><script src="assets/js/ie/respond.min.js"></script><![endif]-->
<script src="assets/js/main.js"></script>
</body>
</html>