An open API service indexing awesome lists of open source software.

https://github.com/realpython/pyscript-gravity-sensor

A demo project showing how to access the Sensor API in PyScript
https://github.com/realpython/pyscript-gravity-sensor

Last synced: 4 months ago
JSON representation

A demo project showing how to access the Sensor API in PyScript

Awesome Lists containing this project

README

          

# PyScript Gravity Sensor

This is a demo project showing how to access the [Sensor API](https://developer.mozilla.org/en-US/docs/Web/API/Sensor_APIs) in [PyScript](https://pyscript.net/), which supplements the [accompanying tutorial](https://realpython.com/pyscript-python-in-browser/) on Real Python.

## How To Use

To use this project, open the following URL in a web browser on a mobile device such as a smartphone: