File tree Expand file tree Collapse file tree 5 files changed +2
-142
lines changed Expand file tree Collapse file tree 5 files changed +2
-142
lines changed Original file line number Diff line number Diff line change @@ -46,34 +46,6 @@ example:
4646 <code>
4747 // Click on the canvas to begin detecting key presses.
4848
49- function setup() {
50- createCanvas(100, 100);
51-
52- describe(
53- 'A gray square with a white square at its center. The white square turns black when the user presses a key.'
54- );
55- }
56-
57- function draw() {
58- background(200);
59-
60- // Style the square.
61- if (keyIsPressed) {
62- fill(0);
63- } else {
64- fill(255);
65- }
66-
67- // Draw the square.
68- square(25, 25, 50);
69- }
70- </code>
71- </div>
72-
73- <div>
74- <code>
75- // Click on the canvas to begin detecting key presses.
76-
7749 function setup() {
7850 createCanvas(100, 100);
7951
Original file line number Diff line number Diff line change @@ -46,34 +46,6 @@ example:
4646 <code>
4747 // Click on the canvas to begin detecting key presses.
4848
49- function setup() {
50- createCanvas(100, 100);
51-
52- describe(
53- 'A gray square with a white square at its center. The white square turns black when the user presses a key.'
54- );
55- }
56-
57- function draw() {
58- background(200);
59-
60- // Style the square.
61- if (keyIsPressed) {
62- fill(0);
63- } else {
64- fill(255);
65- }
66-
67- // Draw the square.
68- square(25, 25, 50);
69- }
70- </code>
71- </div>
72-
73- <div>
74- <code>
75- // Click on the canvas to begin detecting key presses.
76-
7749 function setup() {
7850 createCanvas(100, 100);
7951
Original file line number Diff line number Diff line change @@ -46,34 +46,6 @@ example:
4646 <code>
4747 // Click on the canvas to begin detecting key presses.
4848
49- function setup() {
50- createCanvas(100, 100);
51-
52- describe(
53- 'A gray square with a white square at its center. The white square turns black when the user presses a key.'
54- );
55- }
56-
57- function draw() {
58- background(200);
59-
60- // Style the square.
61- if (keyIsPressed) {
62- fill(0);
63- } else {
64- fill(255);
65- }
66-
67- // Draw the square.
68- square(25, 25, 50);
69- }
70- </code>
71- </div>
72-
73- <div>
74- <code>
75- // Click on the canvas to begin detecting key presses.
76-
7749 function setup() {
7850 createCanvas(100, 100);
7951
Original file line number Diff line number Diff line change @@ -38,35 +38,7 @@ example:
3838 }
3939 </code>
4040 </div>
41-
42- <div>
43- <code>
44- // Click on the canvas to begin detecting key presses.
45-
46- function setup() {
47- createCanvas(100, 100);
48-
49- describe(
50- 'A gray square with a white square at its center. The white square turns black when the user presses a key.'
51- );
52- }
53-
54- function draw() {
55- background(200);
56-
57- // Style the square.
58- if (keyIsPressed) {
59- fill(0);
60- } else {
61- fill(255);
62- }
63-
64- // Draw the square.
65- square(25, 25, 50);
66- }
67- </code>
68- </div>
69-
41+
7042 <div>
7143 <code>
7244 // Click on the canvas to begin detecting key presses.
Original file line number Diff line number Diff line change @@ -38,35 +38,7 @@ example:
3838 }
3939 </code>
4040 </div>
41-
42- <div>
43- <code>
44- // Click on the canvas to begin detecting key presses.
45-
46- function setup() {
47- createCanvas(100, 100);
48-
49- describe(
50- 'A gray square with a white square at its center. The white square turns black when the user presses a key.'
51- );
52- }
53-
54- function draw() {
55- background(200);
56-
57- // Style the square.
58- if (keyIsPressed) {
59- fill(0);
60- } else {
61- fill(255);
62- }
63-
64- // Draw the square.
65- square(25, 25, 50);
66- }
67- </code>
68- </div>
69-
41+
7042 <div>
7143 <code>
7244 // Click on the canvas to begin detecting key presses.
You can’t perform that action at this time.
0 commit comments