Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
13
Task/Draw-a-cuboid/Processing/draw-a-cuboid.processing
Normal file
13
Task/Draw-a-cuboid/Processing/draw-a-cuboid.processing
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
size(500, 500, P3D);
|
||||
background(0);
|
||||
// position
|
||||
translate(width/2, height/2, -width/2);
|
||||
rotateZ(radians(15));
|
||||
rotateY(radians(-30));
|
||||
rotateX(radians(-25));
|
||||
// optional fill and lighting colors
|
||||
noStroke();
|
||||
fill(192, 255, 192);
|
||||
pointLight(255, 255, 255, 400, -400, 400);
|
||||
// draw box
|
||||
box(200, 300, 400);
|
||||
Loading…
Add table
Add a link
Reference in a new issue