add basic spectrum function
This commit is contained in:
parent
ae335ac40c
commit
648fbf99fa
4 changed files with 61 additions and 2 deletions
|
|
@ -26,7 +26,7 @@ export const getDrawContext = (id = 'test-canvas', options) => {
|
|||
}, 200);
|
||||
});
|
||||
}
|
||||
return canvas.getContext(contextType);
|
||||
return canvas.getContext(contextType, { willReadFrequently: true });
|
||||
};
|
||||
|
||||
let animationFrames = {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue