Overcoming Stage Fright
- Arrive early so you can become familiar with the space you'll be speaking in.
# http://processing.org/learning/topics/tree.html | |
# by Joe Holt | |
color_mode RGB, 1 | |
smooth | |
@x = 0.0 | |
@dx = width / 100 | |
def draw |
# sketch by Jan Vantomme | |
# Part of a series of articles on Processing 2. | |
# Blog post here: | |
# http://vormplus.be/blog/article/drawing-shapes-with-quadratic-vertices | |
# translated for ruby-processing by Martin Prout | |
# translated for Visor by Jay McGavren | |
attr_reader :debug, :step_angle, :cr, :detail | |
@debug = false |
# Ported from http://nodebox.net/code/index.php/Graphics_State | |
# This sketch demonstrates how to use the frame rate as orbital state, | |
# as well as how to use system fonts in Ruby-Processing. | |
attr_reader :d_font | |
smooth | |
@d_font = create_font('Helvetica', 40, false, ('a'..'z').to_a) | |
# Note: Colors inverted from original to ease layer blending. | |
stroke 255 |
# This one has a long lineage: | |
# It was originally adapted to Shoes in Ruby, | |
# from a Python example for Nodebox, and then, now | |
# to Ruby-Processing. | |
# -- omygawshkenas | |
attr_reader :alpha, :back_color, :bluish, :hide, :magnitude, :panel | |
attr_reader :x_wiggle, :y_wiggle | |
@hide = false |
class Ghc < Formula | |
desc "Glorious Glasgow Haskell Compilation System" | |
homepage "https://haskell.org/ghc/" | |
url "https://downloads.haskell.org/~ghc/8.6.4/ghc-8.6.4-x86_64-apple-darwin.tar.xz" | |
sha256 "cccb58f142fe41b601d73690809f6089f7715b6a50a09aa3d0104176ab4db09e" | |
def install | |
system "./configure", "--prefix=#{prefix}" | |
ENV.deparallelize { system "make", "install" } |
pbpaste | ruby -e 'puts "```"; puts ARGF.read; puts "```"' | pbcopy |
Mary Townzen | |
Patricia Gooden | |
Linda Spinelli | |
Barbara Luth | |
Elizabeth Blackmon | |
Jennifer Vanness | |
Maria Aricas | |
Susan Stepro | |
Margaret Galbavy | |
Dorothy Faull |
class Mousetrap | |
attr_accessor :marble_count | |
def initialize(marble_count) | |
self.marble_count = marble_count | |
end | |
def press_button | |
print "presses the button which " | |
flip_bucket | |
end | |
def flip_bucket |
class Recursor | |
attr_accessor :counter | |
def initialize | |
self.counter = 0 | |
end | |
def a | |
return b + "a" |