mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-27 07:58:01 +01:00
- WebGPU: upload changed atlas rects through a small staging canvas, once each per frame, instead of copying from the 4096² atlas (each copy snapshotted the whole canvas); the canvas is opaque, so it says so. - Canvas 2D: cut each shard's face from the card atlas once instead of clipping the card twice a frame per shard. - Screen break: settled cracks keep their paths, styles and crater gradient; the idle glass layer leaves the layout. - Make the AudioContext when the visitor reaches for the key, stop the hidden keycap glow, and drop the unused motion wrapper (~24 KB gzip of first-load JS).
10 lines
159 B
TypeScript
10 lines
159 B
TypeScript
import { StrictMode } from "react"
|
|
import App from "./App"
|
|
|
|
export default function Root() {
|
|
return (
|
|
<StrictMode>
|
|
<App />
|
|
</StrictMode>
|
|
)
|
|
}
|