mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-17 01:50:47 -04:00
100
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -11,7 +11,7 @@
|
|||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||||
<meta name="apple-mobile-web-app-title" content="Multi Roomba Rover" />
|
<meta name="apple-mobile-web-app-title" content="Multi Roomba Rover" />
|
||||||
<title>Multi Roomba Rover</title>
|
<title>Multi Roomba Rover</title>
|
||||||
<script type="module" crossorigin src="/assets/index-CXydk_Ez.js"></script>
|
<script type="module" crossorigin src="/assets/index-CZl1S0vQ.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/assets/index-BpKtN3Ry.css">
|
<link rel="stylesheet" crossorigin href="/assets/index-BpKtN3Ry.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -570,7 +570,7 @@ function buildSegments({ count, totalSpan, gap, startAngle }) {
|
|||||||
return segments;
|
return segments;
|
||||||
}
|
}
|
||||||
|
|
||||||
const LIGHT_BUMP_SENSITIVITY = 0.18; // increase to spin through hues faster
|
const LIGHT_BUMP_SENSITIVITY = 1; // increase to spin through hues faster
|
||||||
function lightBumpColor(value) {
|
function lightBumpColor(value) {
|
||||||
if (value == null || value <= 0) return '#000000';
|
if (value == null || value <= 0) return '#000000';
|
||||||
const hue = (value * LIGHT_BUMP_SENSITIVITY) % 360; // cycles through the whole spectrum
|
const hue = (value * LIGHT_BUMP_SENSITIVITY) % 360; // cycles through the whole spectrum
|
||||||
|
|||||||
Reference in New Issue
Block a user