BezierCurver

Interactive Bezier curve drawing tool using Ruby2D.

Installation

Add this line to your application's Gemfile:

gem 'bezier_curver'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install bezier_curver

Usage

Run the tool from command line:

bezier_curver

Or use it in your Ruby code:

BezierCurver.run

Controls

  • 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.