-
Notifications
You must be signed in to change notification settings - Fork 122
Expand file tree
/
Copy pathindex.json
More file actions
181 lines (181 loc) Β· 6.93 KB
/
index.json
File metadata and controls
181 lines (181 loc) Β· 6.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
{
"title": "p5.js 2.0: Typography and Fonts",
"description": "Let's explore new typography features in p5.js 2.0! In this video, I cover how to work with variable fonts, convert text to 3D models with textModel(), extract contours with textContours(), and control the detail of your typography with sampleFactor and simplifyThreshold.",
"videoId": "d0GgzjCFWq0",
"nebulaSlug": "codingtrain-p5js-20-typography",
"date": "2026-03-22",
"languages": ["p5.js", "JavaScript"],
"topics": ["typography", "fonts", "text", "p5.js 2", "variable fonts", "3D text", "text contours"],
"canContribute": true,
"relatedChallenges": ["59-steering-behaviors"],
"timestamps": [
{ "time": "0:00", "title": "Welcome!" },
{ "time": "0:49", "title": "Finding Fonts (Google Fonts)" },
{ "time": "1:01", "title": "Loading Fonts with Async/Await" },
{ "time": "2:30", "title": "Variable Fonts" },
{ "time": "3:17", "title": "textWeight()" },
{ "time": "4:03", "title": "Animated Text Weight" },
{ "time": "4:31", "title": "Coding Challenge 59 - Steering Behaviors" },
{ "time": "5:15", "title": "textContours() Introduction" },
{ "time": "6:00", "title": "sampleFactor and simplifyThreshold" },
{ "time": "9:00", "title": "sampleFactor Explained" },
{ "time": "12:00", "title": "simplifyThreshold Explained" },
{ "time": "14:00", "title": "Updating Challenge 59 to p5.js 2.0" },
{ "time": "15:00", "title": "Angle Property of Contours" },
{ "time": "17:00", "title": "textModel() for 3D Text" },
{ "time": "19:00", "title": "Extrude Option" },
{ "time": "20:11", "title": "Goodbye!" }
],
"codeExamples": [
{
"title": "Variable Font Weights",
"description": "Explore using variable fonts with different weights in p5.js 2.0.",
"image": "weight.png",
"urls": {
"p5": "https://editor.p5js.org/codingtrain/sketches/9SZYb2vX3"
}
},
{
"title": "textContours()",
"description": "Extract contours from text characters using the new textContours() function.",
"image": "contours.png",
"urls": {
"p5": "https://editor.p5js.org/codingtrain/sketches/ffDf3LmKi"
}
},
{
"title": "textModel() - 3D Text",
"description": "Create 3D text models with the textModel() function in p5.js 2.0.",
"image": "model.png",
"urls": {
"p5": "https://editor.p5js.org/codingtrain/sketches/Z4DkmlvyM"
}
},
{
"title": "Coding Challenge 59 - p5.js 2.0",
"description": "Steering behaviors coding challenge updated for p5.js 2.0 with new typography features.",
"image": "steering.png",
"urls": {
"p5": "https://editor.p5js.org/codingtrain/sketches/cetWD9rvY"
}
},
{
"title": "One Letter, Two Contours",
"description": "Demonstrating how a single letter can have multiple contours.",
"image": "oneandtwo.png",
"urls": {
"p5": "https://editor.p5js.org/codingtrain/sketches/2xr1TAmXK"
}
},
{
"title": "sampleFactor Diagram",
"description": "Visual diagram showing how the sampleFactor parameter affects text rendering.",
"image": "samplefactor.png",
"urls": {
"p5": "https://editor.p5js.org/codingtrain/sketches/c23YgfIhC"
}
},
{
"title": "simplifyThreshold Demo",
"description": "Working example demonstrating the simplifyThreshold parameter for text contours.",
"image": "simplifythreshold.png",
"urls": {
"p5": "https://editor.p5js.org/codingtrain/sketches/9_CnA7lrl"
}
}
],
"groupLinks": [
{
"title": "References",
"links": [
{
"icon": "π",
"title": "p5.js 2.0: You Are Here & How to Contribute!",
"url": "https://discourse.processing.org/t/dev-updates-p5-js-2-0-you-are-here-how-to-contribute/46130",
"description": "p5.js Discourse thread on the 2.0 release."
},
{
"icon": "π€",
"title": "Google Fonts",
"url": "https://fonts.google.com",
"description": "Find and use web fonts in your p5.js sketches"
},
{
"icon": "π",
"title": "Typography questions and possible bugs (Issue #8177)",
"url": "https://github.com/processing/p5.js/issues/8177",
"description": "Discussion about bugs and questions related to this video."
},
{
"icon": "π",
"title": "Reference errors: textToContours() and textToModel() (Issue #8623)",
"url": "https://github.com/processing/p5.js/issues/8623",
"description": "Discussion about p5.js typography reference errors."
},
{
"icon": "π",
"title": "loadFont() Reference",
"url": "https://beta.p5js.org/reference/p5/loadFont/",
"description": "Documentation for loading fonts in p5.js 2.0"
},
{
"icon": "π",
"title": "textWeight() Reference",
"url": "https://beta.p5js.org/reference/p5/textWeight",
"description": "Documentation for the textWeight() function"
},
{
"icon": "π",
"title": "textContours() Reference",
"url": "https://beta.p5js.org/reference/p5/textContours",
"description": "Documentation for the textContours() function"
},
{
"icon": "π",
"title": "textModel() Reference",
"url": "https://beta.p5js.org/reference/p5/textModel",
"description": "Documentation for the textModel() function"
}
]
},
{
"title": "Videos",
"links": [
{
"icon": "π₯",
"title": "p5.js 2.0 with Kit Kuksenok",
"url": "/tracks/livestreams/livestreams/p5js-2.0",
"description": "Livestream featuring Kit Kuksenok demonstrating p5.js 2.0 typography features"
},
{
"icon": "π",
"title": "p5.js 2.0: Async and Await",
"url": "/tracks/p5js-2.0/p5js-2.0/async-await",
"description": "Learn about async/await in p5.js 2.0"
},
{
"icon": "π",
"title": "p5.js 2.0: Loading Data",
"url": "/tracks/p5js-2.0/p5js-2.0/loading-data",
"description": "Loading data and assets in p5.js 2.0"
},
{
"icon": "π",
"title": "Translate, Rotate, Push/Pop",
"url": "/tracks/transformations-in-p5/transformations/translate-rotate-push-pop",
"description": "Learn about transformations in p5.js"
},
{
"icon": "π―",
"title": "Coding Challenge #59: Steering Behaviors",
"url": "/challenges/59-steering-behaviors",
"description": "Original steering behaviors challenge, updated for p5.js 2.0 in this video"
}
]
}
],
"credits": [
{ "title": "Editing", "name": "Mathieu Blanchette" },
{ "title": "Animations", "name": "Jason Heglund" }
]
}