Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
108
rated 0 times [  114] [ 6]  / answers: 1 / hits: 16326  / 9 Years ago, sun, november 8, 2015, 12:00:00

I've been looking all over the internet for this. I'd like to know if there is any Node.js packages/bindigs/libraries that allow you to make an application that draws on the screen without node-webkit(NW.js)/Electron or other implementations based on browsers. Maybe something that binds to opengl with support for 2D graphics?



Let me know if you know some names or links. If not I might have to write something myself.



Thank you guys.


More From » node.js

 Answers
33

There is an experimental project : https://github.com/creationix/node-sdl



This basically provides bindings to the SDL library:




Simple DirectMedia Layer is a cross-platform development library
designed to provide low level access to audio, keyboard, mouse,
joystick, and graphics hardware via OpenGL and Direct3D.




If you can get it compiled, you can try the example scripts in nodejs.


[#64471] Wednesday, November 4, 2015, 9 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
eastonb

Total Points: 498
Total Questions: 91
Total Answers: 102

Location: Tanzania
Member since Wed, Feb 24, 2021
3 Years ago
;