-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into amazon-links
- Loading branch information
Showing
50 changed files
with
425 additions
and
37 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
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.
115 changes: 115 additions & 0 deletions
115
content/videos/challenges/118-mastodon-fractal-tree-bot/index.json
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,115 @@ | ||
{ | ||
"title": "Mastodon Fractal Tree Bot", | ||
"description": "In part 1 of this coding challenge, I create a node.js Mastodon bot that posts images (fractal trees) generated with Processing code. In part 2, I revise the node.js Mastodon bot to post images (fractal trees) in response to user mentions.", | ||
"videoNumber": "118", | ||
"date": "2018-10-16", | ||
"languages": ["Processing", "JavaScript", "Java", "Node.js", "command-line interface (CLI)"], | ||
"topics": ["Mastodon", "bots", "fractals"], | ||
"canContribute": true, | ||
"relatedChallenges": [ | ||
"174-graphics-applesoft-basic", | ||
"14-fractal-trees-recursive", | ||
"15-object-oriented-fractal-trees", | ||
"18-3d-fractal-trees" | ||
], | ||
"timestamps": [], | ||
"parts": [ | ||
{ | ||
"title": "Part 1 - Creating fractal tree images and posting them with a Mastodon bot", | ||
"videoId": "luxczHFn1rU", | ||
"timestamps": [ | ||
{ "time": "0:00", "title": "Introduction" }, | ||
{ "time": "0:52", "title": "Inspiration for the challenge" }, | ||
{ "time": "1:06", "title": "Generate a random fractal tree image with Processing" }, | ||
{ "time": "2:48", "title": "How can Node.js and Processing communicate?" }, | ||
{ "time": "3:50", "title": "Calling a Processing sketch from the command line" }, | ||
{ "time": "6:10", "title": "Using Node.js to execute the sketch" }, | ||
{ "time": "9:00", "title": "Async with promises" }, | ||
{ "time": "11:57", "title": "Reading stdout value" }, | ||
{ "time": "13:50", "title": "Use `mastodon-api` to POST the image" }, | ||
{ "time": "21:40", "title": "Refactor promises chain to async/await" }, | ||
{ "time": "25:20", "title": "Reference the image in a new status" }, | ||
{ "time": "30:07", "title": "Extract the angle value from stdout" }, | ||
{ "time": "33:00", "title": "Make the bot post at a predetermined interval" }, | ||
{ "time": "36:30", "title": "Hosting and Part 2 tutorial teaser" } | ||
] | ||
}, | ||
{ | ||
"title": "Part 2 - Revising the bot to reply to user mentions", | ||
"videoId": "PUPWPjjkNqQ", | ||
"timestamps": [ | ||
{ "time": "0:00", "title": "Introduction" }, | ||
{ "time": "0:30", "title": "Change the code" }, | ||
{ "time": "1:00", "title": "Why Mastodon" }, | ||
{ "time": "1:40", "title": "Streaming API" }, | ||
{ "time": "2:50", "title": "Looking up previous code" }, | ||
{ "time": "4:00", "title": "Adding new code" }, | ||
{ "time": "6:00", "title": "Regular expressions" }, | ||
{ "time": "10:00", "title": "Testing" }, | ||
{ "time": "11:00", "title": "Adding an angle" }, | ||
{ "time": "13:00", "title": "Adding arguments" } | ||
] | ||
} | ||
], | ||
"codeExamples": [ | ||
{ | ||
"title": "Source code", | ||
"description": "Mastodon bot and fractal tree generator source code", | ||
"urls": { | ||
"node": "https://github.com/CodingTrain/Mastodon-Bot" | ||
} | ||
} | ||
], | ||
"groupLinks": [ | ||
{ | ||
"title": "References", | ||
"links": [ | ||
{ | ||
"icon": "🔗", | ||
"title": "Lowpoly Bot", | ||
"url": "https://twitter.com/lowpolybot", | ||
"description": "A Twitter bot by @Quasimondo that creates random low-polygon versions of pictures it receives." | ||
}, | ||
{ | ||
"icon": "🔗", | ||
"title": "Node.js", | ||
"url": "https://nodejs.org/en", | ||
"description": "Documentation about Node.js, a open-source JavaScript runtime environment." | ||
}, | ||
{ | ||
"icon": "🔗", | ||
"title": "Mastodon", | ||
"url": "https://mastodon.social/about", | ||
"description": "A decentralized social media powered by Mastodon" | ||
}, | ||
{ | ||
"icon": "🔗", | ||
"title": "Mastodon API on npm", | ||
"url": "https://www.npmjs.com/package/mastodon-api", | ||
"description": "A Mastodon API Client for node" | ||
}, | ||
{ | ||
"icon": "🔗", | ||
"title": "The 'procesing-java' command", | ||
"url": "https://github.com/processing/processing/wiki/Command-Line", | ||
"description": "Running Processing sketches from the command line" | ||
} | ||
] | ||
}, | ||
{ | ||
"title": "Videos", | ||
"links": [ | ||
{ | ||
"icon": "🎥", | ||
"title": "What is Mastodon?", | ||
"url": "/tracks/mastodon/mastodon/what-is-mastodon", | ||
"description": "My track on the social media API Mastodon." | ||
} | ||
] | ||
} | ||
], | ||
"credits": [ | ||
{ "title": "Editing", "name": "Mathieu Blanchette" }, | ||
{ "title": "Animations", "name": "Jason Heglund" } | ||
] | ||
} |
9 changes: 9 additions & 0 deletions
9
content/videos/challenges/118-mastodon-fractal-tree-bot/showcase/contribution1.json
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,9 @@ | ||
{ | ||
"title": "Polite circles-maker bot", | ||
"url": "https://github.com/raynauds/mastodon-bot", | ||
"author": { | ||
"name": "Sébastien Raynaud", | ||
"url": "https://twitter.com/Chopokopx" | ||
}, | ||
"submittedOn": "2018-11-12" | ||
} |
Binary file added
BIN
+523 KB
content/videos/challenges/118-mastodon-fractal-tree-bot/showcase/contribution1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+168 KB
...deos/challenges/14-fractal-trees-recursive/showcase/contribution-1726000914.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions
10
content/videos/challenges/14-fractal-trees-recursive/showcase/contribution-1726000914.json
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,10 @@ | ||
{ | ||
"title": "squarefractal2", | ||
"author": { | ||
"name": "Bart De Meyere", | ||
"instagram": "https://www.instagram.com/bdm_80/" | ||
}, | ||
"url": "https://bartdemeyere.github.io/squarefractal2/", | ||
"submittedOn": "2024-09-10T20:41:54.323Z", | ||
"socialPermission": true | ||
} |
Binary file modified
BIN
+7.96 KB
(100%)
...ideos/challenges/16-l-system-fractal-trees/showcase/contribution-1723243364.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
content/videos/challenges/16-l-system-fractal-trees/showcase/contribution-1723243364.json
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,9 +1,9 @@ | ||
{ | ||
"title": "L-System Generator with Shapes", | ||
"title": "L-System Pattern Generator with Polar Shapes", | ||
"author": { | ||
"name": "Kathy McGuiness" | ||
}, | ||
"url": "https://editor.p5js.org/kfahn/sketches/B_P7q5oG_", | ||
"url": "https://github.com/kfahn22/L-System-Pattern-Generator", | ||
"submittedOn": "2024-08-09T22:42:44.780Z", | ||
"socialPermission": true | ||
} |
11 changes: 11 additions & 0 deletions
11
content/videos/challenges/182-apollonian-gasket/showcase/contribution-1725557171.json
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,11 @@ | ||
{ | ||
"title": "Art of Code", | ||
"author": { | ||
"name": "Soumyajit Das", | ||
"url": "https://www.instagram.com/__coder__gamer__indian__/", | ||
"instagram": "https://www.instagram.com/__coder__gamer__indian__/" | ||
}, | ||
"url": "https://github.com/sudiptasoumyajit/182-coding-train", | ||
"submittedOn": "2024-09-05T17:26:11.662Z", | ||
"socialPermission": true | ||
} |
Binary file added
BIN
+274 KB
...nt/videos/challenges/182-apollonian-gasket/showcase/contribution-1725557171.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions
11
content/videos/challenges/24-perlin-noise-flow-field/showcase/contribution-1725204487.json
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,11 @@ | ||
{ | ||
"title": "Perlin Noise Flow Field", | ||
"author": { | ||
"name": "Miguel Rodríguez", | ||
"url": "https://miguelrr11.github.io", | ||
"instagram": "@miguelrrm_11" | ||
}, | ||
"url": "https://miguelrr11.github.io/Noise_Flow_Field/", | ||
"submittedOn": "2024-09-01T15:28:08.092Z", | ||
"socialPermission": true | ||
} |
Binary file added
BIN
+342 KB
...deos/challenges/24-perlin-noise-flow-field/showcase/contribution-1725204487.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions
10
content/videos/challenges/24-perlin-noise-flow-field/showcase/contribution-1727893468.json
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,10 @@ | ||
{ | ||
"title": "Field visualization", | ||
"author": { | ||
"name": "Zim Quadery", | ||
"url": "https://codepen.io/zimquadery" | ||
}, | ||
"url": "https://codepen.io/zimquadery/full/VwoeRGW", | ||
"submittedOn": "2024-10-02T18:24:28.956Z", | ||
"socialPermission": true | ||
} |
Binary file added
BIN
+384 KB
...deos/challenges/24-perlin-noise-flow-field/showcase/contribution-1727893468.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions
10
content/videos/challenges/3-snake-game/showcase/contribution-1725733733.json
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,10 @@ | ||
{ | ||
"title": "Mono Snake", | ||
"author": { | ||
"name": "Blaze", | ||
"url": "https://dirt-blocked.github.io/Blaze" | ||
}, | ||
"url": "https://dirt-blocked.github.io/Blaze/Pages/three/three.html", | ||
"submittedOn": "2024-09-07T18:28:54.094Z", | ||
"socialPermission": true | ||
} |
Binary file added
BIN
+866 Bytes
content/videos/challenges/3-snake-game/showcase/contribution-1725733733.png
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
Binary file added
BIN
+285 KB
content/videos/challenges/71-minesweeper/showcase/contribution-1727727831.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions
12
content/videos/challenges/71-minesweeper/showcase/contribution-1727727831.json
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,12 @@ | ||
{ | ||
"title": "Chaotic Minesweeper!", | ||
"author": { | ||
"name": "Muhammed Resul BİLKİL", | ||
"url": "https://github.com/MuhammedResulBilkil", | ||
"twitter": "https://x.com/ResulBilkil", | ||
"instagram": "https://www.instagram.com/muhammed___resul/" | ||
}, | ||
"url": "https://rresul.itch.io/chatoic-minesweeper", | ||
"submittedOn": "2024-09-30T20:23:52.054Z", | ||
"socialPermission": true | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.