Skip to content

Commit 73749d3

Browse files
committed
Removing some examples files and references to Processing.js
1 parent 17f071a commit 73749d3

File tree

40 files changed

+4
-103
lines changed

40 files changed

+4
-103
lines changed

content/api_en/displayDensity.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ void draw() {
2727
</example>
2828

2929
<description><![CDATA[
30-
This function is new with Processing 3.0. It returns the number "2" if the screen is a high-density screen (called a Retina display on OS X or high-dpi on Windows and Linux)and a "1" if not. This information is useful for a program to adapt to run at double the pixel density on a screen that supports it.
30+
This function returns the number "2" if the screen is a high-density screen (called a Retina display on OS X or high-dpi on Windows and Linux) and a "1" if not. This information is useful for a program to adapt to run at double the pixel density on a screen that supports it.
3131
]]></description>
3232

3333
</root>

content/api_en/pixelHeight.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ When <b>pixelDensity(2)</b> is used to make use of a high resolution display (ca
2020
]]></description>
2121

2222
</root>
23+

content/examples/Basics/Data/CharactersStrings/CharactersStrings.pde

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
* featured below.
1717
*/
1818

19-
// The next line is needed if running in JavaScript Mode with Processing.js
20-
/* @pjs font="Georgia.ttf"; */
21-
2219
char letter;
2320
String words = "Begin...";
2421

-151 KB
Binary file not shown.

content/examples/Basics/Data/DatatypeConversion/DatatypeConversion.pde

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
* The conversion functions include int(), float(), char(), byte(), and others.
88
*/
99

10-
// The next line is needed if running in JavaScript Mode with Processing.js
11-
/* @pjs font="Georgia.ttf"; */
12-
1310
size(640, 360);
1411
background(0);
1512
noStroke();
-151 KB
Binary file not shown.

content/examples/Basics/Image/Alphamask/Alphamask.pde

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
* together using the mask() method of PImage.
77
*/
88

9-
// The next line is needed if running in JavaScript Mode with Processing.js
10-
/* @pjs preload="moonwalk.jpg,mask.jpg"; */
11-
129
PImage img;
1310
PImage imgMask;
1411

content/examples/Basics/Image/BackgroundImage/BackgroundImage.pde

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
* into Processing. To load an image as the background, it must be
66
* the same width and height as the program.
77
*/
8-
9-
// The next line is needed if running in JavaScript Mode with Processing.js
10-
/* @pjs preload="moonwalk.jpg"; */
118

129
PImage bg;
1310
int y;

content/examples/Basics/Image/LoadDisplayImage/LoadDisplayImage.pde

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
* Images can be loaded and displayed to the screen at their actual size
55
* or any other size.
66
*/
7-
8-
// The next line is needed if running in JavaScript Mode with Processing.js
9-
/* @pjs preload="moonwalk.jpg"; */
107

118
PImage img; // Declare variable "a" of type PImage
129

content/examples/Basics/Image/Pointillism/Pointillism.pde

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
* Creates a simple pointillist effect using ellipses colored
77
* according to pixels in an image.
88
*/
9-
10-
// The next line is needed if running in JavaScript Mode with Processing.js
11-
/* @pjs preload="moonwalk.jpg"; */
129

1310
PImage img;
1411
int smallPoint, largePoint;

0 commit comments

Comments
 (0)