Skip to content

Commit

Permalink
Update motion controller video
Browse files Browse the repository at this point in the history
  • Loading branch information
parksb committed Nov 19, 2023
1 parent 4c55957 commit 906b86e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Zap is an application programming library for building multi-device application

The data sources available on mobile devices are valuable, but are often device-dependent, limiting their widespread use. Imagine if PCs could use the series of data from the accelerometer sensor on a mobile device. A simple example is using smartphone as motion controller for PC.

<video src="https://user-images.githubusercontent.com/6410412/283820914-3d29fa2c-ce84-4be2-9536-0dc32316f9fa.mp4" muted controls></viedo>
<video src="https://user-images.githubusercontent.com/6410412/284037070-ea358e2b-b424-4ad8-bec8-a17957ce8c7e.mp4" muted controls></viedo>

In the video above, a smartphone served as a motion controller for the driving game '[slow roads](https://slowroads.io/)' running on laptop. The smartphone's accelerometer sensor transmitted the measured values to the laptop via Zap client, where the laptop received these values through Zap server. Subsequently, the server triggers a specific keys(in this case, 'A' and 'D' keys) based on the values and their corresponding thresholds.

Expand Down
2 changes: 1 addition & 1 deletion src/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Zap is an application programming library for building multi-device application

The data sources available on mobile devices are valuable, but are often device-dependent, limiting their widespread use. Imagine if PCs could use the series of data from the accelerometer sensor on a mobile device. A simple example is using smartphone as motion controller for PC.

<video src="https://user-images.githubusercontent.com/6410412/283820914-3d29fa2c-ce84-4be2-9536-0dc32316f9fa.mp4" muted controls></viedo>
<video src="https://user-images.githubusercontent.com/6410412/284037070-ea358e2b-b424-4ad8-bec8-a17957ce8c7e.mp4" muted controls></viedo>

In the video above, a smartphone served as a motion controller for the driving game '[slow roads](https://slowroads.io/)' running on laptop. The smartphone's accelerometer sensor transmitted the measured values to the laptop via Zap client, where the laptop received these values through Zap server. Subsequently, the server triggers a specific keys(in this case, 'A' and 'D' keys) based on the values and their corresponding thresholds.

Expand Down

0 comments on commit 906b86e

Please sign in to comment.