Demo.mov
A Unity project for visualizing mathematical functions and surfaces in real time.
- Smooth Transitions: Morph between functions with animated transitions.
- Shader Effects: Points use a custom surface shader for vibrant coloring.
- Frame Rate Counter: Monitor performance with an in-game FPS/MS display.
-
Clone the repository:
git clone https://github.com/zea17/Dancing-Graph.git
-
Open in Unity: Open the project folder in Unity (tested with Unity 2021+).
-
Play the Scene: Open the main scene and press Play to see the graph in action.
- Change Function:
Select the
GraphGameObject and choose a function from the Inspector. - Adjust Resolution: Use the Resolution slider to increase or decrease point density.
- Modify Shader:
Edit
Point Surface.shaderfor different visual effects. - Performance: Use the Frame Rate Counter to monitor and optimize performance.
Assets/
Scipts/ # C# scripts for graph logic and utilities
Point/ # Point prefab and custom shader