Examples for the shine
library.
You need ghcjs
A great way of building ghcjs packages is to use the reflex platform
A lot of different shapes, some of them changing color, size and other properties with time.
Note: it will not work without manually copying image.png
next to the index.html
file.
See the "handling assets" section in the shine README for more info.
An extremely simple user interaction: a black square appears on left mouse down and disappears on mouse up.
This is a human-controlled version of the Mountain car problem (a standard testing domain in Reinforcement learning). Use the left/right keys to control the car.
This is a simplified version of the Space Invaders video game. Use the left/right keys to move the laser cannon and the space key to fire (or to restart the game).