Skip to content

Commit e2e50ad

Browse files
author
Lauren McCarthy
committed
adding cc fest to homepage
1 parent b86997f commit e2e50ad

File tree

17 files changed

+4029
-4095
lines changed

17 files changed

+4029
-4095
lines changed

dist/assets/examples/en/21_Input/03_Keyboard.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ function draw() {
2020

2121
function keyPressed() {
2222
var keyIndex = -1;
23-
if (key >= 'A' && key <= 'Z') {
24-
keyIndex = key.charCodeAt(0) - 'A'.charCodeAt(0);
23+
if (key >= 'a' && key <= 'z') {
24+
keyIndex = key.charCodeAt(0) - 'a'.charCodeAt(0);
2525
}
2626
if (keyIndex == -1) {
2727
// If it's not a letter key, clear the screen

dist/assets/examples/es/21_Input/03_Keyboard.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ function draw() {
2020

2121
function keyPressed() {
2222
var keyIndex = -1;
23-
if (key >= 'A' && key <= 'Z') {
24-
keyIndex = key.charCodeAt(0) - 'A'.charCodeAt(0);
23+
if (key >= 'a' && key <= 'z') {
24+
keyIndex = key.charCodeAt(0) - 'a'.charCodeAt(0);
2525
}
2626
if (keyIndex == -1) {
2727
// If it's not a letter key, clear the screen

dist/assets/examples/zh-Hans/21_Input/03_Keyboard.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ function draw() {
2020

2121
function keyPressed() {
2222
var keyIndex = -1;
23-
if (key >= 'A' && key <= 'Z') {
24-
keyIndex = key.charCodeAt(0) - 'A'.charCodeAt(0);
23+
if (key >= 'a' && key <= 'z') {
24+
keyIndex = key.charCodeAt(0) - 'a'.charCodeAt(0);
2525
}
2626
if (keyIndex == -1) {
2727
// If it's not a letter key, clear the screen

dist/es/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ <h1 class='visuallyhidden'>Language Settings</h1>
128128
</div> <!-- end column-span -->
129129

130130
<div id="credits" tabindex='-1'>
131+
<a href='http://ccfest.rocks/' target="_blank">CC Fest, 8 de septiembre, UCLA, Los Angeles</a><br>
131132
<i>Shan Shui II</i> por <a href="http://www.qianqian-ye.com/" target="_blank">Qianqian Ye</a><br>
132-
<a href='https://medium.com/processing-foundation/chinese-translation-for-p5-js-and-preparing-a-future-of-more-translations-b56843ea096e' target="_blank">¡p5js.org está en chino!</a><br>
133133
</div>
134134

135135

dist/es/learn/index.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,18 @@ <h4>Color</h4>
274274
<p>Una introducción al color digital.</p>
275275
</div>
276276

277+
<div class="right-column">
278+
<a class="nounderline" href="curves.html">
279+
<div class="label">
280+
<img src="../../assets/img/learn/lib_placeholder.jpg">
281+
</a>
282+
<a class="nounderline" href="curves.html">
283+
<h4>Curvas</h4>
284+
</a>
285+
</div>
286+
<p>Una introducción a los tres tipos de curvas en p5.js: arcos, curvas spline y curvas Bézier.</p>
287+
</div>
288+
277289
<div class="spacer"></div>
278290

279291

dist/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ <h1 class='visuallyhidden'>Language Settings</h1>
128128
</div> <!-- end column-span -->
129129

130130
<div id="credits" tabindex='-1'>
131+
<a href='http://ccfest.rocks/' target="_blank">CC Fest! September 8, UCLA, Los Angeles</a><br>
131132
<i>Shan Shui II</i> by <a href="http://www.qianqian-ye.com/" target="_blank">Qianqian Ye</a><br>
132-
<a href='https://medium.com/processing-foundation/chinese-translation-for-p5-js-and-preparing-a-future-of-more-translations-b56843ea096e' target="_blank">p5js.org is now in Chinese!</a><br>
133133
</div>
134134

135135

dist/learn/index.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,18 @@ <h4>Color</h4>
274274
<p>An introduction to digital color.</p>
275275
</div>
276276

277+
<div class="right-column">
278+
<a class="nounderline" href="curves.html">
279+
<div class="label">
280+
<img src="../assets/img/learn/lib_placeholder.jpg">
281+
</a>
282+
<a class="nounderline" href="curves.html">
283+
<h4>Curves</h4>
284+
</a>
285+
</div>
286+
<p>An introduction to the three types of curves in p5.js: arcs, spline curves, and Bézier curves.</p>
287+
</div>
288+
277289
<div class="spacer"></div>
278290

279291

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)