File tree 34 files changed +34
-96
lines changed
34 files changed +34
-96
lines changed Original file line number Diff line number Diff line change 40
40
41
41
< tr class =""> < th scope ="row "> Examples</ th > < td >
42
42
< div class ="example "> < img src ="img/ambient0.png "/>
43
- < pre class ='margin '> P3D <- "processing.opengl.PGraphics3D"
44
-
45
- settings <- function() {
43
+ < pre class ='margin '> settings <- function() {
46
44
size(100, 100, P3D)
47
45
}
48
46
Original file line number Diff line number Diff line change 40
40
41
41
< tr class =""> < th scope ="row "> Examples</ th > < td >
42
42
< div class ="example "> < img src ="img/ambientLight1.png "/>
43
- < pre class ='margin '> P3D <- "processing.opengl.PGraphics3D"
44
- PI <- pi
43
+ < pre class ='margin '> PI <- pi
45
44
46
45
settings <- function() {
47
46
size(100, 100, P3D)
61
60
</ pre >
62
61
</ div >
63
62
< div class ="example "> < img src ="img/ambientLight0.png "/>
64
- < pre class ='margin '> P3D <- "processing.opengl.PGraphics3D"
65
-
66
- settings <- function() {
63
+ < pre class ='margin '> settings <- function() {
67
64
size(100, 100, P3D)
68
65
}
69
66
Original file line number Diff line number Diff line change 40
40
41
41
< tr class =""> < th scope ="row "> Examples</ th > < td >
42
42
< div class ="example "> < img src ="img/applyMatrix0.png "/>
43
- < pre class ='margin '> P3D <- "processing.opengl.PGraphics3D"
44
- PI <- pi
43
+ < pre class ='margin '> PI <- pi
45
44
46
45
settings <- function() {
47
46
size(100, 100, P3D)
Original file line number Diff line number Diff line change 40
40
41
41
< tr class =""> < th scope ="row "> Examples</ th > < td >
42
42
< div class ="example "> < img src ="img/beginCamera0.png "/>
43
- < pre class ='margin '> P3D <- "processing.opengl.PGraphics3D"
44
- PI <- pi
43
+ < pre class ='margin '> PI <- pi
45
44
46
45
settings <- function() {
47
46
size(100, 100, P3D)
Original file line number Diff line number Diff line change 42
42
< div class ="example "> < img src ="img/box2.png "/>
43
43
< pre class ='margin '> # box 2 https://processing.org/reference/box_.html
44
44
45
- P3D <- "processing.opengl.PGraphics3D"
46
-
47
45
settings <- function() {
48
46
size(100, 100, P3D)
49
47
}
63
61
< div class ="example "> < img src ="img/box1.png "/>
64
62
< pre class ='margin '> # box 1 https://processing.org/reference/box_.html
65
63
66
- P3D <- "processing.opengl.PGraphics3D"
67
-
68
64
settings <- function() {
69
65
size(100, 100, P3D)
70
66
}
Original file line number Diff line number Diff line change 40
40
41
41
< tr class =""> < th scope ="row "> Examples</ th > < td >
42
42
< div class ="example "> < img src ="img/camera0.png "/>
43
- < pre class ='margin '> P3D <- "processing.opengl.PGraphics3D"
44
- PI <- pi
43
+ < pre class ='margin '> PI <- pi
45
44
46
45
settings <- function() {
47
46
size(100, 100, P3D)
Original file line number Diff line number Diff line change 43
43
< pre class ='margin '> # curveTightness 1x -- original fails on map, mouseX
44
44
# https://processing.org/reference/curveTightness_.html
45
45
46
- P3D <- "processing.opengl.PGraphics3D"
47
-
48
46
settings <- function() {
49
47
size(100, 100, P3D)
50
48
}
Original file line number Diff line number Diff line change 40
40
41
41
< tr class =""> < th scope ="row "> Examples</ th > < td >
42
42
< div class ="example "> < img src ="img/directionalLight0.png "/>
43
- < pre class ='margin '> P3D <- "processing.opengl.PGraphics3D"
44
-
45
- settings <- function() {
43
+ < pre class ='margin '> settings <- function() {
46
44
size(100, 100, P3D)
47
45
}
48
46
56
54
</ pre >
57
55
</ div >
58
56
< div class ="example "> < img src ="img/directionalLight1.png "/>
59
- < pre class ='margin '> P3D <- "processing.opengl.PGraphics3D"
60
-
61
- settings <- function() {
57
+ < pre class ='margin '> settings <- function() {
62
58
size(100, 100, P3D)
63
59
}
64
60
Original file line number Diff line number Diff line change 40
40
41
41
< tr class =""> < th scope ="row "> Examples</ th > < td >
42
42
< div class ="example "> < img src ="img/emissive0.png "/>
43
- < pre class ='margin '> P3D <- "processing.opengl.PGraphics3D"
44
-
45
- settings <- function() {
43
+ < pre class ='margin '> settings <- function() {
46
44
size(100, 100, P3D)
47
45
}
48
46
Original file line number Diff line number Diff line change 40
40
41
41
< tr class =""> < th scope ="row "> Examples</ th > < td >
42
42
< div class ="example "> < img src ="img/endCamera0.png "/>
43
- < pre class ='margin '> P3D <- "processing.opengl.PGraphics3D"
44
- PI <- pi
43
+ < pre class ='margin '> PI <- pi
45
44
46
45
settings <- function() {
47
46
size(100, 100, P3D)
Original file line number Diff line number Diff line change 40
40
41
41
< tr class =""> < th scope ="row "> Examples</ th > < td >
42
42
< div class ="example "> < img src ="img/frustum0.png "/>
43
- < pre class ='margin '> P3D <- "processing.opengl.PGraphics3D"
44
- PI <- pi
43
+ < pre class ='margin '> PI <- pi
45
44
46
45
settings <- function() {
47
46
size(100, 100, P3D)
Original file line number Diff line number Diff line change 40
40
41
41
< tr class =""> < th scope ="row "> Examples</ th > < td >
42
42
< div class ="example "> < img src ="img/lightFalloff0.png "/>
43
- < pre class ='margin '> P3D <- "processing.opengl.PGraphics3D"
44
- CLOSE <- as.integer(2)
43
+ < pre class ='margin '> CLOSE <- as.integer(2)
45
44
46
45
settings <- function() {
47
46
size(100, 100, P3D)
Original file line number Diff line number Diff line change 40
40
41
41
< tr class =""> < th scope ="row "> Examples</ th > < td >
42
42
< div class ="example "> < img src ="img/lightSpecular0.png "/>
43
- < pre class ='margin '> P3D <- "processing.opengl.PGraphics3D"
44
-
45
- settings <- function() {
43
+ < pre class ='margin '> settings <- function() {
46
44
size(100, 100, P3D)
47
45
}
48
46
Original file line number Diff line number Diff line change 40
40
41
41
< tr class =""> < th scope ="row "> Examples</ th > < td >
42
42
< div class ="example "> < img src ="img/lights1.png "/>
43
- < pre class ='margin '> P3D <- "processing.opengl.PGraphics3D"
44
-
45
- settings <- function() {
43
+ < pre class ='margin '> settings <- function() {
46
44
size(100, 100, P3D)
47
45
}
48
46
62
60
</ pre >
63
61
</ div >
64
62
< div class ="example "> < img src ="img/lights0.png "/>
65
- < pre class ='margin '> P3D <- "processing.opengl.PGraphics3D"
66
-
67
- settings <- function() {
63
+ < pre class ='margin '> settings <- function() {
68
64
size(100, 100, P3D)
69
65
}
70
66
Original file line number Diff line number Diff line change 60
60
61
61
# Drawing lines in 3D requires P3D as a parameter to size()
62
62
63
- P3D <- "processing.opengl.PGraphics3D"
64
-
65
63
settings <- function() {
66
64
size(100, 100, P3D)
67
65
}
Original file line number Diff line number Diff line change 40
40
41
41
< tr class =""> < th scope ="row "> Examples</ th > < td >
42
42
< div class ="example "> < img src ="img/modelX0.png "/>
43
- < pre class ='margin '> P3D <- "processing.opengl.PGraphics3D"
44
-
45
- settings <- function() {
43
+ < pre class ='margin '> settings <- function() {
46
44
size(100, 100, P3D)
47
45
}
48
46
Original file line number Diff line number Diff line change 40
40
41
41
< tr class =""> < th scope ="row "> Examples</ th > < td >
42
42
< div class ="example "> < img src ="img/modelY0.png "/>
43
- < pre class ='margin '> P3D <- "processing.opengl.PGraphics3D"
44
-
45
- settings <- function() {
43
+ < pre class ='margin '> settings <- function() {
46
44
size(100, 100, P3D)
47
45
}
48
46
Original file line number Diff line number Diff line change 40
40
41
41
< tr class =""> < th scope ="row "> Examples</ th > < td >
42
42
< div class ="example "> < img src ="img/modelZ0.png "/>
43
- < pre class ='margin '> P3D <- "processing.opengl.PGraphics3D"
44
-
45
- settings <- function() {
43
+ < pre class ='margin '> settings <- function() {
46
44
size(100, 100, P3D)
47
45
}
48
46
Original file line number Diff line number Diff line change 40
40
41
41
< tr class =""> < th scope ="row "> Examples</ th > < td >
42
42
< div class ="example "> < img src ="img/normal0.png "/>
43
- < pre class ='margin '> P3D <- "processing.opengl.PGraphics3D"
44
- CLOSE <- as.integer(2)
43
+ < pre class ='margin '> CLOSE <- as.integer(2)
45
44
46
45
settings <- function() {
47
46
size(100, 100, P3D)
Original file line number Diff line number Diff line change 40
40
41
41
< tr class =""> < th scope ="row "> Examples</ th > < td >
42
42
< div class ="example "> < img src ="img/ortho0.png "/>
43
- < pre class ='margin '> P3D <- "processing.opengl.PGraphics3D"
44
- PI <- pi
43
+ < pre class ='margin '> PI <- pi
45
44
46
45
settings <- function() {
47
46
size(100, 100, P3D)
Original file line number Diff line number Diff line change 40
40
41
41
< tr class =""> < th scope ="row "> Examples</ th > < td >
42
42
< div class ="example "> < img src ="img/perspective0.png "/>
43
- < pre class ='margin '> P3D <- "processing.opengl.PGraphics3D"
44
- PI <- pi
43
+ < pre class ='margin '> PI <- pi
45
44
46
45
settings <- function() {
47
46
size(100, 100, P3D)
Original file line number Diff line number Diff line change 52
52
< div class ="example "> < img src ="img/point2.png "/>
53
53
< pre class ='margin '> # point 2 https://processing.org/reference/point_.html
54
54
55
- P3D <- "processing.opengl.PGraphics3D"
56
55
settings <- function() {
57
56
size(100, 100, P3D)
58
57
}
Original file line number Diff line number Diff line change 40
40
41
41
< tr class =""> < th scope ="row "> Examples</ th > < td >
42
42
< div class ="example "> < img src ="img/pointLight0.png "/>
43
- < pre class ='margin '> P3D <- "processing.opengl.PGraphics3D"
44
-
45
- settings <- function() {
43
+ < pre class ='margin '> settings <- function() {
46
44
size(100, 100, P3D)
47
45
}
48
46
Original file line number Diff line number Diff line change 40
40
41
41
< tr class =""> < th scope ="row "> Examples</ th > < td >
42
42
< div class ="example "> < img src ="img/rotateX0.png "/>
43
- < pre class ='margin '> P3D <- "processing.opengl.PGraphics3D"
44
- PI <- pi
43
+ < pre class ='margin '> PI <- pi
45
44
46
45
settings <- function() {
47
46
size(100, 100, P3D)
55
54
</ pre >
56
55
</ div >
57
56
< div class ="example "> < img src ="img/rotateX1.png "/>
58
- < pre class ='margin '> P3D <- "processing.opengl.PGraphics3D"
59
- PI <- pi
57
+ < pre class ='margin '> PI <- pi
60
58
61
59
settings <- function() {
62
60
size(100, 100, P3D)
Original file line number Diff line number Diff line change 40
40
41
41
< tr class =""> < th scope ="row "> Examples</ th > < td >
42
42
< div class ="example "> < img src ="img/rotateY0.png "/>
43
- < pre class ='margin '> P3D <- "processing.opengl.PGraphics3D"
44
- PI <- pi
43
+ < pre class ='margin '> PI <- pi
45
44
46
45
settings <- function() {
47
46
size(100, 100, P3D)
55
54
</ pre >
56
55
</ div >
57
56
< div class ="example "> < img src ="img/rotateY1.png "/>
58
- < pre class ='margin '> P3D <- "processing.opengl.PGraphics3D"
59
- PI <- pi
57
+ < pre class ='margin '> PI <- pi
60
58
61
59
settings <- function() {
62
60
size(100, 100, P3D)
Original file line number Diff line number Diff line change 40
40
41
41
< tr class =""> < th scope ="row "> Examples</ th > < td >
42
42
< div class ="example "> < img src ="img/rotateZ0.png "/>
43
- < pre class ='margin '> P3D <- "processing.opengl.PGraphics3D"
44
- PI <- pi
43
+ < pre class ='margin '> PI <- pi
45
44
46
45
settings <- function() {
47
46
size(100, 100, P3D)
55
54
</ pre >
56
55
</ div >
57
56
< div class ="example "> < img src ="img/rotateZ1.png "/>
58
- < pre class ='margin '> P3D <- "processing.opengl.PGraphics3D"
59
- PI <- pi
57
+ < pre class ='margin '> PI <- pi
60
58
61
59
settings <- function() {
62
60
size(100, 100, P3D)
Original file line number Diff line number Diff line change 52
52
</ pre >
53
53
</ div >
54
54
< div class ="example "> < img src ="img/scale2.png "/>
55
- < pre class ='margin '> P3D <- "processing.opengl.PGraphics3D"
56
-
57
- settings <- function() {
55
+ < pre class ='margin '> settings <- function() {
58
56
size(100, 100, P3D)
59
57
}
60
58
Original file line number Diff line number Diff line change 40
40
41
41
< tr class =""> < th scope ="row "> Examples</ th > < td >
42
42
< div class ="example "> < img src ="img/shininess0.png "/>
43
- < pre class ='margin '> P3D <- "processing.opengl.PGraphics3D"
44
-
45
- settings <- function() {
43
+ < pre class ='margin '> settings <- function() {
46
44
size(100, 100, P3D)
47
45
}
48
46
Original file line number Diff line number Diff line change 40
40
41
41
< tr class =""> < th scope ="row "> Examples</ th > < td >
42
42
< div class ="example "> < img src ="img/specular0.png "/>
43
- < pre class ='margin '> P3D <- "processing.opengl.PGraphics3D"
44
-
45
- settings <- function() {
43
+ < pre class ='margin '> settings <- function() {
46
44
size(100, 100, P3D)
47
45
}
48
46
Original file line number Diff line number Diff line change 42
42
< div class ="example "> < img src ="img/sphere1.png "/>
43
43
< pre class ='margin '> # sphere 1 https://processing.org/reference/sphere_.html
44
44
45
- P3D <- "processing.opengl.PGraphics3D"
46
-
47
45
settings <- function() {
48
46
size(100, 100, P3D)
49
47
}
Original file line number Diff line number Diff line change 40
40
41
41
< tr class =""> < th scope ="row "> Examples</ th > < td >
42
42
< div class ="example "> < img src ="img/spotLight0.png "/>
43
- < pre class ='margin '> P3D <- "processing.opengl.PGraphics3D"
44
- PI <- pi
43
+ < pre class ='margin '> PI <- pi
45
44
46
45
settings <- function() {
47
46
size(100, 100, P3D)
57
56
</ pre >
58
57
</ div >
59
58
< div class ="example "> < img src ="img/spotLight1.png "/>
60
- < pre class ='margin '> P3D <- "processing.opengl.PGraphics3D"
61
- PI <- pi
59
+ < pre class ='margin '> PI <- pi
62
60
63
61
settings <- function() {
64
62
size(100, 100, P3D)
You can’t perform that action at this time.
0 commit comments