This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env jruby | |
# frozen_string_literal: false | |
require 'propane' | |
# detect when not clicked | |
# propane graffiti by 8mana | |
# based on code by Casey Reas and Ben Fry | |
class DetectClick < Propane::App | |
def settings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env jruby | |
# frozen_string_literal: false | |
require 'propane' | |
# click the mouse | |
# propane graffiti by 8mana | |
# based on code by Casey Reas and Ben Fry | |
class ClickMouse < Propane::App | |
def settings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/bin/env jruby | |
# frozen_string_literal: false | |
require 'propane' | |
# map with the map function | |
# propane graffiti by 8mana | |
# based on code by Casey Reas and Ben Fry | |
class MapFunction < Propane::App | |
def settings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env jruby | |
# frozen_string_literal: false | |
require 'propane' | |
# map values to a range | |
# propane graffiti by 8mana | |
# based on code by Casey Reas and Ben Fry | |
class MapRange < Propane::App | |
def settings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env jruby | |
# frozen_string_literal: false | |
require 'propane' | |
# smooth lines with easing | |
# propane graffiti by 8mana | |
# based on code by Casey Reas and Ben Fry | |
class SmoothLines < Propane::App | |
def settings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env jruby | |
# frozen_string_literal: false | |
require 'propane' | |
# easing does it | |
# propane graffiti by 8mana | |
# based on code by Casey Reas and Ben Fry | |
class Easing < Propane::App | |
def settings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env jruby | |
# frozen_string_literal: false | |
require 'propane' | |
# set thickness on the fly | |
# propane graffiti by 8mana | |
# based on code by Casey Reas and Ben Fry | |
class SetThickness < Propane::App | |
def settings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env jruby | |
# frozen_string_literal: false | |
require 'propane' | |
# draw continuously | |
# propane graffiti by 8mana | |
# based on code by Casey Reas and Ben Fry | |
class DrawContinuously < Propane::App | |
def settings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env jruby | |
# frozen_string_literal: false | |
require 'propane' | |
# the dot follows you | |
# propane graffiti by 8mana | |
# based on code by Casey Reas and Ben Fry | |
class TrackMouse < Propane::App | |
def settings |