Render positions
No frame syncs, so flickers terribly, and performance is garbage. But it works.
This commit is contained in:
5
src/components/CanvasContext.ts
Normal file
5
src/components/CanvasContext.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import React from "react"
|
||||
|
||||
const CanvasContext = React.createContext<CanvasRenderingContext2D | null>(null)
|
||||
|
||||
export default CanvasContext
|
||||
Reference in New Issue
Block a user