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' | |
# fanning out the lines | |
# propane graffiti by 8mana | |
# based on code by Casey Reas and Ben Fry | |
class FanningLines < 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' | |
# flex your loop muscles | |
# propane graffiti by 8mana | |
# based on code by Casey Reas and Ben Fry | |
class FlexLoop < 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' | |
# use a loop | |
# propane graffiti by 8mana | |
# based on code by Casey Reas and Ben Fry | |
class UseLoop < 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' | |
# do the same thing over and over | |
# propane graffiti by 8mana | |
# based on code by Casey Reas and Ben Fry | |
class DoThingOver < 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' | |
# basic arithmetic | |
# propane graffiti by 8mana | |
# based on code by Casey Reas and Ben Fry | |
class BasicArithmetic < 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' | |
# adjust the size, see what follows | |
# propane graffiti by 8mana | |
# based on code by Casey Reas and Ben Fry | |
class AdjustSize < 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' | |
# change values | |
# propane graffiti by 8mana | |
# based on code by Casey Reas and Ben Fry | |
class ChangeValues < 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' | |
# reuse the same values | |
# propane graffiti by 8mana | |
# based on code by Casey Reas and Ben Fry | |
class ReuseValues < 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' | |
# robot | |
# propane graffiti by 8mana | |
# based on code by Casey Reas and Ben Fry | |
class Robot < 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' | |
# create some creatures | |
# propane graffiti by 8mana | |
# based on code by Casey Reas and Ben Fry | |
class CreateCreatures < Propane::App | |
def settings |