Skip to content

A 2-dimensional surface grapher. Graphs 2-dimensional surfaces embedded in 3-dimensional space, including visualizations of Gaussian and mean curvature

Notifications You must be signed in to change notification settings

walley892/shapes

Repository files navigation

2d Function Grapher

This application allows the user to graph time-varying patches in ℝ3, as well as visualize the gaussian curvature and mean curvature on every point of the patch over time, in real-time.

A "time-varying patch in ℝ3" is a function IxU->ℝ3, where I⊂ ℝ and U⊂ℝ2.

Features

  • Dynamic generation of CUDA kernels for fast computation
  • Real-time (over 150 fps) rendering of dymanic patches
  • Real-time (over 150 fps) computation of gaussian and mean curvature
  • Rendering of user-defined functions over user-defined domains

Installation

  1. Install my python game engine
  2. Install CUDA on your system
git clone https://github.com/walley892/shapes
cd shapes
// possibly inside of a virtual environment if that's your thing
pip3 install -r requrements.txt
python3 shapes-application.py

Built on

About

A 2-dimensional surface grapher. Graphs 2-dimensional surfaces embedded in 3-dimensional space, including visualizations of Gaussian and mean curvature

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages