Interactive Bezier curve drawing tool using Ruby2D.
Installation
Add this line to your application's Gemfile:
gem 'bezier_curver'And then execute:
$ bundle installOr install it yourself as:
$ gem install bezier_curverUsage
Run the tool from command line:
bezier_curverOr use it in your Ruby code:
BezierCurver.runControls
- Left Click: Add control point
- ESC: Clear all points
- Curves are automatically drawn every 5 control points
Development
After checking out the repo, run bundle install to install dependencies. Then, run bundle exec rake to run tests.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/ydah/bezier_curver.
License
The gem is available as open source under the terms of the MIT License.