• Stars
    star
    107
  • Rank 323,587 (Top 7 %)
  • Language
    OCaml
  • Created over 7 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Reason bindings to WebGL and OpenGL.

ReasonGL

GL library for web and native.

If you'd like a higher level API than GL, check out Reprocessing.

Install

This library is designed to be used with bsb-native.

Install it using: npm install bsansouci/reasongl

Documentation

All of the method names are taken directly from opengl, and their docs should apply.

Example projects

If you want to get started quickly, check out this simple branch of ReasonglExampleProject. It's a great starting point to any project using ReasonGL directly. The master branch is a much bigger and complete example.

ReWitness is another big example project using those bindings.

How it works

ReasonGL works by exposing a common interface between WebGL and OpenGL and then choosing a backend to use as the implementation of the interface at compile time.

Related libraries

If you want super thin direct bindings to OpenGL use tgls.

If you want direct bindings to SDL use tsdl.

More Repositories

1

bsb-native

Build system for OCaml/Reason
OCaml
245
star
2

reprocessing-example

JavaScript
79
star
3

rewitness

OCaml
63
star
4

fuzzbeed

28 Painful Truths Only Disney Princesses Will Understand
CSS
45
star
5

marc-zuckerbot

Fun bot for Facebook chat
JavaScript
42
star
6

ludum-dare-41

OCaml
28
star
7

fruit-ninja

ReasonDojo 3
Reason
27
star
8

ludum-dare-40

OCaml
22
star
9

tic-tac-toe

ReasonDojo 2 starter project
OCaml
20
star
10

dojo-europe

Starter project for our Europe-wide (+ more) Dojo
JavaScript
16
star
11

reasongl-web

Web backend for ReasonGL
Reason
15
star
12

tapknight

Just Another Game in Reason
JavaScript
14
star
13

bsb-native-example

C++
11
star
14

reasonglexampleproject

OCaml
11
star
15

font-generator

Generate font files for Reprocessing from TTF/OTF
OCaml
11
star
16

reason-uikit

Little demo
OCaml
9
star
17

opam_of_packagejson

This is definitely what you think it is
OCaml
8
star
18

lisp-bot

Mark Thuckerbot
JavaScript
7
star
19

ReWebRTC

Reason bindings to WebRTC
OCaml
7
star
20

repixi

Reason bindings to Pixi.js
Rust
6
star
21

reasongl-native

Native OpenGL backend for ReasonGL
C
6
star
22

esy-bsb-example

Esy and bsb-native example
OCaml
5
star
23

resnake

Rust
5
star
24

iwantmyiphone6

Script that will do regular get requests to check if your iPhone is available at the retailer of your choice
JavaScript
4
star
25

fft.re

FFT algorithm in Reason
OCaml
4
star
26

jengaroot

Set of build rules for jenga
OCaml
3
star
27

reasongl-interface

Reason GL interface file.
Rust
3
star
28

react-gesture

A gesture component
JavaScript
2
star
29

timeseries-databases

Research project
Rust
2
star
30

reasongl-ios

OCaml
2
star
31

reprocessing-ui

Simple UI elements for in-game menus and ... stuff
OCaml
2
star
32

clipdrop-api

JavaScript
1
star
33

upgrader

OCaml
1
star
34

A-star

Path finding algorithm
C++
1
star
35

om-state-stream

Port of react-state-stream to Om
Clojure
1
star
36

quantum

Shell
1
star
37

esy-bsb-example-library

OCaml
1
star
38

golfscript-js

GolfScript interpreter in JS
JavaScript
1
star
39

followup-messenger

JavaScript
1
star