Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
833 changed files
with
11,607 additions
and
22,592 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,31 @@ | ||
#N canvas 720 100 665 489 10; | ||
#X declare -path ofelia/libs/pd; | ||
#X declare -path ofelia/libs/of; | ||
#X declare -lib ofelia; | ||
#X obj 28 62 loadbang; | ||
#X text 315 398 This example was originally written in Processing. | ||
https://processing.org/examples/mouse2d.html; | ||
#X text 25 23 Moving the mouse changes the position and size of each | ||
box.; | ||
#X text 180 265 Listen to the movement of mouse cursor. Open the abstraction's | ||
script to see the types of values it outputs.; | ||
#X obj 28 104 ofWindow; | ||
#X obj 28 140 ofSetup; | ||
#X obj 28 161 ofBackground 51; | ||
#X obj 28 218 ofDraw; | ||
#X obj 85 265 ofMouseMoved; | ||
#X obj 28 286 list 0 0 0; | ||
#X obj 28 307 ofelia f \; local x \, y = a[2] \, a[3] \; ofDrawRectangle(x | ||
#X obj 115 265 ofMouseMoved; | ||
#X msg 28 83 setPosition 30 100 \, setSize 640 360 \, create; | ||
#X obj 512 29 declare -lib ofelia; | ||
#X obj 28 182 ofSetRectMode 1; | ||
#X obj 28 239 ofSetColor 255 255 255 204; | ||
#X obj 28 307 ofelia f \; local x \, y = a[1] \, a[2] \; ofDrawRectangle(x | ||
\, ofGetHeight()/2 \, y/2+10 \, y/2+10) \; local inverseX \, inverseY | ||
= ofGetWidth() - x \, ofGetHeight() - y \; ofDrawRectangle(inverseX | ||
\, ofGetHeight()/2 \, inverseY/2+10 \, inverseY/2+10) \;; | ||
#X f 76; | ||
#X msg 28 83 setPosition 30 100 \, setSize 640 360 \, create; | ||
#X obj 329 83 *~ 0.1; | ||
#X obj 329 104 dac~; | ||
#X obj 329 62 osc~ 440; | ||
#X obj 462 69 declare -path ofelia/libs/pd; | ||
#X obj 462 49 declare -path ofelia/libs/of; | ||
#X obj 462 29 declare -lib ofelia; | ||
#X obj 28 104 ofWindow; | ||
#X obj 28 182 ofSetRectMode 1; | ||
#X obj 28 239 ofSetColor 255 255 255 204; | ||
#X connect 0 0 10 0; | ||
#X obj 28 286 list append 0 0; | ||
#X text 200 265 Listen to the movement of mouse cursor.; | ||
#X connect 0 0 8 0; | ||
#X connect 4 0 5 0; | ||
#X connect 5 0 18 0; | ||
#X connect 6 0 19 0; | ||
#X connect 7 0 8 1; | ||
#X connect 8 0 9 0; | ||
#X connect 10 0 17 0; | ||
#X connect 11 0 12 0; | ||
#X connect 11 0 12 1; | ||
#X connect 13 0 11 0; | ||
#X connect 19 0 8 0; | ||
#X connect 5 0 10 0; | ||
#X connect 6 0 11 0; | ||
#X connect 7 0 13 1; | ||
#X connect 8 0 3 0; | ||
#X connect 11 0 13 0; | ||
#X connect 13 0 12 0; |
46 changes: 0 additions & 46 deletions
46
LinuxExample/bin/data/pd/ofelia/libs/of/ofBackPressed-help.pd
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
46 changes: 0 additions & 46 deletions
46
LinuxExample/bin/data/pd/ofelia/libs/of/ofCancelPressed-help.pd
This file was deleted.
Oops, something went wrong.
35 changes: 0 additions & 35 deletions
35
LinuxExample/bin/data/pd/ofelia/libs/of/ofCancelPressed.lua
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
LinuxExample/bin/data/pd/ofelia/libs/of/ofCancelPressed.pd
This file was deleted.
Oops, something went wrong.
51 changes: 0 additions & 51 deletions
51
LinuxExample/bin/data/pd/ofelia/libs/of/ofDeviceOrientationChanged-help.pd
This file was deleted.
Oops, something went wrong.
35 changes: 0 additions & 35 deletions
35
LinuxExample/bin/data/pd/ofelia/libs/of/ofDeviceOrientationChanged.lua
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
LinuxExample/bin/data/pd/ofelia/libs/of/ofDeviceOrientationChanged.pd
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.