Hi Marco,
Apologies, the docs for this are well hidden :( I'll make an issue to improve this experience and offer some reference implementations and usages. I think we can improve the experience here for sure.
Noise generation docs
style="width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;"
title="perlin-noise"
allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"
sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
></iframe>
The DisplayMode.Fullscreen only drawing applies to the engine resolution and viewport. DisplayMode.Fullscreen actually sets the resolution & viewport of the game canvas to match the visible window (really it's more like dynamic aspect ratio), in order to use that you will likely need redraw the perlin noise to match the new resolution on resize which might be CPU intense.
Another strategy might be to have a pre-generated perlin map at a fixed size and use a DisplayMode.Fixed set a specific resolution and viewport size, and request the browser fullscreen API mode on user gesture (like a click) with `game.screen.goFullScreen()` (unfortunately the fullscreen api doesn't seem to work in codesandbox but it does work)
I've also included a way to do a more fully featured fullscreen by changing the viewport based on the aspect ratio specified in the original resolution (which I think is what you're after).
Let me know if this helps or if you have any more questions!