A library for Delaunay triangulation and Lambertian reflectance. Want to get familiar with the library? Check out the playground!
Documentation and more examples will come soon!
HTML - index.html
<head>
<link rel='stylesheet' href='index.css'/>
<script type='text/javascript' src='triangles.js'></script>
</head>
<body>
<div id='container'></div>
</body>
CSS - index.css
body,html {
width: 100%;
height: 100%;
margin: 0;
}
#container {
width: 100%;
height: 100%;
}
Javascript - index.js
const element = Triangles.add({
id: 'container'
});
Based upon the demo originally created by Maksim Surguy.
Special thanks to him for the inspiration for this library!
Licensed under the MIT License (MIT).