Static
coveredKeeping the range that was already covered by renderer
Static
forwardMaking sure that the new render area is at least 1500px ahead of the current frame range so the user doesn't need to render the scene on every click. This value get populated in App.tsx
Static
visibleKeeeping the current visible range so layers not within range can be hidden. This value is kept so the Frame.ts can use it without relaying on the ScrollableCanvas's newPosition parameter
Private
createDownloads the terrain SVG based on the given parameters.
The seed for the terrain generation.
The range for which to generate the SVG.
The height of the SVG.
Optional
darkMode: booleanRender picture based on the given range.
The new range of the canvas
The svg content or undefined if no new frame is created
Keeping the frames array with frames ready to be render in current scenne