Added another reference implementation in lode.rs. Build CLI to generate noise with various parameters.
24 lines
587 B
HTML
24 lines
587 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Noise test</title>
|
|
<link rel="stylesheet" type="text/css" href="perlin.css" media="screen" />
|
|
</head>
|
|
<body>
|
|
{% for s in specimens %}
|
|
<h2>{{ s.title }}</h2>
|
|
{% for np in s.params %}
|
|
<figure>
|
|
<p>
|
|
<a href="{{ np.image_name() }}">
|
|
<img width="{{ np.width }}" height="{{ np.height }}" src="{{ np.image_name() }}?t={{ render_time }}"/>
|
|
</a>
|
|
<figcaption>{{ np.compact_string() }}</figcaption>
|
|
</figure>
|
|
{% endfor %}
|
|
{% endfor %}
|
|
<p>Rendered at: {{ render_time }}</p>
|
|
</body>
|
|
</html>
|