This commit is contained in:
Loic Guegan 2021-10-04 18:59:12 +02:00
parent 83f94fb969
commit 10dd12367f

View file

@ -11,7 +11,7 @@ let projectile= function (node){
let dots=[] // Dots that show projectile path let dots=[] // Dots that show projectile path
node.setup = function() { node.setup = function() {
c=node.createCanvas(width, height); c=node.createCanvas(Math.min(window.innerWidth,width), height);
v0t=node.createElement('p', ''); v0t=node.createElement('p', '');
katex.render("v_0", v0t.elt); katex.render("v_0", v0t.elt);
v0t.elt.style.color="#b4b4b4" v0t.elt.style.color="#b4b4b4"