# Processing

**URL:** https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=64

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

**Page:** 65

---

## [Resize image processing crash](https://discourse.processing.org/t/resize-image-processing-crash/39223)

<div class="topic-metadata">

**Author:** [@gradientquestion](https://discourse.processing.org/u/gradientquestion)\
**Replies:** 2\
**Last updated:** [October 12, 2022, 3:54pm UTC](https://discourse.processing.org/t/resize-image-processing-crash/39223 "2022-10-12T15:54:08Z")

</div>

Hello ! does anyone know why on my code my image is not in the original format? I try to apply Resize but it does not work on my image? how can i resize it? it looks like she puts herself in a square I just want my ima…

---

## [Image flipping for MOBA controls](https://discourse.processing.org/t/image-flipping-for-moba-controls/39207)

<div class="topic-metadata">

**Author:** [@Quesadilla](https://discourse.processing.org/u/Quesadilla)\
**Replies:** 3\
**Last updated:** [October 11, 2022, 3:57pm UTC](https://discourse.processing.org/t/image-flipping-for-moba-controls/39207 "2022-10-11T15:57:23Z")

</div>

Im having trouble moving my character at a constant rate as well, it is decelerating as it moves, any suggestions on moving at a constant rate? //I cant seem to get my image to flip without my controls going haywire, I …

---

## [Processing changes the colors in the loaded image](https://discourse.processing.org/t/processing-changes-the-colors-in-the-loaded-image/39224)

<div class="topic-metadata">

**Author:** [@apac](https://discourse.processing.org/u/apac)\
**Replies:** 1\
**Last updated:** [October 12, 2022, 10:06am UTC](https://discourse.processing.org/t/processing-changes-the-colors-in-the-loaded-image/39224 "2022-10-12T10:06:20Z")

</div>

I am finding that just loading an image in Processing and then saving the image changes the colors in the image. I am not doing any changes to the image. Simply loading and saving. However, I can see a slight difference …

---

## [Line coming out of semi circle](https://discourse.processing.org/t/line-coming-out-of-semi-circle/39225)

<div class="topic-metadata">

**Author:** [@chaotic.rabbit](https://discourse.processing.org/u/chaotic.rabbit)\
**Replies:** 1\
**Last updated:** [October 12, 2022, 10:03am UTC](https://discourse.processing.org/t/line-coming-out-of-semi-circle/39225 "2022-10-12T10:03:41Z")

</div>

Hi, i would like to have lines coming out the curved part of a semicircle. I already know the x positions that I want but I need to adjust the y of the lines according to the semicircle’s curve. How can I do this please? …

---

## [Reveal Image of the Masking](https://discourse.processing.org/t/reveal-image-of-the-masking/39215)

<div class="topic-metadata">

**Author:** [@Judy](https://discourse.processing.org/u/Judy)\
**Replies:** 5\
**Last updated:** [October 11, 2022, 4:28pm UTC](https://discourse.processing.org/t/reveal-image-of-the-masking/39215 "2022-10-11T16:28:29Z")

</div>

Hello. I want to operate the code like an example image. I want to make a ghost image come out if I wipe it with an eraser on top of an ordinary girl image. But my code doesn’t work that way. How should I change it? L…

---

## [Cheap alternatives for Kinect?](https://discourse.processing.org/t/cheap-alternatives-for-kinect/39150)

<div class="topic-metadata">

**Author:** [@f42ter](https://discourse.processing.org/u/f42ter)\
**Replies:** 2\
**Last updated:** [October 11, 2022, 12:56pm UTC](https://discourse.processing.org/t/cheap-alternatives-for-kinect/39150 "2022-10-11T12:56:47Z")

</div>

Is there a cheap alternative for MS Kinect and at least available in Germany and with Processing support?

---

## [Processing doesn't save my preferences](https://discourse.processing.org/t/processing-doesnt-save-my-preferences/39195)

<div class="topic-metadata">

**Author:** [@Lissie](https://discourse.processing.org/u/Lissie)\
**Replies:** 4\
**Last updated:** [October 11, 2022, 10:48am UTC](https://discourse.processing.org/t/processing-doesnt-save-my-preferences/39195 "2022-10-11T10:48:23Z")

</div>

like i hate it because then it doesnt auto save

---

## [How do I draw a wireframe cube?](https://discourse.processing.org/t/how-do-i-draw-a-wireframe-cube/39171)

<div class="topic-metadata">

**Author:** [@Umbrella](https://discourse.processing.org/u/Umbrella)\
**Replies:** 3\
**Last updated:** [October 10, 2022, 8:46pm UTC](https://discourse.processing.org/t/how-do-i-draw-a-wireframe-cube/39171 "2022-10-10T20:46:00Z")

</div>

Hi, I’m working on a homework project, part of which requires me to draw a cube made out of triangles. I have drawn a frame and started to fill it in, so that each triangle is a different color. I’ve started writing the …

---

## [\[SOLVED\] Drawing circles inside a circle (generative dandelion)](https://discourse.processing.org/t/solved-drawing-circles-inside-a-circle-generative-dandelion/39197)

<div class="topic-metadata">

**Author:** [@Ties2901](https://discourse.processing.org/u/Ties2901)\
**Replies:** 20\
**Last updated:** [October 8, 2022, 7:18am UTC](https://discourse.processing.org/t/solved-drawing-circles-inside-a-circle-generative-dandelion/39197 "2022-10-08T07:18:48Z")

</div>

THIS QUESTIONS IS SOLVED! :slight\_smile: Hi I am very new to processing and am trying to do roughly the same \[as this post (mod edit)\], but the resources posted below are not helping me find the solution… I am now draw…

---

## [HELP. i tried editing text, first it didnt work, then the programm became unresponsive & now it plays a loud beeping sound](https://discourse.processing.org/t/help-i-tried-editing-text-first-it-didnt-work-then-the-programm-became-unresponsive-now-it-plays-a-loud-beeping-sound/39194)

<div class="topic-metadata">

**Author:** [@Lissie](https://discourse.processing.org/u/Lissie)\
**Replies:** 1\
**Last updated:** [October 10, 2022, 6:10pm UTC](https://discourse.processing.org/t/help-i-tried-editing-text-first-it-didnt-work-then-the-programm-became-unresponsive-now-it-plays-a-loud-beeping-sound/39194 "2022-10-10T18:10:54Z")

</div>

i didnt even start the sketch it does not show not responding on top of the window & i didnt save

---

## [Creating a Scoreboard for Simple Game](https://discourse.processing.org/t/creating-a-scoreboard-for-simple-game/39075)

<div class="topic-metadata">

**Author:** [@honeydew](https://discourse.processing.org/u/honeydew)\
**Replies:** 4\
**Last updated:** [October 10, 2022, 2:22pm UTC](https://discourse.processing.org/t/creating-a-scoreboard-for-simple-game/39075 "2022-10-10T14:22:13Z")

</div>

Hi guys, I’m new to this forum so I’m not really sure how to post my code properly. I’m trying to make a game where a character, Steve, runs around and collects food. Whenever he runs over a piece of food, the food reapp…

---

## [Error in installation - error while trying to create a new sketch](https://discourse.processing.org/t/error-in-installation-error-while-trying-to-create-a-new-sketch/39180)

<div class="topic-metadata">

**Author:** [@Melchiors](https://discourse.processing.org/u/Melchiors)\
**Replies:** 1\
**Last updated:** [October 10, 2022, 7:47am UTC](https://discourse.processing.org/t/error-in-installation-error-while-trying-to-create-a-new-sketch/39180 "2022-10-10T07:47:58Z")

</div>

I’m trying run processing, but the program doesn’t open. Attached the picture with the errors that occurs. I’m using it at Windows 10. I try to use Processing 4.0.1 and 3.5.4, installed in Program Files and in Docum…

---

## [Accessing BLE input to Processing](https://discourse.processing.org/t/accessing-ble-input-to-processing/35560)

<div class="topic-metadata">

**Author:** [@jimluyten](https://discourse.processing.org/u/jimluyten)\
**Replies:** 6\
**Last updated:** [October 9, 2022, 6:58pm UTC](https://discourse.processing.org/t/accessing-ble-input-to-processing/35560 "2022-10-09T18:58:08Z")

</div>

I have a BLE feed from Arduino - but can not access the data from processing sketch on macbook pro, neither of two bluetooth devices seems to have any accessable data - “/dev/cu.Bluetooth-Incoming-Port” nor “/dev/tty.Blu…

---

## [Arduino + Processing](https://discourse.processing.org/t/arduino-processing/39168)

<div class="topic-metadata">

**Author:** [@gradientquestion](https://discourse.processing.org/u/gradientquestion)\
**Replies:** 3\
**Last updated:** [October 9, 2022, 3:15am UTC](https://discourse.processing.org/t/arduino-processing/39168 "2022-10-09T03:15:11Z")

</div>

hello, I would like to create a little game for my child to discover electronics. Unfortunately this is not my area… I would like to be able to display an image when you clap your hands. for this I have an arduino uno…

---

## [TextWidth is not the correct width!](https://discourse.processing.org/t/textwidth-is-not-the-correct-width/39158)

<div class="topic-metadata">

**Author:** [@Lissie](https://discourse.processing.org/u/Lissie)\
**Replies:** 6\
**Last updated:** [October 9, 2022, 1:37am UTC](https://discourse.processing.org/t/textwidth-is-not-the-correct-width/39158 "2022-10-09T01:37:41Z")

</div>

If i create a normal line, with “line(startX, startY, startX+textWidth(STRING), startY)” the line is not the correct width. I fixed it by making a “rect()” with the y size on “0.5”!

---

## [Exporting PDF does not show all objects](https://discourse.processing.org/t/exporting-pdf-does-not-show-all-objects/39153)

<div class="topic-metadata">

**Author:** [@Ties2901](https://discourse.processing.org/u/Ties2901)\
**Replies:** 5\
**Last updated:** [October 8, 2022, 2:54pm UTC](https://discourse.processing.org/t/exporting-pdf-does-not-show-all-objects/39153 "2022-10-08T14:54:57Z")

</div>

Hi, I am trying to export a pdf of my final drawing, however when I open the pdf it does not show some of the objects… Anyone who can help me with this? Here is my code: // Creative Challenge 1. Final Version (Concept…

---

## [Image to random circles conversion (PNG Problem) Java](https://discourse.processing.org/t/image-to-random-circles-conversion-png-problem-java/39167)

<div class="topic-metadata">

**Author:** [@Hanna](https://discourse.processing.org/u/Hanna)\
**Replies:** 2\
**Last updated:** [October 8, 2022, 2:41pm UTC](https://discourse.processing.org/t/image-to-random-circles-conversion-png-problem-java/39167 "2022-10-08T14:41:19Z")

</div>

Newbie here! I have been working with some code from the internet and modified it to work from JS into Java. I have actually adapted everything so that the code works on its own. My assumption was that when I use a PNG…

---

## [Blocking in ttslib](https://discourse.processing.org/t/blocking-in-ttslib/39160)

<div class="topic-metadata">

**Author:** [@Shachar](https://discourse.processing.org/u/Shachar)\
**Replies:** 5\
**Last updated:** [October 8, 2022, 2:25pm UTC](https://discourse.processing.org/t/blocking-in-ttslib/39160 "2022-10-08T14:25:22Z")

</div>

hi, I’m trying to use ttslib in order to apply text recognition in my code. The problem is that the code does not continue until the entire sentence has been completed, so for example in this code the word “hello” will n…

---

## [Save transparent image from Geomerative](https://discourse.processing.org/t/save-transparent-image-from-geomerative/39132)

<div class="topic-metadata">

**Author:** [@hellocatfood](https://discourse.processing.org/u/hellocatfood)\
**Replies:** 6\
**Last updated:** [October 8, 2022, 9:54am UTC](https://discourse.processing.org/t/save-transparent-image-from-geomerative/39132 "2022-10-08T09:54:35Z")

</div>

I have geomerative installed to modify an svg. I want to save an image with a transparent background whenever I left-click. However, using the code below, whenever I left click it only saves an image of the unmodified sv…

---

## [Copying and spawning object from an array](https://discourse.processing.org/t/copying-and-spawning-object-from-an-array/39138)

<div class="topic-metadata">

**Author:** [@shon121212](https://discourse.processing.org/u/shon121212)\
**Replies:** 1\
**Last updated:** [October 7, 2022, 5:20pm UTC](https://discourse.processing.org/t/copying-and-spawning-object-from-an-array/39138 "2022-10-07T17:20:48Z")

</div>

so what im trying to do is spawn a ball with some attributes and after 5 seconds i want to create spawn another one of this balls up untill 7 but im not sure how to “add” new ball to the array with the same attributes th…

---

## [How can I fill a plane without gaps with regular 4-, 6-, 12-gons](https://discourse.processing.org/t/how-can-i-fill-a-plane-without-gaps-with-regular-4-6-12-gons/39134)

<div class="topic-metadata">

**Author:** [@yura](https://discourse.processing.org/u/yura)\
**Replies:** 1\
**Last updated:** [October 7, 2022, 2:20pm UTC](https://discourse.processing.org/t/how-can-i-fill-a-plane-without-gaps-with-regular-4-6-12-gons/39134 "2022-10-07T14:20:00Z")

</div>

I’m new to processing, and trying to do this task. Maybe you know how to do it, or know where I could read about it. Thanks in advance for help.

---

## [Arrangement of depth of objects](https://discourse.processing.org/t/arrangement-of-depth-of-objects/39129)

<div class="topic-metadata">

**Author:** [@Ties2901](https://discourse.processing.org/u/Ties2901)\
**Replies:** 3\
**Last updated:** [October 7, 2022, 1:00pm UTC](https://discourse.processing.org/t/arrangement-of-depth-of-objects/39129 "2022-10-07T13:00:45Z")

</div>

(This is a question related to a University Assignment!) I am creating a Dandelion in processing for a Creative Programming Challenge. :slight\_smile: Hi all, I have just started with processing and am experiencing some…

---

## [Changing which browser PDE users on Run command](https://discourse.processing.org/t/changing-which-browser-pde-users-on-run-command/39107)

<div class="topic-metadata">

**Author:** [@Tatcoddes](https://discourse.processing.org/u/Tatcoddes)\
**Replies:** 3\
**Last updated:** [October 7, 2022, 12:16am UTC](https://discourse.processing.org/t/changing-which-browser-pde-users-on-run-command/39107 "2022-10-07T00:16:43Z")

</div>

Newbie Question When I hit “Run” I would like my sketch to open in Chrome and not Safari, but I need to keep safari as my default browser. I saw another thread where it suggested going into the preferences.txt file and …

---

## [How do I add sprite collision?](https://discourse.processing.org/t/how-do-i-add-sprite-collision/39115)

<div class="topic-metadata">

**Author:** [@Marfmamow](https://discourse.processing.org/u/Marfmamow)\
**Replies:** 3\
**Last updated:** [October 6, 2022, 9:44am UTC](https://discourse.processing.org/t/how-do-i-add-sprite-collision/39115 "2022-10-06T09:44:58Z")

</div>

I’m currently trying to make a 2d game. The game window is 720x660 pixels, and each sprite I have is 20x20 pixels, so the actual grid is 36x33 tiles. The type of tile on the grid is stored in a 36x33 array. I currently…

---

## [Is there an algorithm or coding example that may help me here?](https://discourse.processing.org/t/is-there-an-algorithm-or-coding-example-that-may-help-me-here/39103)

<div class="topic-metadata">

**Author:** [@blackhatProphet](https://discourse.processing.org/u/blackhatProphet)\
**Replies:** 4\
**Last updated:** [October 5, 2022, 10:38pm UTC](https://discourse.processing.org/t/is-there-an-algorithm-or-coding-example-that-may-help-me-here/39103 "2022-10-05T22:38:30Z")

</div>

Hi I am working on a personal project and I was hoping to get some help trying to wrap my head around how best to go about this part of the project. So what I am envisioning: The program is given a string array (comp…

---

## [Precise placement of color in a grid of shapes](https://discourse.processing.org/t/precise-placement-of-color-in-a-grid-of-shapes/39102)

<div class="topic-metadata">

**Author:** [@debxyz](https://discourse.processing.org/u/debxyz)\
**Replies:** 8\
**Last updated:** [October 5, 2022, 5:34pm UTC](https://discourse.processing.org/t/precise-placement-of-color-in-a-grid-of-shapes/39102 "2022-10-05T17:34:30Z")

</div>

Hello! I am trying to work out how to implement more control of color placement within grid systems. The very simple solution I’ve come up with so far (for one iteration of diagonal color placement) is partially succes…

---

## [Querry about command line tool](https://discourse.processing.org/t/querry-about-command-line-tool/39101)

<div class="topic-metadata">

**Author:** [@bask185](https://discourse.processing.org/u/bask185)\
**Replies:** 1\
**Last updated:** [October 5, 2022, 3:13pm UTC](https://discourse.processing.org/t/querry-about-command-line-tool/39101 "2022-10-05T15:13:44Z")

</div>

I am using the CLI version: processing-java to build, run and export my project. But I have it working with absolute paths. That is sorta annoying because I work on 2 different PCs and I have to change the paths continou…

---

## [Can't update library - and Processing hangs](https://discourse.processing.org/t/cant-update-library-and-processing-hangs/39100)

<div class="topic-metadata">

**Author:** [@everythingability](https://discourse.processing.org/u/everythingability)\
**Replies:** 0\
**Last updated:** [October 5, 2022, 2:36pm UTC](https://discourse.processing.org/t/cant-update-library-and-processing-hangs/39100 "2022-10-05T14:36:13Z")

</div>

I’m attempting to use the Contribution Manager window to update my OpenCV library and I get this… It sort of stalls… Exception in thread “AWT-EventQueue-0” java.lang.NullPointerException: Cannot invoke “javax.swing.JPr…

---

## [How to copy clipped rect of an image to another filename?](https://discourse.processing.org/t/how-to-copy-clipped-rect-of-an-image-to-another-filename/39054)

<div class="topic-metadata">

**Author:** [@bhaskar1955](https://discourse.processing.org/u/bhaskar1955)\
**Replies:** 8\
**Last updated:** [October 5, 2022, 6:10am UTC](https://discourse.processing.org/t/how-to-copy-clipped-rect-of-an-image-to-another-filename/39054 "2022-10-05T06:10:52Z")

</div>

\</\> button \* homework policy \* asking questions I think the topic name is self-explanatory. Please help me.

---

## [Why my draw() don't drawing continuously?](https://discourse.processing.org/t/why-my-draw-dont-drawing-continuously/39078)

<div class="topic-metadata">

**Author:** [@C2014](https://discourse.processing.org/u/C2014)\
**Replies:** 15\
**Last updated:** [October 4, 2022, 4:21pm UTC](https://discourse.processing.org/t/why-my-draw-dont-drawing-continuously/39078 "2022-10-04T16:21:17Z")

</div>

void setup () { size (842,480);frameRate(20);} float x = random (842); float y = random (480); float r = random (256); float g = random (256); float b = random (256); void draw () {loop ();fill (r,g,b);rect (x,y,x,y);}…

[Previous page](https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=63)

[Next page](https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=65)
