Skip to content

Schackasawa/faraday

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Faraday: Circuit Simulation in Virtual Reality

Project Faraday is an experiment in virtual reality education, allowing anyone with a VR headset to explore basic circuit design and develop an intuition for the way electricity behaves in the real world. Beginners of all ages can benefit from the ability to combine any number of wires, motors, bulbs and switches to construct arbitrarily complex experiments. Unlike traditional classroom education, virtual reality allows the student to actually see electron flow and its effects on various components in an accessible and fun environment, hopefully encouraging natural exploration and hands-on learning. For a brief demonstration, click here.

Technology

This project uses the Unity game engine, Unity's XR integration framework, and SpiceSharp, a freely available open source circuit simulation library. The code has been developed and tested extensively on the Meta(Oculus) Rift headset and Touch controllers, but because it uses Unity's XR framework rather than proprietary Meta APIs, it can be easily adapted to other headsets and controllers as well.

Features

  • Unlimited supply of circuit components, including batteries, switches, bulbs, motors, and wires
  • Components snap to grid when dropped for fool-proof circuit creation
  • Audio feedback and current flow visualization whenever a valid circuit is completed
  • Short circuit detection with visual and auditory feedback, indicating the exact components involved
  • Adaptive components - motors change speed and bulbs change intensity based on level of current
  • Interactive components - bulbs change color and switches open/close when pinched
  • Label lever activates current, resistance, and voltage drop labels on active circuits
  • Reset lever sends all components back to their dispensers for easy cleanup
  • Table height can be easily adjusted by grabbing front bar for seated or standing play
  • Teleport locomotion with controller button as well as smooth locomotion and snap-turning with thumbstick
  • Relaxing mountain meadow environment makes for a serene learning experience

Author

All code outside of the SpiceSharp library was designed, written, and tested by Darren Schack, a Seattle-based full stack software engineer with a passion for technology and a particular interest in virtual reality.

About

Virtual Reality Circuit Simulation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published