Skip to content

Commit 2bbf816

Browse files
authored
Tutorials objects (#5)
* tutorials: add objects tutorial * Tutorials: localize object illustration * Tutorial: objects -- revisions Minor typos / edits, put asides in blockquotes, clarify S3 as only available class model * spacing * Embed examples in setup() so Processing.R can run the code as they go; change print statements to built-in * Final code: move main program code to top by convention globals-settings-setup go first in Processing sketches * Final code: revise comment headings * Add note on no tab support in Processing.R Plus minor line edits for clarity * Place example ball inside 100x100 viewport so that test sketches can see it by default event before specifying a settings(){ size(x,y) } * Final sketch: add simple looper so that contents remain visible even without bounce code * Typo in image link * objects: Add Signed-off-by: Ce Gao <ce.gao@outlook.com>
1 parent 72fbaa4 commit 2bbf816

File tree

5 files changed

+445
-0
lines changed

5 files changed

+445
-0
lines changed

tutorials/index.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
index:
22
- gettingstarted
33
- drawing
4+
- objects

tutorials/objects/.property.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
image: objects.jpg
2+
title: Objects in Processing.R
3+
author: Shawn T. O'Neil
4+
introduction: The basics of object-oriented programming.
5+
level: Intermediate
Loading

tutorials/objects/imgs/objects.jpg

39.6 KB
Loading

0 commit comments

Comments
 (0)