Skip to content

Using Marching.js as the renderer for a js/html website/app? #19

@drawtheliner

Description

@drawtheliner

I'd like to use the library as a renderer in web projects, such as websites, apps and games. However I'm not sure how to set this up.

In my js/html projects, I usually have a setup function, and then a function triggered by requestAnimationFrame, which deals with the app/game logic, and updating the scene based on the passage of time and user input.

However in marching.js it seems animation is handled differently. Is it possible to use it for the purposes I described, or is marching.js exclusively meant to be used for live coding?

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