open-index/open-npm huggingface dataset:
npm package: @jaredly/reasongl-android
Description: Reason bindings to OpenGL for Android native
Author: bsansouci & schmavery & jaredly
Latest version: 1.1.2-touch


# Getting started

- use opam because ocaml isn't relocatable :( :( :(
- follow instructions on here https://github.com/ocaml-cross/opam-cross-android

# Building

- run `make install` (assuming you have an emulator running or your phone plugged in)
npm package: @jaredly/reasongl-interface
Description: Reason interface to GL.
Author: bsansouci & schmavery & jaredly
Latest version: 1.0.1-touch2

ReasonglInterface
===

Interface over OpenGL and WebGL. This alone isn't very useful, it can be used to write your own implementation for a new target that we're not currently supporting. If you implement all of the function in here, any program written on top of ReasonGL will auto-magically work on that new target. 

See [reasongl](https://github.com/bsansouci/reasongl) for details on how to use this as a library.
npm package: @jaredly/reasongl-native
Description: Reason bindings to OpenGL
Author: bsansouci & schmavery
Latest version: 1.0.3-touch5

ReasonglNative
===

Slightly high level OCaml/Reason bindings to OpenGL.

This repository follows the interface described in [ReasonglInterface](https://github.com/bsansouci/reasongl-interface) which is an abstraction designed on top of OpenGL 2.1 and WebGL. This package also depends on SDL to create a window and handle events.

The best way to use this is to use [bsb-native](https://github.com/bsansouci/bsb-native), add this package to your `bs-dependencies` along with `ReasonglInterface` and then simply refer to the module `Reasongl`.

If you're not using `bsb-native` you can simply wrap your code in a functor that takes `Gl : ReasonglInterface.Gl.t` and have, for example, a native entry point file containing `module NativeMain = Main (ReasonglNative);` which just passes the right implementation manually.

If you want super thin direct bindings to OpenGL use [tgls](https://github.com/bsansouci/tgls).

If you want direct bindings to SDL use [tsdl](https://github.com/bsansouci/tsdl).
npm package: @jaredly/reasongl-web
Description: Reason bindings to WebGL
Author: bsansouci & schmavery & jaredly
Latest version: 1.0.2-touch2

ReasonglWeb
===

Slightly high level OCaml/Reason bindings to WebGL.

This repository follows the interface described in [ReasonglInterface](https://github.com/bsansouci/reasongl-interface) which is an abstraction designed on top of OpenGL 2.1 and WebGL.

The best way to use this is to use [bsb](https://bucklescript.github.io/bucklescript/Manual.html#_bucklescript_build_system_code_bsb_code), add this package to your `bs-dependencies` along with `ReasonglInterface` and then simply refer to the module `Reasongl`.