mediocregopher.com/viz/1/index.html

58 lines
2.1 KiB
HTML
Raw Normal View History

2017-06-08 02:13:35 +00:00
<!DOCTYPE html>
<html>
<head>
<title>viz</title>
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet">
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/skeleton.css">
<style type="text/css">
* {
font-family: 'Source Code Pro', monospace;
}
#viz {
//border: 1px solid grey;
}
</style>
<script src="js/main.js"></script>
</head>
<body>
<p align="center" style="margin-top:1%;"> <canvas id="viz"></canvas> </p>
<div class="container">
<div class="row" style="margin-top: 10%; margin-bottom:1%;">
<div class="twelve column">
<h1>1</h1>
<p>
Using clojurescript and
<a href="https://quil.info">quil</a>.
</p>
<p>
Any point can only be occupied by a single dot.</br>
A line cannot intersect another line.</br>
Every tick a point may spawn 0 or more adjacent points.
</p>
<p>
In this implementation adjacent points are chosen randomly,
both in number and direction. The result is somewhere between
Conway's Game of Life and white noise.
</p>
<p>
This implementation is hella slow, most time is spent drawing
the lines. This was optimized so that adjacent parallel lines
are drawn in a single operation, but that produced negligible
benefit.
</p>
<!-- (#_#) -->
<pre>
git clone https://github.com/mediocregopher/viz.git
git checkout 7e9e898466ce1663ef295deef0e3d0ac86a36de0
</pre>
</div>
</div>
</body>
</html>