diff --git a/src/components/generic/SmallWidgets.js b/src/components/generic/SmallWidgets.js index c90f9ee..40186bc 100644 --- a/src/components/generic/SmallWidgets.js +++ b/src/components/generic/SmallWidgets.js @@ -12,9 +12,10 @@ const AlertBox = ({ info }) => ( const ToggleSwitch = ({ id, value, handleChange, showValue }) => (
- This page might feel slow at first, + This page might feel slow at first, because it is also eagerly loading and mounting the 3d plot behind the scenes! You can actually already navigate to any of the links below right now (which I recommend), even if this page hasn't fully loaded diff --git a/src/components/pages/WalkingGaitsPage.js b/src/components/pages/WalkingGaitsPage.js index c957854..c380ca2 100644 --- a/src/components/pages/WalkingGaitsPage.js +++ b/src/components/pages/WalkingGaitsPage.js @@ -7,7 +7,7 @@ import { VirtualHexapod } from "../../hexapod" import { tRotZmatrix } from "../../hexapod/geometry" import { DEFAULT_GAIT_PARAMS } from "../../templates" -const ANIMATION_DELAY = 100 +const ANIMATION_DELAY = 50 const getPose = (sequences, i) => { return Object.keys(sequences).reduce((newSequences, legPosition) => { diff --git a/src/index.css b/src/index.css index b924493..b05cca9 100644 --- a/src/index.css +++ b/src/index.css @@ -6,7 +6,7 @@ --c2-pink: #fc427b; --c3-orange: #ff793f; --c4-blue: rgb(41, 128, 185); - --c6-red: #fc5c65; + --c6-red: #ff2121; } body, @@ -191,6 +191,7 @@ tr:hover { .red { color: var(--c6-red); + font-weight: bolder; } .border {