# Latest

**URL:** https://discourse.processing.org/latest.md?page=602

[Latest](https://discourse.processing.org/latest.md) · [Categories](https://discourse.processing.org/categories.md) · [Tags](https://discourse.processing.org/tags.md)

**Page:** 603

---

## [Game impediments](https://discourse.processing.org/t/game-impediments/896)

<div class="topic-metadata">

**Author:** [@Speedo](https://discourse.processing.org/u/Speedo)\
**Replies:** 4\
**Last updated:** [July 25, 2018, 7:37am UTC](https://discourse.processing.org/t/game-impediments/896 "2018-07-25T07:37:52Z")

</div>

I’m programming a little game at the moment; in this game you can “drive” with a little square in a little map. The map is drawn with loaded images; black squares which don’t move. Now my question: How can I make this…

---

## [FInding an empty .pde file on startup](https://discourse.processing.org/t/finding-an-empty-pde-file-on-startup/2054)

<div class="topic-metadata">

**Author:** [@Sissyl](https://discourse.processing.org/u/Sissyl)\
**Replies:** 2\
**Last updated:** [July 25, 2018, 6:59am UTC](https://discourse.processing.org/t/finding-an-empty-pde-file-on-startup/2054 "2018-07-25T06:59:50Z")

</div>

For the second time, I find that when I start up my sketch, the .pde file is empty of everything. I saved before I closed the program. I didn’t do anything particularly advanced, it was a somewhat working sprite editor p…

---

## [Copy code shortcut](https://discourse.processing.org/t/copy-code-shortcut/660)

<div class="topic-metadata">

**Author:** [@kfrajer](https://discourse.processing.org/u/kfrajer)\
**Replies:** 3\
**Last updated:** [July 25, 2018, 6:01am UTC](https://discourse.processing.org/t/copy-code-shortcut/660 "2018-07-25T06:01:47Z")

</div>

It would be great to have a button that allows to copy the code on a code block when browsing a post. Possible? Kf

---

## [Says missing curly brackets, but they're all there](https://discourse.processing.org/t/says-missing-curly-brackets-but-theyre-all-there/2059)

<div class="topic-metadata">

**Author:** [@donotread123](https://discourse.processing.org/u/donotread123)\
**Replies:** 1\
**Last updated:** [July 25, 2018, 5:53am UTC](https://discourse.processing.org/t/says-missing-curly-brackets-but-theyre-all-there/2059 "2018-07-25T05:53:14Z")

</div>

Unless I’m missing something, this code should be correct. My goal was to make a circle (“Bubble”) which would be a random color. however, it says that I am missing curly brackets “{” missing on line 4: int color = int(…

---

## [How to add Processing shortcut to launch panel](https://discourse.processing.org/t/how-to-add-processing-shortcut-to-launch-panel/1949)

<div class="topic-metadata">

**Author:** [@ddownn](https://discourse.processing.org/u/ddownn)\
**Replies:** 6\
**Last updated:** [July 25, 2018, 5:47am UTC](https://discourse.processing.org/t/how-to-add-processing-shortcut-to-launch-panel/1949 "2018-07-25T05:47:17Z")

</div>

I have tried several different ways to add a shortcut for the Processing app to the launch panel but it doesn’t want to go. Does anyone know how to get it in there? I’ve tried dragging it, tried adding it by the panel ed…

---

## [Processing, raspberry pi and camera](https://discourse.processing.org/t/processing-raspberry-pi-and-camera/2027)

<div class="topic-metadata">

**Author:** [@jb4x](https://discourse.processing.org/u/jb4x)\
**Replies:** 26\
**Last updated:** [July 24, 2018, 11:33pm UTC](https://discourse.processing.org/t/processing-raspberry-pi-and-camera/2027 "2018-07-24T23:33:38Z")

</div>

Hi everyone, For my project on building a universal ambilight system, I need to access the data from a camera plug into my raspberry Pi. at first I couldn’t even find a camera from processing with the video library so …

---

## [Export QuickTime Movie using a sketch](https://discourse.processing.org/t/export-quicktime-movie-using-a-sketch/2014)

<div class="topic-metadata">

**Author:** [@DongKingKong0](https://discourse.processing.org/u/DongKingKong0)\
**Replies:** 2\
**Last updated:** [July 24, 2018, 7:46pm UTC](https://discourse.processing.org/t/export-quicktime-movie-using-a-sketch/2014 "2018-07-24T19:46:10Z")

</div>

I want to have a sketch to export a QuickTime Movie from images created with saveFrame(). I don’t want to use the “Create Movie” Tool for that. As far as I know, this function was included in the processing.video libra…

---

## [OpenGL Renderer issue](https://discourse.processing.org/t/opengl-renderer-issue/2033)

<div class="topic-metadata">

**Author:** [@chanof](https://discourse.processing.org/u/chanof)\
**Replies:** 2\
**Last updated:** [July 24, 2018, 1:16pm UTC](https://discourse.processing.org/t/opengl-renderer-issue/2033 "2018-07-24T13:16:49Z")

</div>

Hello everyone, I find a problem on android mode with renderers: On: Processing 3.3.7 Max OSX 10.13.5 Samsung S7 Android 8.0.0 void setup(){ fullScreen(P2D); } void draw(){} I get this error on the consolle with th…

---

## [Drag and Drop for android](https://discourse.processing.org/t/drag-and-drop-for-android/2019)

<div class="topic-metadata">

**Author:** [@reda](https://discourse.processing.org/u/reda)\
**Replies:** 2\
**Last updated:** [July 24, 2018, 5:10pm UTC](https://discourse.processing.org/t/drag-and-drop-for-android/2019 "2018-07-24T17:10:19Z")

</div>

I’m new to processing but I have a good programming skills I want to drag ie a square shape and drop it on another square , a kind of matching shapes games could you help on that please. more clarification : if I dra…

---

## [At a loss and sure what to do](https://discourse.processing.org/t/at-a-loss-and-sure-what-to-do/1972)

<div class="topic-metadata">

**Author:** [@NNY](https://discourse.processing.org/u/NNY)\
**Replies:** 12\
**Last updated:** [July 24, 2018, 5:03pm UTC](https://discourse.processing.org/t/at-a-loss-and-sure-what-to-do/1972 "2018-07-24T17:03:37Z")

</div>

Im trying to build a very basic cellular automata program for a school assignment. I need to draw a grid, randomly “infect” a cell and then it needs to spread out from there. In my current code i can draw the grid, infec…

---

## [SVG properties - modifying after import](https://discourse.processing.org/t/svg-properties-modifying-after-import/2028)

<div class="topic-metadata">

**Author:** [@pxlmnkeee](https://discourse.processing.org/u/pxlmnkeee)\
**Replies:** 6\
**Last updated:** [July 24, 2018, 3:28pm UTC](https://discourse.processing.org/t/svg-properties-modifying-after-import/2028 "2018-07-24T15:28:45Z")

</div>

I’m using the Python mode in Processing, but I’m guessing this might be an issue in other processing modes as well: I’ve imported some SVGs exported from Illustrator (as well as other hand coded SVGs) and I’m having pro…

---

## [P5-manager for windows?](https://discourse.processing.org/t/p5-manager-for-windows/2039)

<div class="topic-metadata">

**Author:** [@munani86](https://discourse.processing.org/u/munani86)\
**Replies:** 2\
**Last updated:** [July 24, 2018, 2:14pm UTC](https://discourse.processing.org/t/p5-manager-for-windows/2039 "2018-07-24T14:14:45Z")

</div>

I just started to learn p5.js. From the start point of installing p5-manager, I got difficulties in installing p5-manager. 1\> is there any description for windowns? 2\> is it fine to skip p5-manger??

---

## [Limit speed of an object](https://discourse.processing.org/t/limit-speed-of-an-object/2044)

<div class="topic-metadata">

**Author:** [@mattwonderwall](https://discourse.processing.org/u/mattwonderwall)\
**Replies:** 3\
**Last updated:** [July 24, 2018, 12:22pm UTC](https://discourse.processing.org/t/limit-speed-of-an-object/2044 "2018-07-24T12:22:01Z")

</div>

I’ve been breaking my head over how I can limit the speed of a bouncing ball. I’ve chosen that for every time it hits, to increase the speed by 5%, using the following code. if (xpos \> width-rad || xpos \< rad || ypos \>…

---

## [Controlling Textures on p5 + WebGL box](https://discourse.processing.org/t/controlling-textures-on-p5-webgl-box/1105)

<div class="topic-metadata">

**Author:** [@Quilliam](https://discourse.processing.org/u/Quilliam)\
**Replies:** 2\
**Last updated:** [July 24, 2018, 11:10am UTC](https://discourse.processing.org/t/controlling-textures-on-p5-webgl-box/1105 "2018-07-24T11:10:41Z")

</div>

Hi all, I’m weighing up whether to embark on a 3D, block based diorama game in CSS3 (3d transforms) or in p5 + WebGL. There are lots of issues in making a 3D isometric map with CSS3 so I’m hoping you guys have an answer…

---

## [Randomize color on bouncing ball](https://discourse.processing.org/t/randomize-color-on-bouncing-ball/2042)

<div class="topic-metadata">

**Author:** [@mattwonderwall](https://discourse.processing.org/u/mattwonderwall)\
**Replies:** 1\
**Last updated:** [July 24, 2018, 10:29am UTC](https://discourse.processing.org/t/randomize-color-on-bouncing-ball/2042 "2018-07-24T10:29:50Z")

</div>

I’ve created a bouncing ball and want to randomize the color of the ball with each hit against the size perimeter. However, with the following code it will only randomize the color once and stay that color (filler is the…

---

## [OpenGL disable anti-aliasing](https://discourse.processing.org/t/opengl-disable-anti-aliasing/2024)

<div class="topic-metadata">

**Author:** [@DongKingKong0](https://discourse.processing.org/u/DongKingKong0)\
**Replies:** 4\
**Last updated:** [July 24, 2018, 7:29am UTC](https://discourse.processing.org/t/opengl-disable-anti-aliasing/2024 "2018-07-24T07:29:58Z")

</div>

The question is simple: Is there any way to disable anti-aliasing in OPENGL? I couldn’t find a way to do this, so any suggestion is much appreciated :slight\_smile:

---

## [How can use this java file inside processing sketch](https://discourse.processing.org/t/how-can-use-this-java-file-inside-processing-sketch/2001)

<div class="topic-metadata">

**Author:** [@basher24](https://discourse.processing.org/u/basher24)\
**Replies:** 2\
**Last updated:** [July 24, 2018, 3:32am UTC](https://discourse.processing.org/t/how-can-use-this-java-file-inside-processing-sketch/2001 "2018-07-24T03:32:04Z")

</div>

how can i call the startup() function from processing sketch ? /\* LiveRecognitionApp.java \*/ package liverecognition; import org.jdesktop.application.Application; import org.jdesktop.application.SingleFrameApplica…

---

## [Edit character in text file](https://discourse.processing.org/t/edit-character-in-text-file/1953)

<div class="topic-metadata">

**Author:** [@Grimtin10](https://discourse.processing.org/u/Grimtin10)\
**Replies:** 2\
**Last updated:** [July 23, 2018, 6:34pm UTC](https://discourse.processing.org/t/edit-character-in-text-file/1953 "2018-07-23T18:34:27Z")

</div>

i need to write some data, how do i edit a single character in a text file? -Grim

---

## [Trying to open Images with jSon Object shows unreliable behavior](https://discourse.processing.org/t/trying-to-open-images-with-json-object-shows-unreliable-behavior/1968)

<div class="topic-metadata">

**Author:** [@niko\_fhtw](https://discourse.processing.org/u/niko_fhtw)\
**Replies:** 13\
**Last updated:** [July 23, 2018, 5:27pm UTC](https://discourse.processing.org/t/trying-to-open-images-with-json-object-shows-unreliable-behavior/1968 "2018-07-23T17:27:39Z")

</div>

Hi, Currently we are working on a project where we send signals from an Android app to an arduino. The arduino controls a robot and send the signals via serial communication (in jSon format) to a GUI. The GUI is written…

---

## [Trying to Reduce the Number of Global Variables](https://discourse.processing.org/t/trying-to-reduce-the-number-of-global-variables/1942)

<div class="topic-metadata">

**Author:** [@QuazArxx](https://discourse.processing.org/u/QuazArxx)\
**Replies:** 8\
**Last updated:** [July 23, 2018, 4:26pm UTC](https://discourse.processing.org/t/trying-to-reduce-the-number-of-global-variables/1942 "2018-07-23T16:26:35Z")

</div>

int x, y; int xSpeed = 0; int ySpeed = 0; int diam = 50; int xConstr; int yConstr; void setup() { size(400,400); smooth(); x = width / 2; y = height / 2; } void draw() { drawBackground(); drawObject(); …

---

## [Processing Android Problems](https://discourse.processing.org/t/processing-android-problems/1553)

<div class="topic-metadata">

**Author:** [@imaginativeCODE](https://discourse.processing.org/u/imaginativeCODE)\
**Replies:** 6\
**Last updated:** [July 23, 2018, 1:46pm UTC](https://discourse.processing.org/t/processing-android-problems/1553 "2018-07-23T13:46:01Z")

</div>

I am having a problem with processing android it won’t display onto the phone i have done all the steps to display it but i think the problem is coming from that processing android only runs android 8.0 phones is there a…

---

## [9-Point mesh warping](https://discourse.processing.org/t/9-point-mesh-warping/1932)

<div class="topic-metadata">

**Author:** [@jakedubber](https://discourse.processing.org/u/jakedubber)\
**Replies:** 5\
**Last updated:** [July 23, 2018, 9:01am UTC](https://discourse.processing.org/t/9-point-mesh-warping/1932 "2018-07-23T09:01:38Z")

</div>

I’m trying to figure out how to go about warping a mesh using 9 handles (marked in red). I can already deform the mesh by moving the corners but it’s the intermediary handles I’m really struggling with. I need this to wo…

---

## [PGraphics Empty with copy() Function](https://discourse.processing.org/t/pgraphics-empty-with-copy-function/1980)

<div class="topic-metadata">

**Author:** [@KeremTurkyilmaz](https://discourse.processing.org/u/KeremTurkyilmaz)\
**Replies:** 15\
**Last updated:** [July 23, 2018, 8:54am UTC](https://discourse.processing.org/t/pgraphics-empty-with-copy-function/1980 "2018-07-23T08:54:21Z")

</div>

Hi, I made a Slit-Scan effect in Processing, now I’m trying to export the pdf of the scan effect with only render the new image, and I thought about PGraphics. The problem is that PGraphics looks empty, I don’t know wh…

---

## [Lorenz Attractor from Processing to p5.js](https://discourse.processing.org/t/lorenz-attractor-from-processing-to-p5-js/2000)

<div class="topic-metadata">

**Author:** [@XavierDass](https://discourse.processing.org/u/XavierDass)\
**Replies:** 5\
**Last updated:** [July 23, 2018, 8:52am UTC](https://discourse.processing.org/t/lorenz-attractor-from-processing-to-p5-js/2000 "2018-07-23T08:52:46Z")

</div>

I was enjoying making a little Lorenz attractor in p5.js, couldn’t figure out how to make a nice gradient, so I went searching and found @shiffman’s great example in Processing, (here). But I notice that p5.js does not …

---

## [Script for creating a menu item for processing](https://discourse.processing.org/t/script-for-creating-a-menu-item-for-processing/1999)

<div class="topic-metadata">

**Author:** [@monkstone](https://discourse.processing.org/u/monkstone)\
**Replies:** 0\
**Last updated:** [July 23, 2018, 6:17am UTC](https://discourse.processing.org/t/script-for-creating-a-menu-item-for-processing/1999 "2018-07-23T06:17:56Z")

</div>

Previously I have seen requests to add processing to menu on the raspberrypi, here I have created a simple script to do just that (requires sudo) on vanilla raspbian. Copy script to say menu.sh, then sudo bash menu.sh. c…

---

## [What’s new for Pi & ARM in 3.3.7.2](https://discourse.processing.org/t/what-s-new-for-pi-arm-in-3-3-7-2/1984)

<div class="topic-metadata">

**Author:** [@gohai](https://discourse.processing.org/u/gohai)\
**Replies:** 3\
**Last updated:** [July 23, 2018, 2:06am UTC](https://discourse.processing.org/t/what-s-new-for-pi-arm-in-3-3-7-2/1984 "2018-07-23T02:06:00Z")

</div>

This point release mainly fixes embarrassing bugs that crept into the previous one. Here’s the build for ARM as well as our pre-configured Raspbian image. See our steps how to get started. Hope you enjoy! P2D/P3D on Ra…

---

## ["hello!" is not a function p5.js help](https://discourse.processing.org/t/hello-is-not-a-function-p5-js-help/1957)

<div class="topic-metadata">

**Author:** [@ville2008](https://discourse.processing.org/u/ville2008)\
**Replies:** 1\
**Last updated:** [July 23, 2018, 12:59am UTC](https://discourse.processing.org/t/hello-is-not-a-function-p5-js-help/1957 "2018-07-23T00:59:19Z")

</div>

this is my source code i am trying to make an interact system and im stuck i have never done this before so if it is a blatant issue dont be to hard on me i have coded in p5.js before but never done anything like this be…

---

## [Help! processing interface with Json of Philips hue](https://discourse.processing.org/t/help-processing-interface-with-json-of-philips-hue/1991)

<div class="topic-metadata">

**Author:** [@Olivia](https://discourse.processing.org/u/Olivia)\
**Replies:** 1\
**Last updated:** [July 22, 2018, 11:50pm UTC](https://discourse.processing.org/t/help-processing-interface-with-json-of-philips-hue/1991 "2018-07-22T23:50:57Z")

</div>

Does anyone know how processing interface with Philips hue Json to control the light? I find a sample code online but it seems not working. https://github.com/callil/hueP5 And I also find another way of doing it. it se…

---

## [\[Answered\] How to get text from paste buffer?](https://discourse.processing.org/t/answered-how-to-get-text-from-paste-buffer/1900)

<div class="topic-metadata">

**Author:** [@Architector\_4](https://discourse.processing.org/u/Architector_4)\
**Replies:** 3\
**Last updated:** [July 22, 2018, 8:26pm UTC](https://discourse.processing.org/t/answered-how-to-get-text-from-paste-buffer/1900 "2018-07-22T20:26:43Z")

</div>

OS: Windows 10 64bit. Processing 3.3.7. I am looking for a solution on how to get text from the copy/paste system buffer (aka CTRL+C CTRL+V buffer). So far I have this code compiled from examples and such from other pe…

---

## [Box() - set boundary on the Y axis](https://discourse.processing.org/t/box-set-boundary-on-the-y-axis/1959)

<div class="topic-metadata">

**Author:** [@Caitlin123](https://discourse.processing.org/u/Caitlin123)\
**Replies:** 2\
**Last updated:** [July 22, 2018, 8:26pm UTC](https://discourse.processing.org/t/box-set-boundary-on-the-y-axis/1959 "2018-07-22T20:26:41Z")

</div>

Hi all, Very new to processing, essentially im trying to loop through a csv folder to create a bar graph. the bars will be 3d boxes. Using the below as an example, what i dont understand is, when using the box function,…

[Previous page](https://discourse.processing.org/latest.md?page=601)

[Next page](https://discourse.processing.org/latest.md?page=603)
