Giter Site home page Giter Site logo

Comments (5)

mikeseven avatar mikeseven commented on June 20, 2024

node-webgl is based on nodejs. The implementation of RequestAnimationFrame() is based on nodejs timing so it is of higher resolution than in web browsers.

On Mar 31, 2016, at 11:47 AM, Dillybob92 <[email protected]mailto:[email protected]> wrote:

I'm looking for an alternative to Electron.

I hate how Chromium disables RequestAnimationFrame and looking to just get my game working inside a canvas element and ship it as just an app. I could convert my ui using html to use webgl instead.. would switching to use this be a good idea?


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHubhttps://github.com//issues/49

—mike

from node-webgl.

 avatar commented on June 20, 2024

Hmm. Thanks. I'm wondering if it's possible to then edit node's source and disable the requestanimationframe from not happening when the window is minimized? I guess doing that would be a lot easier than re-compiling Chromium, right?

from node-webgl.

mikeseven avatar mikeseven commented on June 20, 2024

yes you can edit the code to your own purpose.

On Mar 31, 2016, at 2:29 PM, Dillybob92 <[email protected]mailto:[email protected]> wrote:

Hmm. Thanks. I'm wondering if it's possible to then edit node's source and disable the requestanimationframe from not happening when the window is minimized? I guess doing that would be a lot easier than re-compiling Chromium, right?


You are receiving this because you commented.
Reply to this email directly or view it on GitHubhttps://github.com//issues/49#issuecomment-204136653

—mike

from node-webgl.

nrei0 avatar nrei0 commented on June 20, 2024

So, if node-webgl depends on nodejs, it means that is enough to have nodejs onboard of various of platforms to run your webgl application?
I'm endeavouring my own game, so I'm seeking for solution to run my game from every platform as standalone.

from node-webgl.

mikeseven avatar mikeseven commented on June 20, 2024

from node-webgl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.