//Portes Logiques
var imageHeight = 75/2;
var imageWidth = 50;
var imageRotation = 0;

//couleur
const blackColor = "#444442";
const whiteColor = "#D7CCC8";
//Image
const pathImg = "img/";
const imageLogiqueEt = "and_test.png";
const imageLogiqueOu = "or_test.png";
const imageLogiqueEtNon = "nand_test.png";
const imageLogiqueInv = "not_test.png";
const imageLogiqueNonOu = "nor_test.png";

//line
var colorLineInnactive = "black";
var colorLineActive = "#4CFEFE";//FFF033
const lineStroke = 4;
const pourcentageBreak = 15;

//switch
const SwitchHeight = 25;
const SwitchWidth = 50;
const colorSwitchBorder = "black";
var colorSwitchInnactiveBackground = "red";
var colorSwitchActiveBackground = "green";

//timer
var timeEnd = 10;
var timeTot = 0;

//switch
var numberOfSwitch = 0;

//grid
var colonneTot = 4;
var numberPerColonne = [];
var liveColonneNumber = [];

var niveauActuel = 1;

var isTuto = true;

//window

var windowWidth = 0;
var windowHeight = 0;

var mobile = false;