# Latest

**URL:** https://discourse.processing.org/latest.md?no_subcategories=false&page=567

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

**Page:** 568

---

## [Better solutions on Bouncing Ball bugging through platform?](https://discourse.processing.org/t/better-solutions-on-bouncing-ball-bugging-through-platform/4755)

<div class="topic-metadata">

**Author:** [@jstsmedmb](https://discourse.processing.org/u/jstsmedmb)\
**Replies:** 9\
**Last updated:** [October 29, 2018, 4:51pm UTC](https://discourse.processing.org/t/better-solutions-on-bouncing-ball-bugging-through-platform/4755 "2018-10-29T16:51:09Z")

</div>

Hi :slight\_smile: I want the code below to create a ball that bounces on the bottom of the screen as well as on platforms. The bottom isn’t really the issue here, its just easier to create the problem when including it. …

---

## [Read google gsheet with processing](https://discourse.processing.org/t/read-google-gsheet-with-processing/4340)

<div class="topic-metadata">

**Author:** [@Dennis](https://discourse.processing.org/u/Dennis)\
**Replies:** 4\
**Last updated:** [October 29, 2018, 3:58pm UTC](https://discourse.processing.org/t/read-google-gsheet-with-processing/4340 "2018-10-29T15:58:08Z")

</div>

It is possible read google sheet from processing?

---

## [Java ftp android library](https://discourse.processing.org/t/java-ftp-android-library/4902)

<div class="topic-metadata">

**Author:** [@martinstacey](https://discourse.processing.org/u/martinstacey)\
**Replies:** 2\
**Last updated:** [October 29, 2018, 1:49pm UTC](https://discourse.processing.org/t/java-ftp-android-library/4902 "2018-10-29T13:49:27Z")

</div>

Does anybody know of a simple ftp library for download and uploads files to use in android, with an example of how to use it, I have been stuck in this for a while

---

## [Rotate two colors (新手請教各位大大教如何寫代碼不甚感激)](https://discourse.processing.org/t/rotate-two-colors/4971)

<div class="topic-metadata">

**Author:** [@alk5603](https://discourse.processing.org/u/alk5603)\
**Replies:** 2\
**Last updated:** [October 29, 2018, 1:36pm UTC](https://discourse.processing.org/t/rotate-two-colors/4971 "2018-10-29T13:36:09Z")

</div>

float x, y; void setup() { size(800, 600); strokeWeight(10); } void draw() { //background(#68CEF5); fill(0, 15); rect(-50, -50, width + 100, height + 100); translate(width/2, height/2); rotate(-frameCount…

---

## [Famous Painting Face in Hole! - Video is not refreshing](https://discourse.processing.org/t/famous-painting-face-in-hole-video-is-not-refreshing/4970)

<div class="topic-metadata">

**Author:** [@madiMcD](https://discourse.processing.org/u/madiMcD)\
**Replies:** 1\
**Last updated:** [October 29, 2018, 4:23am UTC](https://discourse.processing.org/t/famous-painting-face-in-hole-video-is-not-refreshing/4970 "2018-10-29T04:23:20Z")

</div>

Yo, So I am creating a program that functions like a photo booth, where there are famous paintings (eg. Mona Lisa, American Gothic, etc.) that have holes where your face goes. There are six “buttons” that when pressed s…

---

## [BoofCV now includes QR code detecting, templates, and motion detection](https://discourse.processing.org/t/boofcv-now-includes-qr-code-detecting-templates-and-motion-detection/4698)

<div class="topic-metadata">

**Author:** [@lessthanoptimal](https://discourse.processing.org/u/lessthanoptimal)\
**Replies:** 5\
**Last updated:** [October 29, 2018, 4:04am UTC](https://discourse.processing.org/t/boofcv-now-includes-qr-code-detecting-templates-and-motion-detection/4698 "2018-10-29T04:04:21Z")

</div>

Updated the processing wrapper around BoofCV with so that it now uses BoofCV 0.31. Also added a few new features. Template matching allows you to search for an image within an other image. Motion Detection (a.k.a. backg…

---

## [Better collision detection](https://discourse.processing.org/t/better-collision-detection/4965)

<div class="topic-metadata">

**Author:** [@kport](https://discourse.processing.org/u/kport)\
**Replies:** 1\
**Last updated:** [October 28, 2018, 11:18pm UTC](https://discourse.processing.org/t/better-collision-detection/4965 "2018-10-28T23:18:34Z")

</div>

I have a pong-like game, where the paddle position is tied to mouse pointer position. If I move the mouse slowly, the ball bounces as expected. If I move the mouse quickly, however, the ball will likely pass through the …

---

## [Initialising a global array: this works, but WHY?](https://discourse.processing.org/t/initialising-a-global-array-this-works-but-why/4957)

<div class="topic-metadata">

**Author:** [@MuddyGardener](https://discourse.processing.org/u/MuddyGardener)\
**Replies:** 3\
**Last updated:** [October 28, 2018, 7:45pm UTC](https://discourse.processing.org/t/initialising-a-global-array-this-works-but-why/4957 "2018-10-28T19:45:46Z")

</div>

I made some simple test code for setting up and using an array of colours that worked fine as a straight through thing (i.e. no setup, no draw). Then I modified it for use with a setup and frame loop and eventually got …

---

## [Scanner (java.util.scanner) doesn't seem to be working?](https://discourse.processing.org/t/scanner-java-util-scanner-doesnt-seem-to-be-working/4958)

<div class="topic-metadata">

**Author:** [@Danny\_Posada](https://discourse.processing.org/u/Danny_Posada)\
**Replies:** 2\
**Last updated:** [October 28, 2018, 7:32pm UTC](https://discourse.processing.org/t/scanner-java-util-scanner-doesnt-seem-to-be-working/4958 "2018-10-28T19:32:11Z")

</div>

Recently I’ve been trying to experiment with user input in processing, but nothing seems to be working. I’ve tried multiple websites but none of them have given me and answer that works. The problem is that when I run th…

---

## [Formatting Questions with answers](https://discourse.processing.org/t/formatting-questions-with-answers/4864)

<div class="topic-metadata">

**Author:** [@Lexyth](https://discourse.processing.org/u/Lexyth)\
**Replies:** 2\
**Last updated:** [October 28, 2018, 7:10pm UTC](https://discourse.processing.org/t/formatting-questions-with-answers/4864 "2018-10-28T19:10:49Z")

</div>

Ok, i know this might be overkill and will be a lot of work… and might not Even have anything to do with Site Feedback, But what do you think about creating a page/or similar where the questions that have been answered a…

---

## [Help with movement on a background](https://discourse.processing.org/t/help-with-movement-on-a-background/4813)

<div class="topic-metadata">

**Author:** [@somedude](https://discourse.processing.org/u/somedude)\
**Replies:** 2\
**Last updated:** [October 28, 2018, 5:18pm UTC](https://discourse.processing.org/t/help-with-movement-on-a-background/4813 "2018-10-28T17:18:50Z")

</div>

hello i am making a code for a character that moves on oa background but i keep having the following error "Badly formed character constant(expecting quote, got E) PImage bg, personagem; int px, py; boolean cima, bai…

---

## [Grafica library documentation](https://discourse.processing.org/t/grafica-library-documentation/4856)

<div class="topic-metadata">

**Author:** [@FerrariLuigi](https://discourse.processing.org/u/FerrariLuigi)\
**Replies:** 2\
**Last updated:** [October 28, 2018, 5:08pm UTC](https://discourse.processing.org/t/grafica-library-documentation/4856 "2018-10-28T17:08:04Z")

</div>

Dear all, in my sketch I have to plot graphics an I should use “grafica” library. Unfortunately I can’t find any documentation about it. Could you suggest a web link in which I find “grafica” library documentation ? …

---

## [Need help with 2D array](https://discourse.processing.org/t/need-help-with-2d-array/4954)

<div class="topic-metadata">

**Author:** [@process14](https://discourse.processing.org/u/process14)\
**Replies:** 3\
**Last updated:** [October 28, 2018, 4:44pm UTC](https://discourse.processing.org/t/need-help-with-2d-array/4954 "2018-10-28T16:44:07Z")

</div>

Hi, so im writing a program that makes robots run from left to right. how i want to achieve that is by rolling 2 dice and the score of those 2 dices added up is the amount of px the robot should move. now i already hav…

---

## [Add an overview of ways to use Java](https://discourse.processing.org/t/add-an-overview-of-ways-to-use-java/4782)

<div class="topic-metadata">

**Author:** [@Lexyth](https://discourse.processing.org/u/Lexyth)\
**Replies:** 6\
**Last updated:** [October 28, 2018, 3:31pm UTC](https://discourse.processing.org/t/add-an-overview-of-ways-to-use-java/4782 "2018-10-28T15:31:39Z")

</div>

The Description might be a bit off, but what i mean is, add a page where one can see how code should be written and some „hidden“ things. What i mean would look like this for example : How to set up a Class : class MyC…

---

## [Can't adept my plan to a loop logic](https://discourse.processing.org/t/cant-adept-my-plan-to-a-loop-logic/4952)

<div class="topic-metadata">

**Author:** [@losferatos](https://discourse.processing.org/u/losferatos)\
**Replies:** 2\
**Last updated:** [October 28, 2018, 2:40pm UTC](https://discourse.processing.org/t/cant-adept-my-plan-to-a-loop-logic/4952 "2018-10-28T14:40:45Z")

</div>

Hi there! I came across a problem regarding loops. For some reason, I want to check if there are double entries in my int array (rather String but nvm). I came up with some kind of a solution, but I deeply hope there …

---

## [Is it dangerous to link my router to my pc?](https://discourse.processing.org/t/is-it-dangerous-to-link-my-router-to-my-pc/4784)

<div class="topic-metadata">

**Author:** [@Quix](https://discourse.processing.org/u/Quix)\
**Replies:** 4\
**Last updated:** [October 28, 2018, 2:45pm UTC](https://discourse.processing.org/t/is-it-dangerous-to-link-my-router-to-my-pc/4784 "2018-10-28T14:45:22Z")

</div>

Hi! i would like to know if it’s dangerous to link my router to my pc I did this for my website project with processing :thinking:

---

## [When image is loaded do something](https://discourse.processing.org/t/when-image-is-loaded-do-something/4946)

<div class="topic-metadata">

**Author:** [@jensemand](https://discourse.processing.org/u/jensemand)\
**Replies:** 2\
**Last updated:** [October 28, 2018, 2:35pm UTC](https://discourse.processing.org/t/when-image-is-loaded-do-something/4946 "2018-10-28T14:35:27Z")

</div>

Hi I need some help with an “if” line. i want to know if i can so something like this: if(image is loaded) { b = true; } else { b = false; } if (b==true) { statement } if (b== false) { statement } the problem i…

---

## [Sorting a JSONArray by one of its values](https://discourse.processing.org/t/sorting-a-jsonarray-by-one-of-its-values/4911)

<div class="topic-metadata">

**Author:** [@delsey](https://discourse.processing.org/u/delsey)\
**Replies:** 5\
**Last updated:** [October 28, 2018, 12:00pm UTC](https://discourse.processing.org/t/sorting-a-jsonarray-by-one-of-its-values/4911 "2018-10-28T12:00:21Z")

</div>

I have a JSONArray which saves “Name” and “Best”. Best is always an int. I would like to be able to sort the array descending. I can not provide any code as there is none. Thanks in advance. String\[\] names = { "A", "B",…

---

## [Arduino use Processing for Python](https://discourse.processing.org/t/arduino-use-processing-for-python/4392)

<div class="topic-metadata">

**Author:** [@DemianLa](https://discourse.processing.org/u/DemianLa)\
**Replies:** 1\
**Last updated:** [October 28, 2018, 12:22pm UTC](https://discourse.processing.org/t/arduino-use-processing-for-python/4392 "2018-10-28T12:22:39Z")

</div>

Someone have an idea how i can use this Code for Windows USB port COM1 “a = Arduino(this, ‘/dev/ttyACM1’, 57600)” this Code is for LINUX but i need it for Windows to USE Python on Arduino. Or somone have another Idea to…

---

## [Picture to load when a specific key isn’t pressed](https://discourse.processing.org/t/picture-to-load-when-a-specific-key-isn-t-pressed/4941)

<div class="topic-metadata">

**Author:** [@jensemand](https://discourse.processing.org/u/jensemand)\
**Replies:** 9\
**Last updated:** [October 28, 2018, 11:23am UTC](https://discourse.processing.org/t/picture-to-load-when-a-specific-key-isn-t-pressed/4941 "2018-10-28T11:23:43Z")

</div>

Hi I’m making a game and I need some help with a true/false line. I need picture to load when a specific key isn’t pressed (the key is ENTER).

---

## [How to initialise and use array in game assignment](https://discourse.processing.org/t/how-to-initialise-and-use-array-in-game-assignment/4273)

<div class="topic-metadata">

**Author:** [@FrankieZ](https://discourse.processing.org/u/FrankieZ)\
**Replies:** 15\
**Last updated:** [October 24, 2018, 11:40pm UTC](https://discourse.processing.org/t/how-to-initialise-and-use-array-in-game-assignment/4273 "2018-10-24T23:40:01Z")

</div>

Hi there, my assignment this time is an extension on my previous one (in the link above). It consists of 2 parts (I have done the first one): Scoring (use functions and loops) Every time an invader gets obliterated, …

---

## [Adjusting a Processing library?](https://discourse.processing.org/t/adjusting-a-processing-library/4385)

<div class="topic-metadata">

**Author:** [@mano1979](https://discourse.processing.org/u/mano1979)\
**Replies:** 8\
**Last updated:** [October 27, 2018, 7:41pm UTC](https://discourse.processing.org/t/adjusting-a-processing-library/4385 "2018-10-27T19:41:14Z")

</div>

I need to adjust the .net library and did so in the src folder. But the changes i made do not do anything. Do i need to recompile/build the library before changes take effect or should a simple restart of processing do …

---

## [Changing Scenes Once Off Screen?](https://discourse.processing.org/t/changing-scenes-once-off-screen/4934)

<div class="topic-metadata">

**Author:** [@Maxim](https://discourse.processing.org/u/Maxim)\
**Replies:** 2\
**Last updated:** [October 27, 2018, 6:30pm UTC](https://discourse.processing.org/t/changing-scenes-once-off-screen/4934 "2018-10-27T18:30:29Z")

</div>

so essentially, I want to make it so when a ship i have controlled with WASD goes greater than width, then the scene changes to another one, however the ship gets reset to the center of that new scene. Is that Possibe

---

## [Want to change value to color](https://discourse.processing.org/t/want-to-change-value-to-color/4935)

<div class="topic-metadata">

**Author:** [@anna\_mei](https://discourse.processing.org/u/anna_mei)\
**Replies:** 5\
**Last updated:** [October 27, 2018, 6:21pm UTC](https://discourse.processing.org/t/want-to-change-value-to-color/4935 "2018-10-27T18:21:59Z")

</div>

hi, I would like to alter the “value change” in this example from black -\> white to green -\> blue. I can not find a way to alter value into color. I want to animate a tear, that turns blue after I clicked the mouse. Coul…

---

## [Displaying pixels outside of the sketch window](https://discourse.processing.org/t/displaying-pixels-outside-of-the-sketch-window/4912)

<div class="topic-metadata">

**Author:** [@germaine](https://discourse.processing.org/u/germaine)\
**Replies:** 4\
**Last updated:** [October 27, 2018, 6:14pm UTC](https://discourse.processing.org/t/displaying-pixels-outside-of-the-sketch-window/4912 "2018-10-27T18:14:27Z")

</div>

Is this possible in Processing to display a shape or an image outside of the boundaries of the sketch window? Is that something regular Java can do? Thank you!

---

## [Freelance Processing Developer](https://discourse.processing.org/t/freelance-processing-developer/4931)

<div class="topic-metadata">

**Author:** [@helloscoopz](https://discourse.processing.org/u/helloscoopz)\
**Replies:** 5\
**Last updated:** [October 27, 2018, 4:24pm UTC](https://discourse.processing.org/t/freelance-processing-developer/4931 "2018-10-27T16:24:51Z")

</div>

Hi there, I’m looking for freelance processing developer to do some complex tasks. If there’s anyone looking for an opportunity, please leave a me a message on whatsapp/viber +94766613021. I will provide Project wise pa…

---

## [Can anyone else confirm? textFont overrides stroke opacity?](https://discourse.processing.org/t/can-anyone-else-confirm-textfont-overrides-stroke-opacity/4513)

<div class="topic-metadata">

**Author:** [@rapatski](https://discourse.processing.org/u/rapatski)\
**Replies:** 4\
**Last updated:** [October 27, 2018, 4:22pm UTC](https://discourse.processing.org/t/can-anyone-else-confirm-textfont-overrides-stroke-opacity/4513 "2018-10-27T16:22:24Z")

</div>

Hey guys, please see example below to try and recreate the behaviour I’m seeing: when setting the font to a font loaded with loadFont (as opposed to using createFont) all stroke opacity in the sketch is set to 255: PFon…

---

## [Multiple independent audio channels - best approach?](https://discourse.processing.org/t/multiple-independent-audio-channels-best-approach/4925)

<div class="topic-metadata">

**Author:** [@Architector\_4](https://discourse.processing.org/u/Architector_4)\
**Replies:** 0\
**Last updated:** [October 27, 2018, 2:25pm UTC](https://discourse.processing.org/t/multiple-independent-audio-channels-best-approach/4925 "2018-10-27T14:25:29Z")

</div>

I’m making a 2D game thing, and I want to be able to have as much control of sound as possible. For example, I want to have about 50 sound channels, with full control over each one of them - being able to modify every si…

---

## [Trojan detected in Processing 2.2.1 Win x64](https://discourse.processing.org/t/trojan-detected-in-processing-2-2-1-win-x64/4477)

<div class="topic-metadata">

**Author:** [@lynchpin](https://discourse.processing.org/u/lynchpin)\
**Replies:** 5\
**Last updated:** [October 27, 2018, 3:01pm UTC](https://discourse.processing.org/t/trojan-detected-in-processing-2-2-1-win-x64/4477 "2018-10-27T15:01:15Z")

</div>

Hi all, I did some trawling through forums about this, and saw that Windows Defender has been noted as detecting a false-positive for a trojan, but there was no mention of version 2.2.1. I proceeded to download and inst…

---

## [Help to clear a void](https://discourse.processing.org/t/help-to-clear-a-void/4920)

<div class="topic-metadata">

**Author:** [@jensemand](https://discourse.processing.org/u/jensemand)\
**Replies:** 2\
**Last updated:** [October 27, 2018, 12:27pm UTC](https://discourse.processing.org/t/help-to-clear-a-void/4920 "2018-10-27T12:27:49Z")

</div>

Hi I just wanted to know if you can clear a void after a certain amount of time or after you press a key

[Previous page](https://discourse.processing.org/latest.md?no_subcategories=false&page=566)

[Next page](https://discourse.processing.org/latest.md?no_subcategories=false&page=568)
