2017-06-08 02:13:35 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
2017-06-08 18:47:23 +00:00
|
|
|
<title>viz (1)</title>
|
2017-06-08 02:13:35 +00:00
|
|
|
|
|
|
|
<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
|
2017-06-08 18:56:58 +00:00
|
|
|
<a href="http://quil.info">quil</a>.
|
2017-06-08 02:13:35 +00:00
|
|
|
</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>
|
|
|
|
|
|
|
|
<!-- (#_#) -->
|
|
|
|
|
2017-06-08 18:47:23 +00:00
|
|
|
<p>
|
|
|
|
git clone https://github.com/mediocregopher/viz.git</br>
|
2017-06-08 18:56:58 +00:00
|
|
|
git checkout cb3d9d871d72b4f4487d175e73f0c30041963c42
|
2017-06-08 18:47:23 +00:00
|
|
|
</p>
|
2017-06-08 02:13:35 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|