Links to source code and demos associated with publications

Research Sourcecode

2
Publication 1

[1]. A. Yuan, M. You, D. He and X. Li, "Convex Non-Negative Matrix Factorization With Adaptive Graph for Unsupervised Feature Selection," in IEEE Transactions on Cybernetics, vol. 52, no. 6, pp. 5522-5534, 2022.

GLB 3D model viewer

[2]. Interactive GLB Model Viewer — Load GLB/GLTF 3D models in the browser and inspect them with interactive rotation, panning, and zoom controls.

Computer Vision Lectures

3

CV BlockStudio — Modular Computer Vision Platform

An intuitive, block-based modular computer vision learning platform. Build processing pipelines on the web like puzzles (e.g., image processing, face detection, object tracking) to automatically generate and execute the corresponding Python (OpenCV/MediaPipe) code.

Image and Base64 — Interactive Demo

Explore how image files can be represented as Base64 text, convert images to data URLs, decode Base64 back into images, and save a visual learning card.

Huffman Coding — Image Compression Demo

Explore how a Huffman tree is built from the character frequencies in “Hello World,” how variable-length codes are assigned, and how encoding and decoding work.

Human Interface Lectures

7

Lesson 1: Affordance and Mapping — Hands-on Experiment

Experience the concepts of affordance and mapping through an interactive light-bulb-and-switch interface. Compare bad mapping vs. good mapping and learn why intuitive control design matters. Includes an electric maze demo.

Lesson 2: Fitts's Law — Click Experiment Session

Verify Fitts's Law by clicking on-screen targets of varying sizes and distances. After the experiment, analyze and visualize the collected data to confirm whether Fitts's Law holds.

Lesson 3: Hick's Law — Choice Reaction Time Experiment

A game-style experiment where you select randomly displayed words on screen. Measures how the number of choices affects reaction time, demonstrating Hick's Law (decision time increases logarithmically with the number of options).

Lesson 4 (1/2): Image Encoder - Unfriendly UI Design (Bad UI)

An intentionally poorly designed user interface violating Fitts's Law and Hick's Law to increase cognitive load, used for UI audit exercises in lectures.

Lesson 4 (2/2): Image Encoder - Improved UI Design (Good UI)

An optimized and intuitive version of the image encoder UI, redesigned in accordance with core usability principles.

Lesson 5: Nielsen's 10 Usability Heuristics — Experience Code

An interactive notebook with paired "bad example" and "good example" code cells for each of Nielsen's 10 usability heuristics. Compare real UI implementations side by side to learn the fundamentals of usability evaluation.

Lesson 10: Data Visualization and Accessible UI Design

Learn about charts that accommodate color-vision diversity, progressive disclosure, mobile-friendly tables, and non-misleading axis settings through code examples using Python, Plotly, ipywidgets, and HTML/CSS. Experience the fundamentals of visualization and UI design for communicating data accurately and clearly.