Commit b22fb286 authored by O'Reilly Media, Inc's avatar O'Reilly Media, Inc
Browse files

Initial commit

parents
Loading
Loading
Loading
Loading

README.md

0 → 100644
+15 −0
Changes for README.md: 15 added lines, 0 removed lines.
Original line number Diff line number Diff line
## Example files for the title:  
  
# Programming Interactivity 2nd Edition, by Joshua Noble
  
[![Programming Interactivity 2nd Edition, by Joshua Noble](http://akamaicovers.oreilly.com/images/9781449311445/cat.gif)](https://www.safaribooksonline.com/library/view/title/9781449321482//)
  
The following applies to example files from material published by O’Reilly Media, Inc. Content from other publishers may include different rules of usage. Please refer to any additional usage rights explained in the actual example files or refer to the publisher’s website.
  
O'Reilly books are here to help you get your job done. In general, you may use the code in O'Reilly books in your programs and documentation. You do not need to contact us for permission unless you're reproducing a significant portion of the code. For example, writing a program that uses several chunks of code from our books does not require permission. Answering a question by citing our books and quoting example code does not require permission. On the other hand, selling or distributing a CD-ROM of examples from O'Reilly books does require permission. Incorporating a significant amount of example code from our books into your product's documentation does require permission.
  
We appreciate, but do not require, attribution. An attribution usually includes the title, author, publisher, and ISBN.
  
If you think your use of code examples falls outside fair use or the permission given here, feel free to contact us at <permissions@oreilly.com>.
  
Please note that the examples are not production code and have not been carefully testing. They are provided "as-is" and come with no warranty of any kind.
+4 −0
Changes for ch03/0301/drawARect.pde: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
fill(0, 0, 255);
rect(0, 0, 100, 100);
print(" I'm working ");

ch03/0302/methods.pde

0 → 100755
+9 −0
Changes for ch03/0302/methods.pde: 9 added lines, 0 removed lines.
Original line number Diff line number Diff line
void setup(){
    size(200, 200);
    frameRate(30);
    print(" all done setting up");
}

void draw() {
println("hi");
}
 No newline at end of file
+17 −0
Changes for ch03/0303/expanding.pde: 17 added lines, 0 removed lines.
Original line number Diff line number Diff line
int x = 0;

void setup() {
    size(300, 300);
}

void draw() {
    // make x a little bit bigger
    x += 2;
    // draw a circle using x as the height and width of the circle
    ellipse(150, 150, x, x);
    // if x is too big, we can't see it in our window, so put it back
    // to 0 and start over
    if(x > 300) {
        x = 0;
    }
}
 No newline at end of file

ch03/0304/line.pde

0 → 100755
+9 −0
Changes for ch03/0304/line.pde: 9 added lines, 0 removed lines.
Original line number Diff line number Diff line
void setup() {
    size(300, 300);
}

void draw() {
    rect(100, 100, 50, 50);
    ellipse(200, 200, 40, 40);
    line(0, 0, 300, 300);
}
 No newline at end of file
Loading