An Watch-like hexagon grid in d3
| double[] map; | |
| int charwidth = 20; | |
| int cellW, cellH; | |
| float xSpeed = 0.005; | |
| float ySpeed = 0.005; | |
| float step = 0.10; | |
| float xOffset = 0; | |
| float yOffset = 0; | |
| float xPos = 0; | 
[ Launch: test ] 684a67b8fef058b8088d by radiodario[ Launch: test ] 4653053 by enjalot[ Launch: test ] 4652017 by enjalot[ Launch: test ] 4582399 by enjalot
| int dateToMsSinceMidnight(String date) { | |
| int hours = int(date.substring(0, 2)); | |
| int minutes = int(date.substring(3, 5)); | |
| int seconds = int(date.substring(6, 8)); | |
| int milliseconds = int(date.substring(9)); | |
| return hours * 3600000 + | |
| minutes * 60000 + | |
| seconds * 1000 + | |
| milliseconds; | 
[ Launch: network ] ea2cc2f4ed70b0d88dba by radiodario[ Launch: test ] 4653053 by enjalot[ Launch: test ] 4652017 by enjalot[ Launch: test ] 4582399 by enjalot
[ Launch: replaceTransition ] f4ef0a0f5243eb1efcbd by radiodario[ Launch: endTransition ] 4a75c47b7a5a87eade49 by radiodario[ Launch: startTransition ] 3736f1631ff1fe10e9e9 by radiodario[ Launch: startTransition ] 8e3b067bc3fcfa478861 by radiodario[ Launch: test ] 4653053 by enjalot[ Launch: test ] 4652017 by enjalot[ Launch: test ] 4582399 by enjalot
[ Launch: endTransition ] 4a75c47b7a5a87eade49 by radiodario[ Launch: startTransition ] 3736f1631ff1fe10e9e9 by radiodario[ Launch: startTransition ] 8e3b067bc3fcfa478861 by radiodario[ Launch: test ] 4653053 by enjalot[ Launch: test ] 4652017 by enjalot[ Launch: test ] 4582399 by enjalot
[ Launch: startTransition ] 3736f1631ff1fe10e9e9 by radiodario[ Launch: startTransition ] 8e3b067bc3fcfa478861 by radiodario[ Launch: test ] 4653053 by enjalot[ Launch: test ] 4652017 by enjalot[ Launch: test ] 4582399 by enjalot
[ Launch: startTransition ] 8e3b067bc3fcfa478861 by radiodario[ Launch: test ] 4653053 by enjalot[ Launch: test ] 4652017 by enjalot[ Launch: test ] 4582399 by enjalot