Awesome
Berny Curvature Library
Berny is a Unity project whos purpose is to provide fully in-source support for SVGs and Bezier curves.
The name is a homage to Sergei Natanovich Bernstein - Bernstein as in the Bernstein polynomials and basis functions - which is the foundation of Bezier curves.
This library has minimal functionality for loading, saving and editing Bezier paths and SVGs, but is in current development.
The library is not fully featured, use at your own risk.
Intall
To install, copy repository in your Unity project, or reference as subdirectory. The library should work for Unity 5+.
Preview
This is the core library that can be added as a submodules to other repos without adding any additional development overhead. For testing, development and samples, see the development repo (which submodules this one), https://github.com/Reavenk/Berny_Dev For the basic development test harness, see the scene in Testing/Scenes/SampleScene.unity.
It contains a test scene where the Test GameObject can be selected to edit a path in the scene, along with controls in the Inspector for it.
Licence
MIT License
Copyright (c) 2020 Pixel Precision LLC
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.