Skip to content

Resizeable window/canvas #17

@LostMoho

Description

@LostMoho

Sorry for creating an issue to ask a question, but I'm playing around with Marching.js and I find that if I resize the browser window, that rendering gets all messed up. Similarly, if I set up a canvas that is not the shape of the window, say 1000px x 200px, then the rendering has an incorrect aspect ratio.

I suspect that the rendering is based on the initial size of the window. Is there some way to tell marching that the window or canvas has been resized? And is there another place people discuss Marching.js that would be more appropriate for questions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions