Giter VIP home page Giter VIP logo

vulpinii / bezier_curve_editor Goto Github PK

View Code? Open in Web Editor NEW
11.0 1.0 1.0 7.82 MB

This program is a curve editor. It is based on Bézier curves calculated with the method of Bernstein polynomials or the recursive method of Casteljau. You can load 5 different examples and change the position of the control points or create your own curve.

License: GNU General Public License v3.0

CMake 3.53% GLSL 2.32% C++ 93.96% Shell 0.20%
bezier opengl casteljau-algorithm bernstein-polynomial cmake bezier-curves computer-graphics

bezier_curve_editor's Introduction

Bezier Curve Editor

This program is a curve editor. It is based on Bézier curves calculated with the method of Bernstein polynomials or the recursive method of Casteljau. You can load 5 different examples and change the position of the control points or create your own curve.

Features

  • load different examples (as heart, moon, wave)
  • set curve's precision (i.e. number of vertices)
  • set the step of curve's construction
  • hide control points
  • show intermediate steps lines
  • see and change directly vertices coordinates

Building

On Linux

Prerequisite: CMake

To build this program, download the source code using git clone https://github.com/Vulpinii/bezier_curve_editor or directly the zip archive. Then run the launch.sh shell script.

You can do it manually by following these commands:

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j
./program

On Windows

[instructions coming soon]

Gallery

YouTube Video

Bezier Curve Editor

Preview

Animated gif

bezier_curve_editor's People

Contributors

vulpinii avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

vb6hobbyst7

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.