Skip to content

Commit 16dc500

Browse files
authored
Merge branch 'main' into amazon-links
2 parents 3002248 + 02782e5 commit 16dc500

File tree

50 files changed

+425
-37
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+425
-37
lines changed

HACKTOBERFEST.md

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,18 @@
22

33
This Hacktoberfest, here are the ways you can contribute to The Coding Train:
44

5-
1. **Share your creative work on the Passenger Showcase!**
5+
## Share your creative work on the Passenger Showcase
66

7-
- For your submission to count towards Hacktoberfest, you must manually create a Pull Request to the website repository. You can follow along with the [Passenger Showcase Guide](https://thecodingtrain.com/guides/passenger-showcase-guide) (scroll down below the form) to create your Pull Request.
7+
This is a great option if you are new to open source contributions. For your submission to count towards Hacktoberfest, you must manually create a Pull Request to the website repository. You can follow along with the [Passenger Showcase Guide](https://thecodingtrain.com/guides/passenger-showcase-guide) (scroll down below the form to "Finding the Video on Github") to create your Pull Request. Here are some additional resources that can help you get started:
88

9-
2. **Curate content for the website**
10-
11-
- Add a new side track to the site! Side Tracks are collections of related videos but don’t necessarily need to be watched in order. Is there a collection of videos that go together? You are welcome to propose and curate tracks for the website!
12-
- Fix typos and errors in existing metadata for videos. (`topics`, `languages`, `timestamps`)
13-
- For more information on the content structure for tracks and videos, check out the [Content Structure Guide](https://github.com/CodingTrain/thecodingtrain.com/blob/main/CODE_OF_CONDUCT.md).
14-
15-
3. **Remix the Coding Train Logo!**
9+
- [Git and GitHub for Poets](https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZF9C0YMKuns9sLDzK6zoiV): A Coding Train video series for Git and GitHub beginners.
10+
- [Collaborating With Pull Requests](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests): A GitHub guide on pull requests.
1611

17-
- Check out https://github.com/CodingTrain/Coding-Train-Logo.
12+
## Experienced Contributors - Curate content for the website
1813

19-
4. More!
14+
If you are an experienced contributor, consider adding a new side track to the site! Side Tracks are collections of related videos but don’t necessarily need to be watched in order. Please read through the existing issues to see which tracks have been requested. If you are interested in adding a track, please leave a comment in the issue before you start.
2015

21-
- You can contribute to other [Coding Train repositories](https://github.com/CodingTrain/) as well. You will need to ask for the Pull Request to be accepted for Hacktoberfest to count it towards your progress.
16+
For more information on the content structure for tracks and videos, check out the [Content Structure Guide](https://github.com/CodingTrain/thecodingtrain.com/blob/main/CODE_OF_CONDUCT.md).
2217

23-
## Guide For Newer Contributors
2418

25-
If you are new to open source contributions, here are some useful resources that can help you get started:
2619

27-
- [Git and GitHub for Poets](https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZF9C0YMKuns9sLDzK6zoiV): A Coding Train video series for Git and GitHub beginners.
28-
- [Collaborating With Pull Requests](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests): A GitHub guide on pull requests.

content/pages/homepage/index.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"tracks": {
2121
"title": "Tracks",
2222
"description": "Streamline your learning experience and take a ride along a Track on The Coding Train. Tracks are collections of video tutorials that follow a sequenced curriculum.",
23-
"featured": ["learning-processing", "code-programming-with-p5-js"],
23+
"featured": ["ml5js-beginners-guide", "code-programming-with-p5-js"],
2424
"tracksCta": {
2525
"text": "Ready to learn? Hop on a track for beginners and more!",
2626
"buttonText": "browse tracks",
@@ -32,11 +32,11 @@
3232
"description": "Watch Dan take on Coding Challenges in p5.js and Processing. The challenge topics include algorithmic art, machine learning, simulation, generative poetry, and more.",
3333
"featured": [
3434
"185-dragon-curve",
35-
"175-3D-cube-applesoft-basic",
36-
"160-spring-forces",
37-
"113-4d-hypercube-aka-tesseract",
38-
"99-neural-network-color-predictor",
39-
"85-the-game-of-life"
35+
"152-rdp-algorithm",
36+
"158-shape-classifier",
37+
"174-graphics-applesoft-basic",
38+
"27-fireworks",
39+
"19-superellipse"
4040
],
4141
"challengesCta": {
4242
"text": "ready to explore? try a challenge!",
@@ -47,14 +47,14 @@
4747
"passengerShowcase": {
4848
"title": "Passenger showcase highlights",
4949
"featured": [
50-
"challenges/184-elastic-collisions/showcase/contribution-1720963615.json",
51-
"challenges/184-elastic-collisions/showcase/contribution-1720958474.json",
52-
"noc/4-particles/4-particle-textures/showcase/contribution-1721161051.json",
53-
"physics-libraries/box2d/12-collision-events/showcase/contribution-1722000424.json",
54-
"challenges/14-fractal-trees-recursive/showcase/contribution-1723666252.json",
55-
"challenges/10-dfs-maze-generator/showcase/contribution-1720952091.json",
56-
"challenges/184-elastic-collisions/showcase/contribution-1721016798.json",
57-
"challenges/100-neuroevolution-flappy-bird/showcase/contribution-1720945862.json"
50+
"challenges/24-perlin-noise-flow-field/showcase/contribution-1727893468.json",
51+
"noc/3-angles/4-polar-coordinates/showcase/contribution-1727766867.json",
52+
"code/7-arrays/8-objects-images/showcase/contribution-1726937451.json",
53+
"challenges/14-fractal-trees-recursive/showcase/contribution-1726000914.json",
54+
"challenges/85-the-game-of-life/showcase/contribution-1727724456.json",
55+
"transformations/translate-rotate-push-pop/showcase/contribution-1727809803.json",
56+
"challenges/163-bezier-curves/showcase/contribution2.json",
57+
"challenges/124-flocking-simulation/showcase/contribution26.json"
5858
],
5959
"showcaseCta": {
6060
"text": "Want to see more?",

content/tracks/side-tracks/mastodon/index.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"mastodon/replying-to-a-mention",
1313
"mastodon/what-is-node-js",
1414
"mastodon/what-is-npm",
15-
"workflow/5-node"
15+
"workflow/5-node",
16+
"challenges/118-mastodon-fractal-tree-bot"
1617
]
1718
}
179 KB
Loading
Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
{
2+
"title": "Mastodon Fractal Tree Bot",
3+
"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.",
4+
"videoNumber": "118",
5+
"date": "2018-10-16",
6+
"languages": ["Processing", "JavaScript", "Java", "Node.js", "command-line interface (CLI)"],
7+
"topics": ["Mastodon", "bots", "fractals"],
8+
"canContribute": true,
9+
"relatedChallenges": [
10+
"174-graphics-applesoft-basic",
11+
"14-fractal-trees-recursive",
12+
"15-object-oriented-fractal-trees",
13+
"18-3d-fractal-trees"
14+
],
15+
"timestamps": [],
16+
"parts": [
17+
{
18+
"title": "Part 1 - Creating fractal tree images and posting them with a Mastodon bot",
19+
"videoId": "luxczHFn1rU",
20+
"timestamps": [
21+
{ "time": "0:00", "title": "Introduction" },
22+
{ "time": "0:52", "title": "Inspiration for the challenge" },
23+
{ "time": "1:06", "title": "Generate a random fractal tree image with Processing" },
24+
{ "time": "2:48", "title": "How can Node.js and Processing communicate?" },
25+
{ "time": "3:50", "title": "Calling a Processing sketch from the command line" },
26+
{ "time": "6:10", "title": "Using Node.js to execute the sketch" },
27+
{ "time": "9:00", "title": "Async with promises" },
28+
{ "time": "11:57", "title": "Reading stdout value" },
29+
{ "time": "13:50", "title": "Use `mastodon-api` to POST the image" },
30+
{ "time": "21:40", "title": "Refactor promises chain to async/await" },
31+
{ "time": "25:20", "title": "Reference the image in a new status" },
32+
{ "time": "30:07", "title": "Extract the angle value from stdout" },
33+
{ "time": "33:00", "title": "Make the bot post at a predetermined interval" },
34+
{ "time": "36:30", "title": "Hosting and Part 2 tutorial teaser" }
35+
]
36+
},
37+
{
38+
"title": "Part 2 - Revising the bot to reply to user mentions",
39+
"videoId": "PUPWPjjkNqQ",
40+
"timestamps": [
41+
{ "time": "0:00", "title": "Introduction" },
42+
{ "time": "0:30", "title": "Change the code" },
43+
{ "time": "1:00", "title": "Why Mastodon" },
44+
{ "time": "1:40", "title": "Streaming API" },
45+
{ "time": "2:50", "title": "Looking up previous code" },
46+
{ "time": "4:00", "title": "Adding new code" },
47+
{ "time": "6:00", "title": "Regular expressions" },
48+
{ "time": "10:00", "title": "Testing" },
49+
{ "time": "11:00", "title": "Adding an angle" },
50+
{ "time": "13:00", "title": "Adding arguments" }
51+
]
52+
}
53+
],
54+
"codeExamples": [
55+
{
56+
"title": "Source code",
57+
"description": "Mastodon bot and fractal tree generator source code",
58+
"urls": {
59+
"node": "https://github.com/CodingTrain/Mastodon-Bot"
60+
}
61+
}
62+
],
63+
"groupLinks": [
64+
{
65+
"title": "References",
66+
"links": [
67+
{
68+
"icon": "🔗",
69+
"title": "Lowpoly Bot",
70+
"url": "https://twitter.com/lowpolybot",
71+
"description": "A Twitter bot by @Quasimondo that creates random low-polygon versions of pictures it receives."
72+
},
73+
{
74+
"icon": "🔗",
75+
"title": "Node.js",
76+
"url": "https://nodejs.org/en",
77+
"description": "Documentation about Node.js, a open-source JavaScript runtime environment."
78+
},
79+
{
80+
"icon": "🔗",
81+
"title": "Mastodon",
82+
"url": "https://mastodon.social/about",
83+
"description": "A decentralized social media powered by Mastodon"
84+
},
85+
{
86+
"icon": "🔗",
87+
"title": "Mastodon API on npm",
88+
"url": "https://www.npmjs.com/package/mastodon-api",
89+
"description": "A Mastodon API Client for node"
90+
},
91+
{
92+
"icon": "🔗",
93+
"title": "The 'procesing-java' command",
94+
"url": "https://github.com/processing/processing/wiki/Command-Line",
95+
"description": "Running Processing sketches from the command line"
96+
}
97+
]
98+
},
99+
{
100+
"title": "Videos",
101+
"links": [
102+
{
103+
"icon": "🎥",
104+
"title": "What is Mastodon?",
105+
"url": "/tracks/mastodon/mastodon/what-is-mastodon",
106+
"description": "My track on the social media API Mastodon."
107+
}
108+
]
109+
}
110+
],
111+
"credits": [
112+
{ "title": "Editing", "name": "Mathieu Blanchette" },
113+
{ "title": "Animations", "name": "Jason Heglund" }
114+
]
115+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"title": "Polite circles-maker bot",
3+
"url": "https://github.com/raynauds/mastodon-bot",
4+
"author": {
5+
"name": "Sébastien Raynaud",
6+
"url": "https://twitter.com/Chopokopx"
7+
},
8+
"submittedOn": "2018-11-12"
9+
}
523 KB
Loading
168 KB
Loading
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"title": "squarefractal2",
3+
"author": {
4+
"name": "Bart De Meyere",
5+
"instagram": "https://www.instagram.com/bdm_80/"
6+
},
7+
"url": "https://bartdemeyere.github.io/squarefractal2/",
8+
"submittedOn": "2024-09-10T20:41:54.323Z",
9+
"socialPermission": true
10+
}
7.96 KB
Loading

0 commit comments

Comments
 (0)