All activities
active2025 – present· Engineer & Mentor

Hair Cutting Robot (HCR)

A simulator and digital twin for a remote collaborative haircutting robot platform. The web simulator is a fully client-side 3D programming workbench: Blockly programs of absolute servo-angle commands drive a procedural five-joint arm whose end effector removes hair voxels on contact, while deterministic geometric constraints stop the mechanism before it can enter the head. Results are scored on target-hairstyle completion, program efficiency, and estimated execution time. An optional Rust backend turns the same UI into a competitive round with server-side replay and server-judged deadlines.

Highlights

  • React + TypeScript + Vite workbench with React Three Fiber / Three.js rendering and a Blockly programming surface
  • Procedural baseYaw → shoulderRoll → shoulder → elbow → wrist rotation chain with swept-contact hair voxel removal against an impenetrable head
  • Deterministic collision response that halts at the last safe pose, identifies the source block, and enters a recoverable error state
  • Run, Pause, Resume, Step, Stop, and Reset with current-block highlighting, plus a headless Test path that scores a program in milliseconds
  • Solo Practice and Versus Round modes; versus rounds are replayed and timed by the Rust hcr-backend, and the app still runs offline with no network dependency when none is configured
  • Scoring on voxel IoU, program efficiency, estimated execution time, and a weighted final score
  • Mentored and coordinated 10 student teams on system design, implementation, and technical writing

Tags

RustRoboticsDigital TwinThree.jsBlocklySimulation

Repository: https://hcr.rs