JSFiddle - React, Tailwind, and code Playground
by easwee
HTML
<canvas id="display" width="1500" height="1500" style="background:black;"></canvas>
CSS
html, body {margin:0;padding:0;width:100%;height:100%}
canvas {position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);}
JavaScript
var c = document.getElementById('display');
var ctx = c.getContext('2d');
var scale = 0.4;
var m = {
x: c.width / 2,
y: c.height / 2
};
var PIdecimals =...