Skip to content

debbieyuen/spatialui

Repository files navigation

Squiggly 🎨

Introducing Squiggly! Squiggly is a visionOS 2 application that explores drawing with physical utensils (crayons, pens, markers, and brushes) in immersive spaces. It is developed with RealityKit and SwiftUI in addition to the machine learning frameworks: BERT-SQuD, MNIST, and Apple's Vision Framework. This research prototype explores spatial user interfaces (UI) and graphics for 3D environments.

The physical objects, including crayon boxes (new box, broken box, condensed box), the individual crayon colors (yellow, blue, purple, orange, red, green, and pink), a stuffed Pokémon plushie, another 3D objects are trained on 3D models and collections of images before importing to CreateML. Screenshot 2025-07-19 at 6 34 54 PM Screenshot 2025-07-19 at 6 30 22 PM IMG_0041 IMG_0091 IMG_0075

Requirements

Set Up

This application can only be run on an Apple Vision Pro with visionOS 2.0 and higher. Created with an Apple Developer account (no enterprise APIs).

Install XCode beta (Version 26.0 beta 2) and visionOS beta. You will need to be running macOS Sonoma (version 14.0 or later). Screenshot 2025-07-06 at 5 02 26 PM

Install GitLFS

git install lfs

Fork the repository and then clone the forked repository

$ git clone https://github.com/debbieyuen/spatialui.git

Update submodule folders to retrieve ML and Reality Composer files

git pull --recurse-submodules
git submodule update --init --recursive

Pull all LFS objects

git lfs pull
git submodule foreach 'git lfs pull'

Retrieve your Access Token for your app from this page. In your terminal, add your token to your environment variables.

$ export VISION_TOKEN='xoxb-XXXXXXXXXXXX-xxxxxxxxxxxx-XXXXXXXXXXXXXXXXXXXXXXXX'

Credits and References

This lab course will be presented at SIGGRAPH in Vancouver in August 2025. Special thank you to the teams at Apple and NVIDIA for helping us make this all possible.

About

Squiggly visionOS: ACM SIGGRAPH Spatial UI Demo Project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages