Skip to content

Fernandohf/NURBS-UI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NURBS UI

A simple UI for understanding Non-Uniform Rational B-Splines (NURBS) written in Python.

User Interface

The user interface is divided in two parts.

NURBS Definition

The following properties of the curve can be altered:

  • Control Points
  • Weights
  • Degree
  • Number os segments interpolated(for visual smoothness)
  • Curve domain (2D o 3D)

Examples

A sequence os examples showing the incredible versatility that can be achieved using NURBS.

Requirements

Just execute the command pip install -r requirements.txt

  • Numpy>=1.1
  • Matplotlib>=3.0

How to Run

Just execute the main.py script.

Gallery

Screenshots of the program.

2D example 3D example

Releases

No releases published

Packages

No packages published

Languages