From 6e711d70862f832eb76956605edcb80bd6edab1a Mon Sep 17 00:00:00 2001 From: adplantade Date: Wed, 10 Jun 2020 09:58:42 +0200 Subject: [PATCH] 2 couleurs --- code/index.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/code/index.html b/code/index.html index 6a1654e..274c757 100644 --- a/code/index.html +++ b/code/index.html @@ -322,10 +322,18 @@ rotationManager(e); }) + /* tab1.push([-3,-3,"green"],[-3,2,"red"],[1,2,"blue"],[3,-3,"brown"]); tab2.push([-3,-3,"green"],[-3,2,"red"],[1,2,"blue"],[3,-3,"brown"]); tab3.push([-3,-3,"green"],[-3,2,"red"],[1,2,"blue"],[3,-3,"brown"]); tab4.push([-3,-3,"green"],[-3,2,"red"],[1,2,"blue"],[3,-3,"brown"]); + */ + + tab1.push([-1,-1,"green"]); + tab2.push([-1,-1,"green"]); + tab3.push([-1,-1,"green"]); + tab4.push([-1,-1,"green"]); + toutDessiner(tab1,canvas1,ctx); toutDessiner(tab2,canvas2,ctx2);