CityScope / CS_Cooper-Hewitt

meta repo/sandbox repo for keeping everything related to the Cooper Hewitt exhibition
5 stars 2 forks source link

Push Building block gray value for the scanner in a separate file ??? #109

Closed agrignard closed 5 years ago

agrignard commented 5 years ago

It could be easier for a user that doesn't want to edit code (even if at the code is also stored in a separate text file (but the extension is .pde not .txt ot .csv but it the same) to have a dedicated text file to specify the color of the brick (there is a chance that we will have to change it in CH during the deployment).

If someone is in favor of that I can implement it, if I don't here anyone requesting it then it doesn't make sense and here is the place to edit the color in Grid.pde

     gridQRcolorMap = new HashMap<PVector,Integer>();
     gridQRcolorMap.put(gridMap.get(0),#888888);
     gridQRcolorMap.put(gridMap.get(1),#888888);
     gridQRcolorMap.put(gridMap.get(2),#CCCCCC);
     gridQRcolorMap.put(gridMap.get(3),#CCCCCC);
     gridQRcolorMap.put(gridMap.get(4),#888888);
     gridQRcolorMap.put(gridMap.get(5),#888888);
     gridQRcolorMap.put(gridMap.get(6),#888888);
     gridQRcolorMap.put(gridMap.get(7),#666666);
     gridQRcolorMap.put(gridMap.get(8),#CCCCCC);
     gridQRcolorMap.put(gridMap.get(9),#CCCCCC);
     gridQRcolorMap.put(gridMap.get(10),#666666);
     gridQRcolorMap.put(gridMap.get(11),#888888);
     gridQRcolorMap.put(gridMap.get(12),#888888);
     gridQRcolorMap.put(gridMap.get(13),#666666);
     gridQRcolorMap.put(gridMap.get(14),#CCCCCC);
     gridQRcolorMap.put(gridMap.get(15),#CCCCCC);
     gridQRcolorMap.put(gridMap.get(16),#777777);
     gridQRcolorMap.put(gridMap.get(17),#888888);
agrignard commented 5 years ago

ok so no need to create issue when there is no issue...