uberyoji / UnityGears

Recreated for fun the famous glxgears in Unity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UnityGears

Recreated for fun the famous glxgears in Unity

When accessing the gears thru webgl, parameters are read from url.

There are 3 possible scenes: UnityGear, UnityGears2, Viewer

If scene is set to "Viewer", the following parameters can be set to test out gear configurations:

Param Type
TeethCount int
InnerRadius float
InnerToothDepth float
OuterRadius float
OuterToothDepth float
Width float

Ex: http://uberyoji.github.io/UnityGears?scene=viewer&width=1&TeethCount=100&InnertoothDepth=0.02&outertoothdepth=0.05&innerradius=0.75

About

Recreated for fun the famous glxgears in Unity

License:GNU General Public License v3.0


Languages

Language:C# 91.9%Language:CSS 5.8%Language:HTML 2.3%