Skip to content

Commit

Permalink
if it is broke do fix it
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinWorkman committed Nov 5, 2022
1 parent a92bbea commit 8c33df2
Show file tree
Hide file tree
Showing 29 changed files with 58 additions and 58 deletions.
4 changes: 2 additions & 2 deletions tutorials/p5js/arrays/_posts/2021-01-07-falling-points.md
Expand Up @@ -10,8 +10,8 @@ meta-image: /tutorials/p5js/arrays/images/falling-points-3.png
tags: [example, p5.js, javascript, input]
includeP5jsWidget: true
previousPost: /tutorials/p5js/arrays
redirect_from: /tutorials/p5js/arrays/falling-points
discourseEmbedUrl: /tutorials/p5js/arrays/falling-points
redirect_from: /examples/p5js/arrays/falling-points
discourseEmbedUrl: /examples/p5js/arrays/falling-points
---

{% include p5js-widget.html width=300 height=300 %}
Expand Down
4 changes: 2 additions & 2 deletions tutorials/p5js/arrays/_posts/2021-11-09-oscillating-lines.md
Expand Up @@ -10,8 +10,8 @@ meta-image: /tutorials/p5js/arrays/images/oscillating-lines-1.png
tags: [example, p5.js, javascript, arrays]
includeP5jsWidget: true
previousPost: /tutorials/p5js/arrays
redirect_from: /tutorials/p5js/arrays/oscillating-lines
discourseEmbedUrl: /tutorials/p5js/arrays/oscillating-lines
redirect_from: /examples/p5js/arrays/oscillating-lines
discourseEmbedUrl: /examples/p5js/arrays/oscillating-lines
---

This sketch uses an array to hold line height values, and then changes those values to show oscillating lines.
Expand Down
4 changes: 2 additions & 2 deletions tutorials/p5js/arrays/_posts/2021-11-10-fading-grid.md
Expand Up @@ -10,8 +10,8 @@ meta-image: /tutorials/p5js/arrays/images/fading-grid-1.png
tags: [example, p5.js, javascript, arrays]
includeP5jsWidget: true
previousPost: /tutorials/p5js/arrays
redirect_from: /tutorials/p5js/arrays/fading-grid
discourseEmbedUrl: /tutorials/p5js/arrays/fading-grid
redirect_from: /examples/p5js/arrays/fading-grid
discourseEmbedUrl: /examples/p5js/arrays/fading-grid
---

This sketch uses a 2D array to hold values, and decreases changes those values to show a fading grid of cells.
Expand Down
4 changes: 2 additions & 2 deletions tutorials/p5js/arrays/_posts/2021-12-30-pi-visualization.md
Expand Up @@ -10,8 +10,8 @@ meta-image: /tutorials/p5js/arrays/images/pi-visualization-1.png
tags: [example, p5.js, javascript, arrays]
includeP5jsWidget: false
previousPost: /tutorials/p5js/arrays
redirect_from: /tutorials/p5js/arrays/pi-visualization
discourseEmbedUrl: /tutorials/p5js/arrays/pi-visualization
redirect_from: /examples/p5js/arrays/pi-visualization
discourseEmbedUrl: /examples/p5js/arrays/pi-visualization
---

<style>
Expand Down
Expand Up @@ -9,8 +9,8 @@ meta-description: Use P5.js to put on a fieworks show!
meta-image: /tutorials/p5js/creating-classes/images/fireworks-1.png
tags: [example, p5.js, javascript, es6]
previousPost: /tutorials/p5js/creating-classes
redirect_from: /tutorials/p5js/creating-classes/fireworks
discourseEmbedUrl: /tutorials/p5js/creating-classes/fireworks
redirect_from: /examples/p5js/creating-classes/fireworks
discourseEmbedUrl: /examples/p5js/creating-classes/fireworks
---

<div id="sketch-holder"></div>
Expand Down
Expand Up @@ -10,8 +10,8 @@ meta-image: /tutorials/p5js/creating-classes/images/bonsai-tree-1.png
tags: [example, p5.js, javascript, creating-classes, genuary]
includeP5jsWidget: true
previousPost: /tutorials/p5js/creating-classes
redirect_from: /tutorials/p5js/creating-classes/bonsai-tree
discourseEmbedUrl: /tutorials/p5js/creating-classes/bonsai-tree
redirect_from: /examples/p5js/creating-classes/bonsai-tree
discourseEmbedUrl: /examples/p5js/creating-classes/bonsai-tree
---

[Click here to view this code in the p5 editor](https://editor.p5js.org/KevinWorkman/sketches/aBlpyozDs), and [click here to view the result by itself](https://editor.p5js.org/KevinWorkman/present/aBlpyozDs).
Expand Down
4 changes: 2 additions & 2 deletions tutorials/p5js/creating-classes/_posts/2021-01-20-loopers.md
Expand Up @@ -10,8 +10,8 @@ meta-image: /tutorials/p5js/creating-classes/images/loopers-1.png
tags: [example, p5.js, javascript, creating-classes, trigonometry, genuary]
includeP5jsWidget: true
previousPost: /tutorials/p5js/creating-classes
redirect_from: /tutorials/p5js/creating-classes/loopers
discourseEmbedUrl: /tutorials/p5js/creating-classes/loopers
redirect_from: /examples/p5js/creating-classes/loopers
discourseEmbedUrl: /examples/p5js/creating-classes/loopers
---

{% include p5js-widget.html width=400 height=400 %}
Expand Down
Expand Up @@ -10,8 +10,8 @@ meta-image: /tutorials/p5js/creating-classes/images/recursive-lines-1.png
tags: [example, p5.js, javascript, creating-classes, trigonometry, genuary]
includeP5jsWidget: true
previousPost: /tutorials/p5js/creating-classes
redirect_from: /tutorials/p5js/creating-classes/recursive-lines
discourseEmbedUrl: /tutorials/p5js/creating-classes/recursive-lines
redirect_from: /examples/p5js/creating-classes/recursive-lines
discourseEmbedUrl: /examples/p5js/creating-classes/recursive-lines
---

{% include p5js-widget.html width=400 height=400 %}
Expand Down
Expand Up @@ -10,8 +10,8 @@ meta-image: /tutorials/p5js/creating-classes/images/recursive-lines-1.png
tags: [example, p5.js, javascript, creating-classes, trigonometry, genuary]
includeP5jsWidget: true
previousPost: /tutorials/p5js/creating-classes
redirect_from: /tutorials/p5js/creating-classes/isometric-cubes
discourseEmbedUrl: /tutorials/p5js/creating-classes/isometric-cubes
redirect_from: /examples/p5js/creating-classes/isometric-cubes
discourseEmbedUrl: /examples/p5js/creating-classes/isometric-cubes
---

{% include youtube-embed.html slug="oqgrKWAo24M" %}
Expand Down
Expand Up @@ -9,8 +9,8 @@ meta-description: Create an ant colony simulation.
meta-image: /tutorials/p5js/creating-classes/images/ant-colony-1.png
tags: [example, p5.js, javascript, creating-classes, genuary]
previousPost: /tutorials/p5js/creating-classes
redirect_from: /tutorials/p5js/creating-classes/ant-colony
discourseEmbedUrl: /tutorials/p5js/creating-classes/ant-colony
redirect_from: /examples/p5js/creating-classes/ant-colony
discourseEmbedUrl: /examples/p5js/creating-classes/ant-colony
---


Expand Down
Expand Up @@ -10,8 +10,8 @@ meta-image: /tutorials/p5js/creating-classes/images/popping-circles-1.png
tags: [example, p5.js, javascript, creating-classes, input, genuary]
includeP5jsWidget: true
previousPost: /tutorials/p5js/creating-classes
redirect_from: /tutorials/p5js/creating-classes/popping-circles
discourseEmbedUrl: /tutorials/p5js/creating-classes/popping-circles
redirect_from: /examples/p5js/creating-classes/popping-circles
discourseEmbedUrl: /examples/p5js/creating-classes/popping-circles
---

{% include youtube-embed.html slug="AU5WdQOCPkI" %}
Expand Down
4 changes: 2 additions & 2 deletions tutorials/p5js/creating-classes/_posts/2021-01-31-campfire.md
Expand Up @@ -10,8 +10,8 @@ meta-image: /tutorials/p5js/creating-classes/images/campfire-1.png
tags: [example, p5.js, javascript, creating-classes, genuary]
includeP5jsWidget: true
previousPost: /tutorials/p5js/creating-classes
redirect_from: /tutorials/p5js/creating-classes/campfire
discourseEmbedUrl: /tutorials/p5js/creating-classes/campfire
redirect_from: /examples/p5js/creating-classes/campfire
discourseEmbedUrl: /examples/p5js/creating-classes/campfire
---

{% include youtube-embed.html slug="uHXgjHaL8n8" %}
Expand Down
Expand Up @@ -10,8 +10,8 @@ meta-image: /tutorials/p5js/creating-classes/images/parallax-dots-2.png
tags: [example, p5.js, javascript, creating-classes]
includeP5jsWidget: true
previousPost: /tutorials/p5js/creating-classes
redirect_from: /tutorials/p5js/creating-classes/parallax-dots
discourseEmbedUrl: /tutorials/p5js/creating-classes/parallax-dots
redirect_from: /examples/p5js/creating-classes/parallax-dots
discourseEmbedUrl: /examples/p5js/creating-classes/parallax-dots
---

{% include youtube-embed.html slug="Jw0uZD-_HZY" %}
Expand Down
4 changes: 2 additions & 2 deletions tutorials/p5js/creating-classes/_posts/2021-10-27-ghosts.md
Expand Up @@ -10,8 +10,8 @@ meta-image: /tutorials/p5js/creating-classes/images/ghosts-1.png
tags: [example, p5.js, javascript, creating-classes, 🎃]
includeP5jsWidget: true
previousPost: /tutorials/p5js/creating-classes
redirect_from: /tutorials/p5js/creating-classes/ghosts
discourseEmbedUrl: /tutorials/p5js/creating-classes/ghosts
redirect_from: /examples/p5js/creating-classes/ghosts
discourseEmbedUrl: /examples/p5js/creating-classes/ghosts
---

This sketch fills the screen with ghosts! It uses the cos() function to make the ghosts go left and right, and it uses an array to hold previous values to make the tail.
Expand Down
4 changes: 2 additions & 2 deletions tutorials/p5js/creating-classes/_posts/2021-12-31-planets.md
Expand Up @@ -10,8 +10,8 @@ meta-image: /tutorials/p5js/creating-classes/images/planets-1.png
tags: [example, p5.js, javascript, creating-classes]
includeP5jsWidget: true
previousPost: /tutorials/p5js/creating-classes
redirect_from: /tutorials/p5js/creating-classes/planets
discourseEmbedUrl: /tutorials/p5js/creating-classes/planets
redirect_from: /examples/p5js/creating-classes/planets
discourseEmbedUrl: /examples/p5js/creating-classes/planets
---

This sketch shows planets orbiting a sun. Click to add another planet!
Expand Down
Expand Up @@ -10,8 +10,8 @@ meta-image: /tutorials/p5js/creating-classes/images/circle-packing-1.png
tags: [example, p5.js, javascript, creating-classes]
includeP5jsWidget: true
previousPost: /tutorials/p5js/creating-classes
redirect_from: /tutorials/p5js/creating-classes/circle-packing
discourseEmbedUrl: /tutorials/p5js/creating-classes/circle-packing
redirect_from: /examples/p5js/creating-classes/circle-packing
discourseEmbedUrl: /examples/p5js/creating-classes/circle-packing
---

Inspired by [Coding Train's circle packing video](https://thecodingtrain.com/challenges/50-animated-circle-packing), this sketch fills the screen with circles without any overlapping.
Expand Down
Expand Up @@ -10,8 +10,8 @@ meta-image: /tutorials/p5js/for-loops/images/lines-silhouette-2.png
tags: [example, p5.js, javascript, for-loops]
includeP5jsWidget: true
previousPost: /tutorials/p5js/for-loops
redirect_from: /tutorials/p5js/for-loops/lines-silhouette
discourseEmbedUrl: /tutorials/p5js/for-loops/lines-silhouette
redirect_from: /examples/p5js/for-loops/lines-silhouette
discourseEmbedUrl: /examples/p5js/for-loops/lines-silhouette
---

{% include p5js-widget.html width=300 height=300 %}
Expand Down
4 changes: 2 additions & 2 deletions tutorials/p5js/for-loops/_posts/2021-01-22-wrong-lines.md
Expand Up @@ -10,8 +10,8 @@ meta-image: /tutorials/p5js/for-loops/images/wrong-lines-1.png
tags: [example, p5.js, javascript, for-loops, genuary]
includeP5jsWidget: true
previousPost: /tutorials/p5js/for-loops
redirect_from: /tutorials/p5js/for-loops/wrong-lines
discourseEmbedUrl: /tutorials/p5js/for-loops/wrong-lines
redirect_from: /examples/p5js/for-loops/wrong-lines
discourseEmbedUrl: /examples/p5js/for-loops/wrong-lines
---

{% include youtube-embed.html slug="lNKFhaOQJys" %}
Expand Down
Expand Up @@ -10,8 +10,8 @@ meta-image: /tutorials/p5js/for-loops/images/wrong-lines-1.png
tags: [example, p5.js, javascript, for-loops, genuary]
includeP5jsWidget: true
previousPost: /tutorials/p5js/for-loops
redirect_from: /tutorials/p5js/for-loops/vertical-gradient
discourseEmbedUrl: /tutorials/p5js/for-loops/vertical-gradient
redirect_from: /examples/p5js/for-loops/vertical-gradient
discourseEmbedUrl: /examples/p5js/for-loops/vertical-gradient
---

{% include youtube-embed.html slug="DJgDW3F68Xc" %}
Expand Down
4 changes: 2 additions & 2 deletions tutorials/p5js/for-loops/_posts/2021-01-25-flower-grid.md
Expand Up @@ -10,8 +10,8 @@ meta-image: /tutorials/p5js/for-loops/images/flower-grid-1.png
tags: [example, p5.js, javascript, for-loops, genuary]
includeP5jsWidget: true
previousPost: /tutorials/p5js/for-loops
redirect_from: /tutorials/p5js/for-loops/flower-grid
discourseEmbedUrl: /tutorials/p5js/for-loops/flower-grid
redirect_from: /examples/p5js/for-loops/flower-grid
discourseEmbedUrl: /examples/p5js/for-loops/flower-grid
---

{% include youtube-embed.html slug="Bpi_O-VhuCw" %}
Expand Down
4 changes: 2 additions & 2 deletions tutorials/p5js/for-loops/_posts/2021-12-01-menorah.md
Expand Up @@ -10,8 +10,8 @@ meta-image: /tutorials/p5js/for-loops/images/menorah-1.png
tags: [example, p5.js, javascript, for-loops]
includeP5jsWidget: true
previousPost: /tutorials/p5js/for-loops
redirect_from: /tutorials/p5js/for-loops/menorah
discourseEmbedUrl: /tutorials/p5js/for-loops/menorah
redirect_from: /examples/p5js/for-loops/menorah
discourseEmbedUrl: /examples/p5js/for-loops/menorah
---

{% include youtube-embed.html slug="OpasH6SwUUg" %}
Expand Down
4 changes: 2 additions & 2 deletions tutorials/p5js/for-loops/_posts/2021-12-30-code-rocket.md
Expand Up @@ -10,8 +10,8 @@ meta-image: /tutorials/p5js/for-loops/images/code-rocket-1.png
tags: [example, p5.js, javascript, for-loops]
includeP5jsWidget: false
previousPost: /tutorials/p5js/for-loops
redirect_from: /tutorials/p5js/for-loops/code-rocket
discourseEmbedUrl: /tutorials/p5js/for-loops/code-rocket
redirect_from: /examples/p5js/for-loops/code-rocket
discourseEmbedUrl: /examples/p5js/for-loops/code-rocket
---

Inspired by this tweet:
Expand Down
4 changes: 2 additions & 2 deletions tutorials/p5js/input/_posts/2021-01-06-clickable-text.md
Expand Up @@ -10,8 +10,8 @@ meta-image: /tutorials/p5js/input/images/clickable-text-3.png
tags: [example, p5.js, javascript, input]
includeP5jsWidget: true
previousPost: /tutorials/p5js/input
redirect_from: /tutorials/p5js/input/clickable-text
discourseEmbedUrl: /tutorials/p5js/images/clickable-text
redirect_from: /examples/p5js/input/clickable-text
discourseEmbedUrl: /examples/p5js/images/clickable-text
---

{% include p5js-widget.html width=300 height=300 %}
Expand Down
4 changes: 2 additions & 2 deletions tutorials/p5js/input/_posts/2021-01-10-mouse-ripple.md
Expand Up @@ -10,8 +10,8 @@ meta-image: /tutorials/p5js/input/images/mouse-ripple-2.png
tags: [example, p5.js, javascript, input]
includeP5jsWidget: true
previousPost: /tutorials/p5js/input
redirect_from: /tutorials/p5js/input/mouse-ripple
discourseEmbedUrl: /tutorials/p5js/images/mouse-ripple
redirect_from: /examples/p5js/input/mouse-ripple
discourseEmbedUrl: /examples/p5js/images/mouse-ripple
---

{% include p5js-widget.html width=300 height=300 %}
Expand Down
4 changes: 2 additions & 2 deletions tutorials/p5js/input/_posts/2021-09-13-grouchy-face.md
Expand Up @@ -10,8 +10,8 @@ meta-image: /tutorials/p5js/input/images/grouchy-face-1.png
tags: [example, p5.js, javascript, input]
includeP5jsWidget: true
previousPost: /tutorials/p5js/input
redirect_from: /tutorials/p5js/input/grouchy-face
discourseEmbedUrl: /tutorials/p5js/images/grouchy-face
redirect_from: /examples/p5js/input/grouchy-face
discourseEmbedUrl: /examples/p5js/images/grouchy-face
---

{% include p5js-widget.html width=300 height=300 %}
Expand Down
4 changes: 2 additions & 2 deletions tutorials/p5js/input/_posts/2021-12-30-warmer-colder.md
Expand Up @@ -10,8 +10,8 @@ meta-image: /tutorials/p5js/input/images/warmer-colder-1.png
tags: [example, p5.js, javascript, input]
includeP5jsWidget: true
previousPost: /tutorials/p5js/input
redirect_from: /tutorials/p5js/input/warmer-colder
discourseEmbedUrl: /tutorials/p5js/images/warmer-colder
redirect_from: /examples/p5js/input/warmer-colder
discourseEmbedUrl: /examples/p5js/images/warmer-colder
---

This sketch hides a circle, and tells you whether your mouse is getting warmer (closer) or colder (further away).
Expand Down
Expand Up @@ -10,8 +10,8 @@ meta-image: /tutorials/p5js/using-objects/images/year-percent-1.png
tags: [example, p5.js, javascript, oop]
includeP5jsWidget: true
previousPost: /tutorials/p5js/using-objects
redirect_from: /tutorials/p5js/using-objects/year-percent
discourseEmbedUrl: /tutorials/p5js/using-objects/year-percent
redirect_from: /examples/p5js/using-objects/year-percent
discourseEmbedUrl: /examples/p5js/using-objects/year-percent
---

This sketch shows what percent we are through the year.
Expand Down
Expand Up @@ -10,8 +10,8 @@ meta-image: /tutorials/p5js/using-objects/images/numbers-station-1.png
tags: [example, p5.js, javascript, oop]
includeP5jsWidget: true
previousPost: /tutorials/p5js/using-objects
redirect_from: /tutorials/p5js/using-objects/numbers-station
discourseEmbedUrl: /tutorials/p5js/using-objects/numbers-station
redirect_from: /examples/p5js/using-objects/numbers-station
discourseEmbedUrl: /examples/p5js/using-objects/numbers-station
---

This sketch uses the [SpeechSynthesis](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis) class to say random words and numbers, just like a real-life [numbers station](https://en.wikipedia.org/wiki/Numbers_station).
Expand Down
Expand Up @@ -10,8 +10,8 @@ meta-image: /tutorials/p5js/using-objects/images/accumulating-snow-1.png
tags: [example, p5.js, javascript, objects]
includeP5jsWidget: true
previousPost: /tutorials/p5js/using-objects
redirect_from: /tutorials/p5js/using-objects/accumulating-snow
discourseEmbedUrl: /tutorials/p5js/using-objects/accumulating-snow
redirect_from: /examples/p5js/using-objects/accumulating-snow
discourseEmbedUrl: /examples/p5js/using-objects/accumulating-snow
---

{% include youtube-embed.html slug="fQ_kcFRLIto" %}
Expand Down

0 comments on commit 8c33df2

Please sign in to comment.