refacto ts + ajout de dessin simple + ajout pinceau

WIP lib graphique
This commit is contained in:
Marc
2022-02-08 13:35:49 +01:00
parent a3547ac244
commit 47e764132f
13 changed files with 255 additions and 66 deletions
+4
View File
@@ -24,6 +24,10 @@ async function getline(str) {
})
}
/**
* @param { string } str
* @returns
*/
function isAlpha(str){
return /^[a-zA-Z]*$/.test(str)
}