Skip to content

Examples showing how to use a Bluetooth controller with HTML5 applications

License

Notifications You must be signed in to change notification settings

andypotato/ble-html-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BLE HTML Demo

A collection of examples which show how to use a Bluetooth controller with HTML5 applications. You need both the Bluetooth controller and Bluetooth receiver to control these examples.

This project is part of a tutorial on using Bluetooth Controllers with HTML5 / JavaScript applications.

Usage

  • Download or clone this repository
  • Install dependencies with npm i
  • Edit public/config.js and set the WebSocket URL to your Bluetooth receiver
  • Run the server with npm run start

You can now view the examples in your browser by opening http://localhost:8080.

Credits

Car rotation example based on three.js "material / cars" and "controls / orbit" demos published under MIT license.

Ferrari 458 Italia model created by vincent091036 and published under CC license.

About

Examples showing how to use a Bluetooth controller with HTML5 applications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published