Processing编程艺术 Processing编程艺术爱好者殿堂
网站导航
  • 首页
  • 文档
  • 软件下载
  • 书籍
  • 教程
  • 项目
  • Sketch
  • 联系我们
  • 书籍
2017
08-05

spotLight()聚光灯

卡萨布兰卡 文档 围观411次 留下评论
spotLight()聚光灯 NamespotLight()聚光灯  Examples size(100, 100, P3D); background(0); noStroke(); spotLight(51, 102, 126, 80, 20, 40, -1, 0, 0, PI/2, 2); translate(.... Read More >
2017
08-05

pointLight()添加点光源

卡萨布兰卡 文档 围观542次 留下评论
pointLight()添加点光源 NamepointLight()添加点光源  Examples size(100, 100, P3D); background(0); noStroke(); pointLight(51, 102, 126, 35, 40, 36); translate(80, 50, 0); sph.... Read More >
2017
08-05

normal()设置当前正常向量

卡萨布兰卡 文档 围观254次 留下评论
normal()设置当前正常向量 Namenormal()设置当前正常向量  Examples size(100, 100, P3D); noStroke(); background(0); pointLight(150, 250, 150, 10, 30, 50); beginShape(); normal(0, 0.... Read More >
2017
08-05

noLights()禁用照明

卡萨布兰卡 文档 围观224次 留下评论
NamenoLights()禁用照明  DescriptionDisable all lighting. Lighting is turned off by default and enabled with the lights() function. This function can be used to disable lighting so that 2D geometry (which .... Read More >
2017
08-05

lightSpecular()光镜面

卡萨布兰卡 文档 围观412次 留下评论
lightSpecular()光镜面 NamelightSpecular()光镜面  Examples size(100, 100, P3D); background(0); noStroke(); directionalLight(102, 102, 102, 0, 0, -1); lightSpecular(204, .... Read More >
2017
08-04

发放第三期BOSS的源代码

虎牙拯救世界 Sktech 围观825次 留下评论
FlowField flow; ArrayList<Vehicle> vlist; PVector center; void setup() { size(1200, 600); flow = new FlowField(); vlist = new ArrayList<Vehicle>(); for (int i = 0; i<70; i++).... Read More >
2017
08-02

lights()设置默认光源参数

卡萨布兰卡 文档 围观271次 留下评论
lights()设置默认光源参数 Name lights()设置默认光源参数 Examples size(100, 100, P3D); background(0); noStroke(); // Sets the default ambient //.... Read More >
2017
08-02

lightFalloff()光源衰减率

卡萨布兰卡 文档 围观651次 留下评论
lightFalloff()光源衰减率 Name lightFalloff()光源衰减率 Examples size(100, 100, P3D); noStroke(); background(0); lightFalloff(1.0, 0.001, 0.0);.... Read More >
2017
08-02

directionalLight()定向光源

卡萨布兰卡 文档 围观500次 留下评论
directionalLight()定向光源 Name directionalLight()定向光源 Examples         size(100, 100, P3D); background(0); noStroke(); directionalLight.... Read More >
2017
08-02

ambientLight()环境光源

卡萨布兰卡 文档 围观750次 留下评论
ambientLight()环境光源 NameambientLight()环境光源  Examples size(100, 100, P3D); background(0); noStroke(); // The spheres are white by default so // the ambient light ch.... Read More >
2017
08-02

selectOutput()选择输出

卡萨布兰卡 文档 围观601次 留下评论
NameselectOutput()选择输出  Examplesvoid setup() { selectOutput("Select a file to write to:", "fileSelected"); }  void fileSelected(File selection) { if (selection == null) { println("Window was .... Read More >
2017
08-02

saveXML()保存XML对象

卡萨布兰卡 文档 围观414次 留下评论
NamesaveXML()保存XML对象  Examples// The following short XML file called "mammals.xml" is parsed // in the code below. It must be in the project's "data" folder. // // <?xml version="1.0"?> // <.... Read More >
2017
08-02

saveTable()保存表

卡萨布兰卡 文档 围观198次 留下评论
NamesaveTable()保存表  ExamplesTable table;  void setup() {   table = new Table();   table.addColumn("id"); table.addColumn("species"); table.addColumn("name");   TableRow newRow = table.a.... Read More >
2017
08-02

saveStrings()保存字符串

卡萨布兰卡 文档 围观449次 留下评论
NamesaveStrings()保存字符串  ExamplesString words = "apple bear cat dog"; String[] list = split(words, ' ');  // Writes the strings to a file, each on a separate line saveStrings("nouns.txt", list);Descri.... Read More >
2017
08-02

saveStream()保存流文件

卡萨布兰卡 文档 围观227次 留下评论
NamesaveStream()保存流文件  Examples DescriptionSave the contents of a stream to a file in the sketch folder. This is basically saveBytes(blah, loadBytes()), but done more efficiently (and with less confus.... Read More >
2017
08-02

saveJSONObject()保存JSON对象

卡萨布兰卡 文档 围观836次 留下评论
NamesaveJSONObject()保存JSON对象  ExamplesJSONObject json;  void setup() {   json = new JSONObject();   json.setInt("id", 0); json.setString("species", "Panthera leo"); json.setString("name", "Li.... Read More >
2017
08-02

saveJSONArray()保存JSON数组

卡萨布兰卡 文档 围观308次 留下评论
NamesaveJSONArray()保存JSON数组  ExamplesString[] species = { "Capra hircus", "Panthera pardus", "Equus zebra" }; String[] names = { "Goat", "Leopard", "Zebra" };  JSONArray values;  void setup() {   .... Read More >
2017
08-02

saveBytes()保存byte数组

卡萨布兰卡 文档 围观449次 留下评论
NamesaveBytes()保存byte数组  Examplesbyte[] nums = { 0, 34, 5, 127, 52};  // Writes the bytes to a file saveBytes("numbers.dat", nums);DescriptionAs the opposite of loadBytes(), this function will write .... Read More >
« 上一页12345678910下一页 »
  • 注册 记住我的登录信息

  • processing

    • 文章总数:466篇
    • 分类总数:5个
    • 标签总数:7个
    • 评论总数:224条
    • 页面总数:11个
    • 网站已运行:1360天
  • 分类目录

    • Sktech
    • 书籍
    • 教程
    • 文档
    • 未分类
  • 读者墙

    • 近期评论

      • 卡萨布兰卡

        卡萨布兰卡 6月之前说:

        真的很难

      • menber 7月之前说:

        把中文的单引号和双引号换成英文的,然后有几处改成--

      • 肖志喜 8月之前说:

        我想学习这个编程艺术

      • 小鱼 9月之前说:

        小白求详解

      • 灰灰 10月之前说:

        请问qq群如何添加

    • 随机文章

      • mouseButton鼠标按钮
      • popStyle()还原原先设置样式
      • year()年
      • saturation()颜色的饱和度值
      • 第三期 Boss——《就是些线条而已》
      • 习作CA_简单求对角线交点
      • return返回
      • screenZ()屏幕Z坐标
      • BufferedReader缓冲读取文件
      • 习作CC_直角三角形范围判定应用场景地图墙壁碰撞判定
    • 功能

      • 注册
      • 登录
      • 文章RSS
      • 评论RSS
      • WordPress.org
    • 文章归档

      • 2020年九月
      • 2019年三月
      • 2018年十月
      • 2018年九月
      • 2018年七月
      • 2018年六月
      • 2018年五月
      • 2018年四月
      • 2018年三月
      • 2018年一月
      • 2017年十二月
      • 2017年十一月
      • 2017年十月
      • 2017年九月
      • 2017年八月
      • 2017年七月
      • 2017年六月
    • 2021年二月
      一 二 三 四 五 六 日
      « 9月    
      1234567
      891011121314
      15161718192021
      22232425262728
    • 标签

      文档 (18) structure结构 (17) 教程 (6) 基础教程 (5) 展示 (1) 库 (1) 粒子 (1)
    • 近期文章

      • 小清新画风的船
      • 测试2
      • 测试1
      • 在openprcessing上收集了一波源代码,分享一下
      • 习作DC_四边方格地图应用寻径到计算移动范围
    • 友情链接

      • Arduino入门与进阶
      • 专筑网
      • 骑驴玩漂移
    返回顶部   苏ICP备15051279号-2 © | Theme frontopen2