diff --git a/website/public/encoder_disc.svg b/website/public/encoder_disc.svg new file mode 100644 index 000000000..c4317947d --- /dev/null +++ b/website/public/encoder_disc.svg @@ -0,0 +1,155 @@ + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/website/src/components/Vinyl.jsx b/website/src/components/Vinyl.jsx index c3a7d0ab6..06ed16aa3 100644 --- a/website/src/components/Vinyl.jsx +++ b/website/src/components/Vinyl.jsx @@ -8,6 +8,9 @@ import { setInterval, clearInterval } from 'worker-timers'; import { NeoCyclist } from '@strudel/core/neocyclist.mjs'; import { getAudioContext } from '@strudel/webaudio'; import { saw } from '@strudel/core'; +import encoder from '../../public/encoder_disc.svg'; + +console.log(encoder); const schedulerOptions = { onTrigger: (x) => { }, @@ -34,7 +37,7 @@ export function Vinyl() { useEffect(() => { const intervalId = setInterval(() => { setCyclepos(cyclist.cycle); - }, 20); + }, 10); return () => clearInterval(intervalId); }, []); @@ -44,5 +47,5 @@ export function Vinyl() { fontSize: "20em", transform: 'rotate(' + deg + 'deg)' }; - return
💿
+ return
} \ No newline at end of file