webgl2-fundamentals
webgl2-fundamentals copied to clipboard
Is there any way to get start using state-diagram with building?
I try to use state-diagram mode to visual something,but I build failed at npm install. My node is v8.12.0
The state-diagram is just a demo. It is not designed to be used with your own code. Sorry.
You could try to hack yourself. The problem is there is no way to debug JavaScript from JavaScript. In other words there is no way to pause after each line in JavaScript
I suppose you could try to turn it into a debugging extension
Also, it doesn't show all state, specially for WebGL2. For example it doesn't show uniform buffer objects, queries, sync objects, and I'm sure a few more. It doesn't show all the different texture formats either.
The state-diagram is just a demo. It is not designed to be used with your own code. Sorry.
You could try to hack yourself. The problem is there is no way to debug JavaScript from JavaScript. In other words there is no way to pause after each line in JavaScript
I suppose you could try to turn it into a debugging extension
Also, it doesn't show all state, specially for WebGL2. For example it doesn't show uniform buffer objects, queries, sync objects, and I'm sure a few more. It doesn't show all the different texture formats either.
I have a idea to realize this kind of debug. All we need to do is to simulate a simple WebGL2 environment. Actually I do does some try on CPP.
JavaScript also have concept of class, I think is possible to do it.