We want someone to make use of the following compiler:
[login to view URL]
And use it to create a Javascript WebGL demo, using pascal code as source, compiled to JS using this tool.
The demo should be very simple, just a triangle on screen, that can be rotated with the arrow keys.
Recommended knowledge:
HTML, Javascript, Delphi/Pascal
The work can be described in the following steps:
- Study the P2JS tool, and learn how to use it. It seems to have a switch that allows creation of stub units.
- A openGL/webGL pascal unit should be created (contaning at least the necessary functions required for the demo).
- Generate openGL unit stub with P2JS and implement the unit itself in Javascript (mostly just binding of functions to webGL)
- Write the rotating triangle demo in pascal, and use P2JS to compile it into Javascript.