mandelbrot-set
Version:
Web components and a web worker for painting Julia and Mandelbrot sets on a web page.
33 lines (32 loc) • 1.43 kB
HTML
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<meta name="description" content="Renders Julia sets in colour.">
<title>Julia Sets</title>
<link rel="stylesheet" href="assets/mini-default.min.css">
<link rel="stylesheet" href="assets/julia.css">
</head>
<body>
<h1>Julia Sets</h1>
<p>A web component and a web worker for painting Julia sets on a web page.
See also the <a href="mandelbrot.html">Mandelbrot</a> set, an
<a href="demo.html">all-in-one demo</a> and the
<a href="https://github.com/prantlf/mandelbrot-set">project sources</a>.</p>
<mandelbrot-set-computer src="scripts/computer.js"></mandelbrot-set-computer>
<dialog id="settings-dialog">
<julia-set-form stylesheet="assets/mini-default.min.css"
id="settings" for="graph"></julia-set-form>
</dialog>
<div id="main">
<julia-set-graph id="graph"></julia-set-graph>
<mandelbrot-set-toolbar stylesheet="assets/mini-default.min.css"
id="toolbar" for="graph"></mandelbrot-set-toolbar>
</div>
<script src="scripts/julia-set-form.js" type="module"></script>
<script src="scripts/julia-set-graph.js" type="module"></script>
<script src="scripts/mandelbrot-set-toolbar.js" type="module"></script>
<script src="assets/julia.js" type="module"></script>
</body>
</html>