Skip to content

add2point71dots/GraphTheoryVR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Virtual Reality Graph Maker

Capstone Project for Ada Developers Academy

What is it?

A virtual reality tool for making and manipulating graph theory type graphs (nodes and connections between them). You can create nodes, connect them, move them, destroy them, and color them.

Why?

Graphs can sometimes be difficult to conceptualize in two dimensions. For example, the complete graph K5 cannot be drawn on paper without overlapping edges, but in virtual reality, it can. Also, it's fun to play with shapes in VR!

How can I use this?

You'll need a few things:

If you just want to run the program:

  • From the releases tab, download the GraphMaker.zip folder and unzip it.
  • Make sure you have Steam and SteamVR running.
  • Open the GraphMaker.exe file.
  • Start graphing!

If you want to clone the repo and work with the code, in addition you'll need:

  • Unity (free version works great!)

You can then run Steam and SteamVR and open up the project in Unity. Hit play to start making graphs, or explore the project in the Unity editor.

How do I graph things?

  • Instructions are displayed by default. You can toggle them off and on by pressing the menu button on your right controller.
  • The menu button on the left controller toggles a mode menu.
  • Switch modes by selecting one with your right laser pointer and hitting the trigger button.

Graph Mode:

  • Right controller trigger creates new nodes.
  • Hold the right controller pad button and drag between nodes to make edges.
  • Move a node by holding the right controller grab button on the node.

Destroy Mode:

  • Right controller trigger destroys whichever node or edge you're pointing at.

Color Mode:

  • Select colors (displayed on left controller) via the right controller trigger.
  • Color a node by pointing at it and hitting trigger on the right controller.

Ada Capstone Requirements