Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
51 changes: 51 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Site checks
on:
push:
pull_request:
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: npm
- run: npm ci
- run: npm run format:check
- run: npm test
- run: npm run build
- run: npx playwright install --with-deps chromium
- run: npm run test:browser
- uses: actions/configure-pages@v5
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
- uses: actions/upload-pages-artifact@v3
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
with:
path: dist
- uses: actions/upload-artifact@v4
if: failure()
with:
name: browser-test-results
path: |
playwright-report/
test-results/
deploy:
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
needs: verify
runs-on: ubuntu-latest
concurrency:
group: pages
cancel-in-progress: false
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy verified site
id: deployment
uses: actions/deploy-pages@v4
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
node_modules/
dist/
test-results/
playwright-report/

.env
.env.*
Expand Down
5 changes: 5 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules/
dist/
playwright-report/
test-results/
package-lock.json
5 changes: 5 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"singleQuote": true,
"printWidth": 100,
"trailingComma": "all"
}
1 change: 0 additions & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

32 changes: 29 additions & 3 deletions NOTICE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,33 @@
# Asset and research notice

The MIT License in this repository applies to the original source code authored for the thesis project.
The MIT License applies to original source code authored for this project. It does not relicense third-party materials.

Third-party photographs, illustrations, videos, fonts, trademarks, JavaScript libraries and machine-learning model files remain subject to the copyright and license terms of their respective owners. Their inclusion in this academic archive does not grant permission for reuse beyond those terms.
## Retained educational media

The evaluation results summarized in the README come from the thesis's formative study of 13 participants and should be interpreted in that context.
- `assets/exhibit/Babbage_Difference_Engine-p-500.jpg` and `assets/exhibit/markweiser4-p-500.jpeg` were carried over from the original 2023 educational prototype. They remain subject to their original owners' terms. Precise upstream license attribution was not established by this refresh; do not assume the repository's MIT license permits independent reuse.
- `assets/case-study/` contains screenshots of the historical prototype. Third-party material visible in those screenshots retains its respective rights.
- `assets/exhibit/favicon.svg` is original source artwork for the refreshed site.

Unused legacy media and model files were removed from the current tree; the original material remains available in Git history at `e4c3e53`.

## Computer vision

The build includes the lockfile-pinned `@mediapipe/tasks-vision` npm package, published by Google under Apache-2.0. The license is included in [assets/licenses/mediapipe-APACHE-2.0.txt](assets/licenses/mediapipe-APACHE-2.0.txt). See the [upstream repository](https://github.com/google-ai-edge/mediapipe).

The application downloads the following versioned models only when a visitor starts a camera experiment:

- `face_landmarker/face_landmarker/float16/1/face_landmarker.task`
- `hand_landmarker/hand_landmarker/float16/1/hand_landmarker.task`
- `pose_landmarker/pose_landmarker_lite/float16/1/pose_landmarker_lite.task`

These are served from `https://storage.googleapis.com/mediapipe-models/`. Model documentation and applicable terms are provided by Google:

- [Face landmark detection](https://ai.google.dev/edge/mediapipe/solutions/vision/face_landmarker)
- [Hand landmark detection](https://ai.google.dev/edge/mediapipe/solutions/vision/hand_landmarker)
- [Pose landmark detection](https://ai.google.dev/edge/mediapipe/solutions/vision/pose_landmarker)

The educational UI explains model limitations. The demos do not identify people or estimate age, gender or emotion.

## Research context

The evaluation results summarized in the README refer to the original thesis's formative study of 13 participants. They have not been re-measured for the 2026 implementation. The thesis and the original source are the record of the historical prototype.
150 changes: 79 additions & 71 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,110 +1,118 @@
# Ubiquitous Computing Museum Experience

**Bachelor's thesis · NKUA Department of Informatics and Telecommunications · 2023**
[![Site checks](https://github.com/NikosMav/ubiquitous-computing.github.io/actions/workflows/checks.yml/badge.svg)](https://github.com/NikosMav/ubiquitous-computing.github.io/actions/workflows/checks.yml)

An interactive, desktop-first learning experience exploring the history of computing and the three waves of ubiquitous computing. The project was designed as a digital exhibit concept that could complement the forthcoming [Museum of Informatics and Telecommunications](https://museum.di.uoa.gr/) at the National and Kapodistrian University of Athens (NKUA).
**An interactive Greek learning exhibit, based on my 2023 bachelor's thesis at NKUA. Refreshed in 2026.**

[Explore the live experience](https://nikosmav.github.io/ubiquitous-computing.github.io/) · [Read the thesis](https://pergamos.lib.uoa.gr/uoa/dl/object/3362706/file.pdf)
Explore how computing moved from shared machines to personal devices and into everyday environments. The site combines a readable educational narrative, optional quizzes and three computer-vision experiments that process camera frames on the visitor's device.

[![Ubiquitous Computing experience](assets/case-study/museum-experience-hero.jpg)](https://nikosmav.github.io/ubiquitous-computing.github.io/)
[Explore the exhibit](https://nikosmav.github.io/ubiquitous-computing.github.io/) · [Open the laboratory](https://nikosmav.github.io/ubiquitous-computing.github.io/#experiments) · [Read the thesis (PDF)](https://pergamos.lib.uoa.gr/uoa/dl/object/3362706/file.pdf)

## The challenge
## Why this project exists

Ubiquitous computing is broad, technical and often invisible by design. The thesis explored how a museum-oriented digital experience could make the subject approachable to visitors with different levels of technical knowledge, while connecting the history of computing with present and future applications.
Ubiquitous computing is broad and often invisible by design. My thesis explored how a museum-oriented digital experience could make it approachable to visitors with different levels of technical knowledge. The work covered research, interaction design, development and formative evaluation over approximately twelve months.

The work covered the research, interaction design, development and formative evaluation of the experience over approximately twelve months.
The project was proposed and supervised by Associate Professor Maria Roussou at the NKUA Department of Informatics and Telecommunications. It was designed for potential adoption as a digital extension of the planned [Museum of Informatics and Telecommunications](https://museum.di.uoa.gr/). It is an academic exhibit concept, not a confirmed museum installation.

## The experience
## Try it

### Gamified, score-customized learning
- **Read freely:** thirteen chapters cover computing history, design principles, the thesis's three-wave structure, eight enabling technologies, connected environments and a future scenario. Reading and chapter navigation work without JavaScript.
- **Choose a starting point:** an optional eight-question diagnostic suggests history, principles or applications. The result never hides content. This is deterministic score-based guidance, not a learning recommender.
- **Experiment:** inspect face landmarks, track hands or estimate body pose. Models load only after pressing Start. Stop, cancellation, permission errors, disconnected cameras and background tabs are handled explicitly.
- **Check your understanding:** a seven-question knowledge quiz gives immediate feedback. Download a plain-text result and answer review locally; no email, account or backend is required.

The experience begins with a randomized diagnostic quiz. Immediate feedback and a final score place each visitor into one of three paths:
The educational experience is in Greek. The homepage includes an English overview, and this README describes the engineering and research context in English.

- **Beginner:** starts with the broader history of computing before entering ubiquitous computing
- **Intermediate:** receives a shorter introduction and the core learning journey
- **Advanced:** moves directly into the more specialized material
## What changed in 2026

This is deterministic, score-based content customization rather than a continuously learning recommendation system.
| Original prototype | Current implementation |
| -------------------------------------------------------------- | ---------------------------------------------------------------------------- |
| Desktop Webflow export; mobile maintenance screen | Responsive semantic HTML and one shared stylesheet |
| Mandatory quiz before content appeared | Direct chapter access and an optional suggested route |
| Webflow, jQuery, animation and chart runtimes on the main page | No JavaScript or external runtime requests on the landing and reading pages |
| Three independent webcam implementations | One shared camera controller and MediaPipe Tasks Vision runtime |
| Unbounded/overlapping inference loops | Worker inference, one frame in flight, capped at 15 fps |
| Pose joints filtered before applying connection indices | Original landmark indices retained when testing visibility |
| Age, gender and expression guesses | Face geometry only; no identity or demographic inference |
| Fixed poll percentages and unfinished EmailJS souvenir | Misleading poll removed; local quiz-result download |
| Committed unused media, fonts and model shards | Only referenced illustrations and historical screenshots retained |
| No automated verification | Unit, link, accessibility and browser journey checks before Pages deployment |

![Adaptive introductory technology quiz](assets/case-study/adaptive-intro-quiz.jpg)
The narrative has been reformatted and selected misleading historical claims corrected. The original theatrical animations, embedded videos and 3D scenes are not reproduced. This edition prioritizes a usable reading experience and functioning experiments. The future scenario remains clearly labeled as a 2023 hypothetical, not a present-day capability claim.

### Scrollytelling and wayfinding
The [pre-refresh repository](https://github.com/NikosMav/ubiquitous-computing.github.io/tree/e4c3e53) preserves the original source, media and prototype. Git history was not rewritten.

A long-form narrative connects computing history with the three waves of ubiquitous computing. A reading-progress indicator, dynamic breadcrumb navigation and GSAP-powered sequences help visitors remain oriented. The final section uses a persona scenario to depict a day in a future environment where computing is embedded into everyday life.
## Architecture

### Interactive learning
```text
Static HTML + shared CSS
├── Landing page and reading chapters: no JS required
├── Quizzes: JSON question banks + small browser module
└── Vision lab: camera controller
└── one ImageBitmap at a time → Web Worker
└── pinned MediaPipe runtime + versioned model
└── normalized landmarks → canvas overlay
```

No application server, framework, database, tracking or persistent storage. The build script copies the site and the locked vision runtime into `dist/`; it does not bundle the site into an application framework. Relative URLs support GitHub Pages project hosting.

- Introductory and final knowledge quizzes with immediate feedback
- Poll-style interactions visualized with Chart.js
- Multimedia storytelling using video, animation and interactive scenes
- A final knowledge check with an optional souvenir-email concept
### Camera lifecycle and privacy

### Browser-based computer vision
- Requests video only after an explicit button press; never requests microphone access.
- Downloads the selected model from Google's `mediapipe-models` storage. Model paths use version `1`, not `latest`.
- Uses a locally served, lockfile-pinned `@mediapipe/tasks-vision` runtime. Inference runs in a worker with the CPU delegate, keeping the interface responsive.
- Keeps at most one frame in flight. Skips duplicate video frames and caps submission at 15 fps; this is a ceiling, not a performance guarantee.
- Stops all media tracks and terminates the worker on Stop, navigation, hidden tab, model failure or timeout. A stream arriving after cancellation is immediately stopped.
- Does not record or upload frames. Asset requests still disclose ordinary connection metadata to the hosting providers.

Three webcam experiments turn computer-vision concepts into direct interactions:
Face and hand experiments show landmarks; the pose experiment uses the lite model and draws connections only between sufficiently visible points. None of the demos authenticates people or provides medical, biometric identity or emotion assessment.

- **Face analysis:** facial landmarks plus estimates of age, expression and gender using face-api.js
- **Hand tracking:** real-time hand and gesture detection using Handtrack.js
- **Pose estimation:** 17-point body tracking using PoseNet and TensorFlow.js
## Run locally

The camera stream is processed in the browser by the prototype; the application code does not upload captured images.
Use Node.js 22 or newer:

## Formative evaluation
```bash
npm ci
npm run build
npm start
```

The prototype was evaluated with **13 participants** through a structured questionnaire covering usability, content and perceived educational value. Two participants with different technical backgrounds were also observed using the experience in person.
Open `http://localhost:8000`. Rebuild after editing source files. `dist/`, installed packages and test output are ignored by Git. Serving the source folder directly will not provide the built vision runtime.

Reported outcomes:
## Verification

- **84.6%** said they felt more knowledgeable about ubiquitous computing after the experience
- **77%** were likely or very likely to recommend it
- Approximately **85%** rated their overall experience positively or very positively

These results are directional evidence from a small formative study, not a large-scale usability benchmark.

## Experience architecture

```mermaid
flowchart LR
Visitor["Museum visitor"] --> Quiz["Diagnostic quiz"]
Quiz --> Beginner["Beginner path"]
Quiz --> Intermediate["Intermediate path"]
Quiz --> Advanced["Advanced path"]
Beginner --> Story["Scrollytelling journey"]
Intermediate --> Story
Advanced --> Story
Story --> Interactions["Quizzes, polls and scenarios"]
Interactions --> Vision["In-browser computer vision demos"]
Vision --> Review["Final knowledge check"]
```bash
npm test
npm run format:check
npm run build
npx playwright install chromium
npm run test:browser
```

## Technology
The checks cover question-bank integrity, score thresholds, non-mutating sampling, landmark-index preservation, track cleanup, local assets/fragment links, all seven pages at desktop and phone sizes, WCAG A/AA checks through axe, reading without JavaScript, quiz completion/download/retry and camera denial/cancellation.

- Webflow, HTML, CSS and custom JavaScript
- TensorFlow.js, PoseNet, face-api.js and Handtrack.js
- GSAP ScrollTrigger and Splide
- Chart.js
- GitHub Pages
Browser tests load the real face, hand and pose models and run inference on generated blank video frames, then verify that Stop ends the stream. This validates model integration and lifecycle behavior, **not landmark accuracy on people**. Physical-camera quality across lighting, devices and browsers still needs human testing. Chrome-based desktop and mobile emulation are automated; Safari and Firefox are not certified by this suite.

## Scope and status
GitHub Actions builds and tests every push and pull request. A successful run on `main` publishes only `dist/` to GitHub Pages. Failed tests block deployment. No generated output is committed.

This repository preserves the completed October 2023 academic prototype and its public GitHub Pages deployment. The thesis prioritized a desktop museum setting. A dedicated mobile experience, deeper coverage of the second and third waves, richer personalized learning paths and additional gamification were identified as future extensions.
## Original formative evaluation

The project was proposed and supervised by Associate Professor Maria Roussou and developed for potential adoption as a digital extension of the planned NKUA Museum of Informatics and Telecommunications. It is preserved here as an academic prototype; no claim of a formal museum deployment is made.
The **2023 prototype**, not this refreshed edition, was evaluated with **13 participants** through a structured questionnaire. Two participants with different technical backgrounds were also observed in person.

## Run locally
Reported outcomes:

The experience is a static website. Run it through a local HTTP server so that JSON, model and camera-dependent features can load correctly.
- **84.6%** said they felt more knowledgeable about ubiquitous computing.
- **77%** were likely or very likely to recommend the experience.
- Approximately **85%** rated their overall experience positively or very positively.

```bash
git clone https://github.com/NikosMav/ubiquitous-computing.github.io.git
cd ubiquitous-computing.github.io
python -m http.server 8000
```
These are reported perceptions from a small formative study, not a large-scale usability benchmark, measured learning gains or evidence about the 2026 interface.

![The original 2023 desktop prototype](assets/case-study/museum-experience-hero.jpg)

Then open `http://localhost:8000`.
_The original Webflow prototype. The current live site uses the responsive presentation described above._

## Academic reference
## Academic reference and reuse

Nikolaos Mavrapidis, *Design and Development of a Web Application for Ubiquitous Computing*, Bachelor's thesis, Department of Informatics and Telecommunications, National and Kapodistrian University of Athens, October 2023.
Nikolaos Mavrapidis, _Design and Development of a Web Application for Ubiquitous Computing_, Bachelor's thesis, Department of Informatics and Telecommunications, National and Kapodistrian University of Athens, October 2023.

The original code is available under the [MIT License](LICENSE.md). Third-party media, fonts, libraries and model files remain subject to their respective terms; see [NOTICE.md](NOTICE.md).
Original source code is available under the [MIT License](LICENSE.md). Illustrations, historical screenshots and model/runtime dependencies retain their respective terms. See [NOTICE.md](NOTICE.md) for provenance and reuse boundaries.
Loading
Loading