Skip to content
Modified script description in documentation. authored by Kevin Meaney's avatar Kevin Meaney
......@@ -295,7 +295,7 @@ The following json object is everything needed to define the filter chain manage
}
```
The following ruby script, which can be pasted into a interactive ruby session (irb) and as long as you've done the usual `require 'moving_images'` and `include MovingImages` then the script will produce a short animation.
The following ruby script, which can be pasted into a interactive ruby session (irb) and as long as you've done the usual `require 'moving_images'` and `include MovingImages` then the script will generate the same filter chain as described in the json above. The script does a good deal more though, it creates a mask image by drawing text and uses that image as a filter input image and then renders the filter chain multiple times with the "inputScale" property of the bump distortion updated each time the filter chain is rendered to produce an animation.
```ruby
# Script constants
......
......