mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-24 20:18:34 +00:00
Runned Prettier
This commit is contained in:
parent
aec7417c14
commit
7efbee0646
@ -86,7 +86,6 @@ export const tri2 = fastcat(isaw2, saw2);
|
|||||||
|
|
||||||
export const time = signal(id);
|
export const time = signal(id);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The mouse's x or y position value ranges from 0 to 1.
|
* The mouse's x or y position value ranges from 0 to 1.
|
||||||
*
|
*
|
||||||
@ -96,7 +95,8 @@ export const time = signal(id);
|
|||||||
* n(mousey.segment(4).range(0,7)).scale("C:minor")
|
* n(mousey.segment(4).range(0,7)).scale("C:minor")
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
let _mouseY=0,_mouseX=0
|
let _mouseY = 0,
|
||||||
|
_mouseX = 0;
|
||||||
document.onmousemove = (e) => {
|
document.onmousemove = (e) => {
|
||||||
_mouseY = e.clientY / document.body.clientHeight;
|
_mouseY = e.clientY / document.body.clientHeight;
|
||||||
_mouseX = e.clientX / document.body.clientWidth;
|
_mouseX = e.clientX / document.body.clientWidth;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user