⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 primitives3d.pde

📁 This is processing for java examples.
💻 PDE
字号:
/** * Primitives 3D.  *  * Placing mathematically 3D objects in synthetic space. * The lights() method reveals their imagined dimension. * The box() and sphere() functions each have one parameter * which is used to specify their size. These shapes are * positioned using the translate() function. */ size(640, 360, P3D); background(0);lights();noStroke();pushMatrix();translate(130, height/2, 0);rotateY(1.25);rotateX(-0.4);box(100);popMatrix();noFill();stroke(255);pushMatrix();translate(500, height*0.35, -200);sphere(280);popMatrix();

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -