Skip to content

humphrey91/p5

Repository files navigation

P5

This gem is used to add necessary Javascript dependencies for using p5.js. You can learn all about p5.js here https://p5js.org/.

Installation

Add this line to your application's Gemfile:

gem 'p5'

And then execute:

$ bundle

Or install it yourself as:

$ gem install p5

Usage

After installing the gem, simply generate a sketch.js, and index.html with:

$rails generate p5

or

$rails g p5

Lastly, in your application.js add: //= require p5

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/humphrey91/p5.

License

The gem is available as open source under the terms of the MIT License.

About

Gem to quickly add dependencies for p5.js

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages