Download or clone this repository:
git clone https://github.com/ITPNYU/p5-ble-examples.git
Change directory into the new folder and start a server. An easy way to start a server is with python.
If you are have python 2:
cd p5-ble-examples python -m SimpleHTTPServer
If you are have python 3:
cd p5-ble-examples python -m http.server
localhost:8000 and click through each example
If you don't know how to start a server, check this guide.