domoszlai / bezier2biarc

Prototype implementation of a Bezier curve approximation algorithm with biarcs

Home Page:http://dlacko.org/blog/2016/10/19/approximating-bezier-curves-by-biarcs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bezier curve approximation algorithm with biarcs

Appveyor

Synopsis

Simple C# application to illustrate the algorithm of approximating a cubic bezier curve with biarcs. The algorithm is explained in the blog post at http://dlacko.org/blog/2016/10/19/approximating-bezier-curves-by-biarcs/.

Implementation

This is a new implementation based on dotnet MAUI as the original Windows.Form implementation put an unacceptable hard requirement on Windows. You can still find the original one on the winforms branch.

The algorithm is also be available in Haskell, incorporated into my JuicyGcode project.

Installation

  • Install community edition of Visual Studio 2022 (at least 17.4) or the latest Visual Studio for Mac
  • Install .NET 7.0 SDK
  • Check out the repository and run dotnet workload restore
  • Open BiArcTutorial.csproj and pray

About

Prototype implementation of a Bezier curve approximation algorithm with biarcs

http://dlacko.org/blog/2016/10/19/approximating-bezier-curves-by-biarcs/

License:MIT License


Languages

Language:C# 100.0%