<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>DF创客社区 - 分享创造的喜悦 - Processing</title>
    <link>https://static.dfrobot.com.cn/forum-106-1.html</link>
    <description>Latest 20 threads of Processing</description>
    <copyright>Copyright(C) DF创客社区 - 分享创造的喜悦</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Sat, 04 Apr 2026 09:33:24 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://static.dfrobot.com.cn/static/image/common/logo_88_31.gif</url>
      <title>DF创客社区 - 分享创造的喜悦</title>
      <link>https://static.dfrobot.com.cn/</link>
    </image>
    <item>
      <title>漂亮的旋转图</title>
      <link>https://static.dfrobot.com.cn/thread-318276-1-1.html</link>
      <description><![CDATA[def setup():
    size(600,600)
    rectMode(CENTER)
    colorMode(HSB)
t=0
def draw():
    global t
    background(255)
    translate(width/2,height/2)
    rotate(radians(t))
    for i in range(90):
        pushMatrix()
        translate(200,0]]></description>
      <category>Processing</category>
      <author>aliec</author>
      <pubDate>Mon, 25 Mar 2024 02:15:11 +0000</pubDate>
    </item>
    <item>
      <title>Processing笔记06—Processing控制Arduino点灯</title>
      <link>https://static.dfrobot.com.cn/thread-309891-1-1.html</link>
      <description><![CDATA[通过前面几篇学习笔记，我们已经对Processing有了一定的了解，可以绘制一些简单图形，以及响应鼠标键盘的输入。

1）初识Processing 2）Processing第一行代码 3）Processing基本图形绘制 4）Processing笔记04—鼠标键盘识别 5）Processing笔记05—贪吃蛇小游戏

[md]

 ...]]></description>
      <category>Processing</category>
      <author>KIKI</author>
      <pubDate>Fri, 09 Jul 2021 04:00:02 +0000</pubDate>
    </item>
    <item>
      <title>Processing笔记05—贪吃蛇小游戏</title>
      <link>https://static.dfrobot.com.cn/thread-309890-1-1.html</link>
      <description><![CDATA[贪吃蛇是非常经典的小游戏，大家肯定接触过，它在当年只能打电话发短信的诺基亚手机中是唯一的娱乐项目了。它的操作非常简单，很多编程语言都可以来实现它。我们已经学习了Processing中基本图形的绘制以及鼠标键盘的识别响应，本篇我们使用Processing来编程实现贪吃蛇小 ...]]></description>
      <category>Processing</category>
      <author>KIKI</author>
      <pubDate>Wed, 07 Jul 2021 03:00:01 +0000</pubDate>
    </item>
    <item>
      <title>Processing笔记04—鼠标键盘识别</title>
      <link>https://static.dfrobot.com.cn/thread-309835-1-1.html</link>
      <description><![CDATA[[md]

前面我们学习了Processing中基本图形的绘制，本篇来介绍Processing中对于鼠标键盘输入设备的识别，有了输入设备，我们就可以更加灵活的进行控制了。

## 鼠标坐标

在Processing中使用**mouseX**和**mouseY**变量来存储当前鼠标的坐标位置，默认值都为0。在程序运 ...]]></description>
      <category>Processing</category>
      <author>KIKI</author>
      <pubDate>Wed, 30 Jun 2021 05:00:02 +0000</pubDate>
    </item>
    <item>
      <title>Processing基本图形绘制</title>
      <link>https://static.dfrobot.com.cn/thread-309761-1-1.html</link>
      <description><![CDATA[[md]

编辑：Tony来源：公众号TonyCode

基本图形的绘制，是进行制作动画和交互的基础，Processing提供了丰富的图形绘制相关函数来满足我们的绘图需求。

## 坐标

任何图形绘制都离不开坐标系，在Processing中，原点为窗口的左上角，坐标值从左向右x轴增加，从上向下y ...]]></description>
      <category>Processing</category>
      <author>KIKI</author>
      <pubDate>Mon, 28 Jun 2021 07:00:01 +0000</pubDate>
    </item>
    <item>
      <title>Processing第一行代码</title>
      <link>https://static.dfrobot.com.cn/thread-309760-1-1.html</link>
      <description><![CDATA[[md]编辑：Tony来源：公众号TonyCode

Processing的开发环境「Processing Development Environment，缩写为PDE」我们已经安装完成，现在就可以开始编程了。

## PDE开发环境介绍

以Windows版本为例，运行PDE，你会发现外观跟Arduino的IDE有些类似。Processing源文件后 ...]]></description>
      <category>Processing</category>
      <author>KIKI</author>
      <pubDate>Thu, 24 Jun 2021 07:00:02 +0000</pubDate>
    </item>
    <item>
      <title>初识Processing</title>
      <link>https://static.dfrobot.com.cn/thread-309750-1-1.html</link>
      <description><![CDATA[最近在使用Arduino时遇上了Processing，越了解越喜欢，不说别的优点，这东东与Arduino交互做PC机上的数据展示真的是很不错的选择。可以说这是真正一门与艺术相关的编程语言，本篇开始将分享Processing系列学习笔记，希望感兴趣的朋友一起学习。

[md]## Processing是什 ...]]></description>
      <category>Processing</category>
      <author>KIKI</author>
      <pubDate>Mon, 21 Jun 2021 09:34:40 +0000</pubDate>
    </item>
    <item>
      <title>growing的 字母 然后有button可以控制 要怎么用array ...</title>
      <link>https://static.dfrobot.com.cn/thread-280125-1-1.html</link>
      <description><![CDATA[在一开始的时候字母就只是普通的样子没有身上的装饰。随着不断叠加第三个营养元素的时候的那些装饰才慢慢出来 参考我给的例子字母
void drawA(float x, float y, color cl) {  pushMatrix();  translate(x, y);  fill(cl);  strokeWeight(outline/20);  stroke(#31302E) ...]]></description>
      <category>Processing</category>
      <author>窗边的豆豆</author>
      <pubDate>Tue, 30 Apr 2019 16:26:27 +0000</pubDate>
    </item>
    <item>
      <title>video问题，问题，代码完全正确</title>
      <link>https://static.dfrobot.com.cn/thread-276290-1-1.html</link>
      <description><![CDATA[代码是完全正确的，但是跳出的提示，我想问是不是我的摄像头不支持这样的代码]]></description>
      <category>Processing</category>
      <author>千年老妖</author>
      <pubDate>Sun, 14 Apr 2019 05:01:02 +0000</pubDate>
    </item>
    <item>
      <title>各位前辈好我是刚学processing的菜鸟下面这行代码显示不了....</title>
      <link>https://static.dfrobot.com.cn/thread-269603-1-1.html</link>
      <description><![CDATA[[mw_shl_code=java,true]Tunnel oursGame = new Tunnel(0.1);


//float a;
float x, y;
int depth;


void setup() {
 
  size(1200, 800, P3D);
}


void draw() {
  background(0);
  translate(width/2.0, height/2.0-100, 0);
  
  pushMatrix();
]]></description>
      <category>Processing</category>
      <author>18758091619</author>
      <pubDate>Thu, 27 Sep 2018 11:57:51 +0000</pubDate>
    </item>
    <item>
      <title>求助：如何在PROCESSING中做文本输入框？</title>
      <link>https://static.dfrobot.com.cn/thread-29946-1-1.html</link>
      <description><![CDATA[求助：如何在PROCESSING中做文本输入框？可随时输入文本或数字，然后在屏幕上可以显示的那种]]></description>
      <category>Processing</category>
      <author>catia5</author>
      <pubDate>Sun, 19 Nov 2017 01:03:03 +0000</pubDate>
    </item>
    <item>
      <title>趣味编程指南（8-2）-自定义函数与分形递归</title>
      <link>https://static.dfrobot.com.cn/thread-26052-1-1.html</link>
      <description><![CDATA[好久没更新了，最近事情太多
这次来谈分形
分形

现在你可以通过递归函数探索另一个魅力无穷的世界 － 分形。


分形（Fractal），又称碎形、残形，通常被定义为“一个粗糙或零碎的几何形状，可以分成数个部分，且每一部分都（至少近似地）是整体缩小后的形状”，即具有 ...]]></description>
      <category>Processing</category>
      <author>kaka</author>
      <pubDate>Wed, 12 Jul 2017 03:34:02 +0000</pubDate>
    </item>
    <item>
      <title>趣味编程指南（8-1）-自定义函数与分形递归</title>
      <link>https://static.dfrobot.com.cn/thread-24203-1-1.html</link>
      <description><![CDATA[自定义函数与分形递归

这节将会介绍如何在程序中自定义函数，同时用递归函数创作分形图形。
自定义函数 编程中的一个重要概念就是复用。而定义函数，最能体现复用思想。不夸张地说，只有灵活地掌握它，才算真正走进编程的大门。因为你会开始去思考，如何对一些序列化 ...]]></description>
      <category>Processing</category>
      <author>kaka</author>
      <pubDate>Sat, 08 Apr 2017 13:50:17 +0000</pubDate>
    </item>
    <item>
      <title>请教processing运行慢怎么回事</title>
      <link>https://static.dfrobot.com.cn/thread-24202-1-1.html</link>
      <description><![CDATA[就几行代码，点运行要等好几分钟
版本 3.3 64位
电脑 win10   64位]]></description>
      <category>Processing</category>
      <author>coldmeat</author>
      <pubDate>Sat, 08 Apr 2017 12:17:09 +0000</pubDate>
    </item>
    <item>
      <title>趣味编程指南（7）-制作GIF动图</title>
      <link>https://static.dfrobot.com.cn/thread-24194-1-1.html</link>
      <description><![CDATA[本来这篇是准备讲下分形的，但是鉴于@gray6666 咨询如何转GIF动图，所以我将本来打算后面介绍的提前。


还有几张效果好的动图因为论坛限制附件大小无法发上来@Ash @luna 
技巧以往的方法，一般是通过 saveFrame（）命令导出系列帧。再在其他软件中进行合成。现在我们 ...]]></description>
      <category>Processing</category>
      <author>kaka</author>
      <pubDate>Sat, 08 Apr 2017 03:02:40 +0000</pubDate>
    </item>
    <item>
      <title>趣味编程指南（6-2）-程序的流程控制-判断语句2</title>
      <link>https://static.dfrobot.com.cn/thread-23861-1-1.html</link>
      <description><![CDATA[KeyPressed 事件现在相信你已经理解 if 的特性了。但要让它更好玩，你还需要用到后面介绍的一些编程概念。接着要介绍的，就是 keyPressed 事件。前面与程序发生交互，基本上都是靠鼠标坐标 mouseX，mouseY 来实现的。虽然灵活，但局限性也很明显。当我们想通过鼠标位置 ...]]></description>
      <category>Processing</category>
      <author>kaka</author>
      <pubDate>Tue, 21 Mar 2017 11:01:50 +0000</pubDate>
    </item>
    <item>
      <title>趣味编程指南（6-1）-程序的流程控制-判断语句1</title>
      <link>https://static.dfrobot.com.cn/thread-23430-1-1.html</link>
      <description><![CDATA[程序流程控制－if 语句 

上节提到，for 循环可以让某段代码反复执行，如果我们用一根线条来去类比程序的执行流程，它就像其中打圈的部分。而后面介绍的 if 语句，则会使程序创建多个分支，呈现树根一样的形态。
这节主要展示 if 语句的特性，同时辅以多个知识。你会了 ...]]></description>
      <category>Processing</category>
      <author>kaka</author>
      <pubDate>Thu, 23 Feb 2017 11:00:04 +0000</pubDate>
    </item>
    <item>
      <title>趣味编程指南（5-2）-程序的流程控制-循环语句2</title>
      <link>https://static.dfrobot.com.cn/thread-23357-1-1.html</link>
      <description><![CDATA[继续上一节的内容
制造简单笔刷 再回到 for 循环。前面例举的示例都是没有交互的，要让结果更有趣可不能忘记将 mouseX，mouseY 结合到代码中。
－－代码示例（5-10）:
[mw_shl_code=applescript,true] void setup(){
      size(700, 700);
      background(255);
    ...]]></description>
      <category>Processing</category>
      <author>kaka</author>
      <pubDate>Wed, 22 Feb 2017 05:26:15 +0000</pubDate>
    </item>
    <item>
      <title>趣味编程指南（5-1）-程序的流程控制-循环语句1</title>
      <link>https://static.dfrobot.com.cn/thread-23338-1-1.html</link>
      <description><![CDATA[从这节开始，你将会接触到编程中一个重要且强大的知识点 - 循环语句。在此之前，若你想在程序中画一万个圆，只能用一个可怕的方式去做，写一万行 ellipse。那些千方百计为了提高效率（偷懒）的语言设计者肯定不会允许这样的事发生。所以就有了循环语句。通过它，你可以 ...]]></description>
      <category>Processing</category>
      <author>kaka</author>
      <pubDate>Tue, 21 Feb 2017 05:57:01 +0000</pubDate>
    </item>
    <item>
      <title>写给设计师的趣味编程指南－（4）​让图形跑起来（下）</title>
      <link>https://static.dfrobot.com.cn/thread-22951-1-1.html</link>
      <description><![CDATA[运动与函数在大多人的印象里，数学好像没什么用，在日常生活里用得最多的也仅仅是加减乘除。但如果你是在用程序做创作，情况就大不一样。了解越多，越能玩出花样。先搬上几张的不明觉厉的图挑逗下大家的兴致。这是什么？先不剧透，后面你会亲自用上它。上一节，我们了解 ...]]></description>
      <category>Processing</category>
      <author>kaka</author>
      <pubDate>Tue, 17 Jan 2017 05:28:10 +0000</pubDate>
    </item>
  </channel>
</rss>