function getCircuitColour(circuitNumber) {
switch (circuitNumber % 6) {
case 0:
return "blue"
case 1:
return "red"
case 2:
return "red"
case 3:
return "black"
case 4:
return "black"
case 5:
return "blue"
default:
return ""
}
}
-
Notifications
You must be signed in to change notification settings - Fork 0
j-nas/circuit-colours
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Simple app to colour conductors in 3 phase electrical
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published