Start reverse-engineering Ganja.js rendering

Vectornaut 2024-07-21 00:34:12 +00:00
parent 5b90152773
commit afa00c0633

7
Rendering.md Normal file

@ -0,0 +1,7 @@
## How Ganja.js does it
*As of commit [6e97cb4](https://github.com/enkimute/ganja.js/commit/6e97cb45d780cd7c661d9240f1610eb005707417)*
* Rendering seems to start in earnest in [`graphGL`](https://github.com/enkimute/ganja.js/blob/6e97cb45d780cd7c661d9240f1610eb005707417/ganja.js#L1184).
* There are a bunch of basic [shaders](https://github.com/enkimute/ganja.js/blob/6e97cb45d780cd7c661d9240f1610eb005707417/ganja.js#L1252-L1319).
* The code that renders [conformal geometric algebra](https://github.com/enkimute/ganja.js/blob/6e97cb45d780cd7c661d9240f1610eb005707417/ganja.js#L1433-L1575) elements is marked with a comment.