first commit : broken evolve. fun anyway

This commit is contained in:
Gator
2021-12-30 13:39:25 +01:00
commit 7add85cefb
2 changed files with 95 additions and 0 deletions

25
index.html Normal file
View File

@ -0,0 +1,25 @@
<html>
<head>
<title>Cellular automata</title>
<style>
* {
margin: 0;
padding: 0;
}
body {
/* background: rgb(159,121,30); */
/* background: linear-gradient(90deg, rgba(159,121,30,1) 0%, rgba(230,64,27,1) 34%, rgba(255,119,0,1) 100%); */
}
canvas {
background: rgb(238,174,202);
background: radial-gradient(circle, rgba(238,174,202,1) 0%, rgba(148,187,233,1) 100%);
}
</style>
</head>
<body>
<canvas width="500" height="500" id="canvas"></canvas>
<script src="main.js"></script>
</body>
</html>