@@ -43,7 +43,7 @@ slug: learn/
43
43
<script src =" //toolness.github.io/p5.js-widget/p5-widget.js" ></script >
44
44
45
45
{{!-- large title sketch --}}
46
- <iframe src =" {{ assets }} /learn/basic3D /titleExample.html" width =" 720" height =" 350" >
46
+ <iframe src =" {{ assets }} /learn/basic3d /titleExample.html" width =" 720" height =" 350" >
47
47
</iframe >
48
48
49
49
<h1 >{{ #i18n " getting-started-in-webgl-coords-and-transform-title" }} {{ /i18n }} </h1 >
@@ -98,7 +98,7 @@ slug: learn/
98
98
99
99
<p >{{ #i18n " getting-started-in-webgl-coords-and-transform-p6x1" }} {{ /i18n }} </p >
100
100
101
- <img style =" padding:60px;" src =' {{ assets }} /learn/basic3D /images/2d3d_coordinates.png'
101
+ <img style =" padding:60px;" src =' {{ assets }} /learn/basic3d /images/2d3d_coordinates.png'
102
102
alt =" an illustration showing a 2D coordinate system on the left, showing an origin of (0,0) and a 3D coordinate system on the right, showing an origin of (0,0,0)" >
103
103
104
104
<h2 id =" transformations" >{{ #i18n " getting-started-in-webgl-coords-and-transform-heading3" }} {{ /i18n }} </h2 >
@@ -113,7 +113,7 @@ slug: learn/
113
113
<h3 >{{ #i18n " getting-started-in-webgl-coords-and-transform-subheading1" }} {{ /i18n }} </h3 >
114
114
115
115
{{!-- sketch illustrating translation of geometry --}}
116
- <iframe src =" {{ assets }} /learn/basic3D /translateExample.html" width =" 720" height =" 350" >
116
+ <iframe src =" {{ assets }} /learn/basic3d /translateExample.html" width =" 720" height =" 350" >
117
117
</iframe >
118
118
119
119
<p ><a class =" code" href =" {{ root }} /reference/#/p5/translate" >translate()</a > {{ #i18n
@@ -130,7 +130,7 @@ slug: learn/
130
130
<h3 >{{ #i18n " getting-started-in-webgl-coords-and-transform-subheading2" }} {{ /i18n }} </h3 >
131
131
132
132
{{!-- sketch illustrating rotation of geometry --}}
133
- <iframe src =" {{ assets }} /learn/basic3D /rotateExample.html" width =" 720" height =" 350" >
133
+ <iframe src =" {{ assets }} /learn/basic3d /rotateExample.html" width =" 720" height =" 350" >
134
134
</iframe >
135
135
136
136
<p ><a class =" code" href =" {{ root }} /reference/#/p5/rotate" >rotate()</a > {{ #i18n
@@ -176,7 +176,7 @@ slug: learn/
176
176
<h3 >{{ #i18n " getting-started-in-webgl-coords-and-transform-subheading3" }} {{ /i18n }} </h3 >
177
177
178
178
{{!-- sketch illustrating scaling of geometry --}}
179
- <iframe src =" {{ assets }} /learn/basic3D /scaleExample.html" width =" 720" height =" 350" >
179
+ <iframe src =" {{ assets }} /learn/basic3d /scaleExample.html" width =" 720" height =" 350" >
180
180
</iframe >
181
181
182
182
<p ><a class =" code" href =" {{ root }} /reference/#/p5/scale" >scale()</a > {{ #i18n
@@ -280,7 +280,7 @@ function draw() {
280
280
281
281
<p >{{ #i18n " getting-started-in-webgl-coords-and-transform-p19x1" }} {{ /i18n }} </p >
282
282
283
- <img style =" padding:60px;" src =' {{ assets }} /learn/basic3D /images/primitives_example.png'
283
+ <img style =" padding:60px;" src =' {{ assets }} /learn/basic3d /images/primitives_example.png'
284
284
alt =" an illustration showing each of the available primitives in p5.js" >
285
285
286
286
<p >{{ #i18n " getting-started-in-webgl-coords-and-transform-p20x1" }} {{ /i18n }} <a class =" code"
0 commit comments