-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1162 from dipamsen/more-p5
Add videos to p5 tips and tricks
- Loading branch information
Showing
14 changed files
with
135 additions
and
11 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,5 +1,5 @@ | ||
{ | ||
"title": "p5 Tips & Tricks", | ||
"description": "A collection of tips and tricks that might come in handy when working in p5.", | ||
"videos": ["more-p5/local-storage", "more-p5/github-pages-hosting", "more-p5/pixel-array"] | ||
"videos": ["more-p5/local-storage", "more-p5/github-pages-hosting", "more-p5/pixel-array", "more-p5/custom-shapes", "more-p5/2d-arrays"] | ||
} |
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
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
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
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
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
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
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"title": "2D Arrays in JavaScript", | ||
"description": "In this JavaScript tutorial, I cover two-dimensional (2D) arrays in JavaScript. I demonstrate how to create, initialize, and use the arrays with nested for loops.", | ||
"videoId": "OTNpiLUSiB4", | ||
"date": "2016-07-18", | ||
"languages": ["JavaScript", "p5.js"], | ||
"topics": ["2d arrays", "array", "for loop"], | ||
"canContribute": true, | ||
"timestamps": [ | ||
{ "time": "0:00", "title": "Introduction" }, | ||
{ "time": "0:54", "title": "What is a 2D Array?" }, | ||
{ "time": "3:39", "title": "Code example" }, | ||
{ "time": "4:59", "title": "2D Arrays in JavaScript" }, | ||
{ "time": "7:13", "title": "How to create a 2D Array?" }, | ||
{ "time": "12:02", "title": "Suggestions" } | ||
], | ||
"codeExamples": [ | ||
{ | ||
"title": "2D Arrays", | ||
"description": "Demonstration of using 2D arrays", | ||
"image": "2d-arrays.png", | ||
"urls": { | ||
"p5": "https://editor.p5js.org/codingtrain/sketches/cOPZYGNSx" | ||
} | ||
} | ||
], | ||
"groupLinks": [ | ||
{ | ||
"title": "References", | ||
"links": [ | ||
{ | ||
"icon": "π", | ||
"title": "2D Array in Processing", | ||
"url": "https://www.processing.org/tutorials/2darray/", | ||
"description": "Dan's 2D Array in Processing tutorial" | ||
} | ||
] | ||
} | ||
], | ||
"credits": [ | ||
{ | ||
"title": "Editing", | ||
"name": "Mathieu Blanchette" | ||
}, | ||
{ | ||
"title": "Animations", | ||
"name": "Jason Heglund" | ||
} | ||
] | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,74 @@ | ||
{ | ||
"title": "Custom Shapes", | ||
"description": "In this video, I look at how to draw \"custom\" shapes in p5.js, using, `beginShape()`, `endShape()`, `vertex()` and `curveVertex()`. Special thanks to Rune Madsen's Programming Design Systems!", | ||
"videoId": "76fiD5DvzeQ", | ||
"date": "2017-09-27", | ||
"languages": ["JavaScript", "p5.js"], | ||
"topics": ["custom shapes", "beginShape", "endShape", "vertex", "curveVertex"], | ||
"canContribute": true, | ||
"relatedChallenges": ["36-blobby"], | ||
"timestamps": [ | ||
{ "time": "0:00", "title": "Introduction" }, | ||
{ "time": "0:57", "title": "What is a custom shape?" }, | ||
{ "time": "3:01", "title": "Code example" }, | ||
{ "time": "5:29", "title": "Using an algorithm to choose the vertices" }, | ||
{ "time": "9:37", "title": "Drawing custom curves" }, | ||
{ "time": "16:57", "title": "Recap" } | ||
], | ||
"codeExamples": [ | ||
{ | ||
"title": "Custom Shapes", | ||
"description": "Demonstration of drawing custom shapes", | ||
"image": "custom-shapes.png", | ||
"urls": { | ||
"p5": "https://editor.p5js.org/codingtrain/sketches/vE4Flwxh5" | ||
} | ||
} | ||
], | ||
"groupLinks": [ | ||
{ | ||
"title": "References", | ||
"links": [ | ||
{ | ||
"icon": "π", | ||
"title": "Catmull-Rom spline", | ||
"url": "https://en.wikipedia.org/wiki/Centripetal_Catmull%E2%80%93Rom_spline", | ||
"description": "Catmull-Rom on Wikipedia" | ||
}, | ||
{ | ||
"icon": "π¨", | ||
"title": "Programming Design Systems", | ||
"url": "https://programmingdesignsystems.com/introduction/", | ||
"description": "Rune Madsen's Programming Design Systems" | ||
}, | ||
{ | ||
"icon": "βοΈ", | ||
"title": "Community Clouds", | ||
"url": "https://github.com/CodingTrain/CommunityClouds", | ||
"description": "Cloud Designs by the Coding Train Community" | ||
} | ||
] | ||
}, | ||
{ | ||
"title": "Videos", | ||
"links": [ | ||
{ | ||
"icon": "π", | ||
"title": "Polar to Cartesian Coordinates", | ||
"url": "/tracks/the-nature-of-code-2/noc/3-angles/4-polar-coordinates", | ||
"description": "This video takes a look at polar and cartesian coordinates." | ||
} | ||
] | ||
} | ||
], | ||
"credits": [ | ||
{ | ||
"title": "Editing", | ||
"name": "Mathieu Blanchette" | ||
}, | ||
{ | ||
"title": "Animations", | ||
"name": "Jason Heglund" | ||
} | ||
] | ||
} |
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