Skip to content

A set of Python 3 scripts for visualizing sensor data. Modular and adaptable for different grid layouts, making it easy to customize visualizations for various sensor types.

Notifications You must be signed in to change notification settings

PervasiveTouch/TouchVisualisation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TouchVisualisation

A set of Python 3 scripts for visualizing sensor data. Modular and adaptable for different grid layouts, making it easy to customize visualizations for various sensor types.

datagetter.py

This Python script prints the sensor data in the terminal. The values ​​do not match the real grid, they are mirrored vertically. This script allows you to test whether the sensor is connected correctly and the data can be read.

barplot.py

Each row is represented by a bar plot, and each column corresponds to a bar. A filled bar indicates "untouched" status, while an empty bar represents "touched." This grid layout visualizes the sensor's status, with data displayed in the terminal.

heatmap.py

The sensor grid is displayed as a heatmap with colored squares. Each color represents "no touch," with brighter shades indicating higher electrical capacitance values. Black squares indicate "touch" events. The data is output in the terminal.

pygame.py

The real-time visualization displays the sensor grid as squares. Green squares indicate "no touch," while red squares represent "touch." The data is also output in the terminal.

About

A set of Python 3 scripts for visualizing sensor data. Modular and adaptable for different grid layouts, making it easy to customize visualizations for various sensor types.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages