# Latest

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

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

**Page:** 541

---

## [Lost My File on My Processing](https://discourse.processing.org/t/lost-my-file-on-my-processing/7182)

<div class="topic-metadata">

**Author:** [@Xaynerd](https://discourse.processing.org/u/Xaynerd)\
**Replies:** 1\
**Last updated:** [January 5, 2019, 1:00am UTC](https://discourse.processing.org/t/lost-my-file-on-my-processing/7182 "2019-01-05T01:00:05Z")

</div>

I lost all of the things I had programmed on to one of my files after an update that I never installed. I was wondering of any good way of recovering the file.

---

## [Basic calculator for android](https://discourse.processing.org/t/basic-calculator-for-android/7172)

<div class="topic-metadata">

**Author:** [@bossofeng](https://discourse.processing.org/u/bossofeng)\
**Replies:** 5\
**Last updated:** [January 4, 2019, 10:53pm UTC](https://discourse.processing.org/t/basic-calculator-for-android/7172 "2019-01-04T22:53:03Z")

</div>

I have a basic problem i write a basic calculator it works but i pressed then equal symbol if i press a new number first answer stay there and new answer write up last answer my english not very well so i will upload a p…

---

## [\[SOLVED\] Undefined Error](https://discourse.processing.org/t/solved-undefined-error/7176)

<div class="topic-metadata">

**Author:** [@Quillbert1](https://discourse.processing.org/u/Quillbert1)\
**Replies:** 4\
**Last updated:** [January 4, 2019, 7:09pm UTC](https://discourse.processing.org/t/solved-undefined-error/7176 "2019-01-04T19:09:39Z")

</div>

I am having an issue with some code. Whenever I run it, i get an error saying Population is undefined in setup. The code is at the github link below.

---

## [Need help regarding UV mapping of Octahedron](https://discourse.processing.org/t/need-help-regarding-uv-mapping-of-octahedron/7114)

<div class="topic-metadata">

**Author:** [@Sudev](https://discourse.processing.org/u/Sudev)\
**Replies:** 4\
**Last updated:** [January 4, 2019, 4:53pm UTC](https://discourse.processing.org/t/need-help-regarding-uv-mapping-of-octahedron/7114 "2019-01-04T16:53:41Z")

</div>

I need some help with UV mapping an octahedron. Here’s my code : let w = 0; let h = 0; let th = 400; beginShape(); vertex(w - side, h - side, 0, 0, 1); vertex(w + side, h - side, 0, 0, 0); vertex(w, …

---

## [Processing wont start](https://discourse.processing.org/t/processing-wont-start/2193)

<div class="topic-metadata">

**Author:** [@matess7](https://discourse.processing.org/u/matess7)\
**Replies:** 7\
**Last updated:** [January 4, 2019, 2:38pm UTC](https://discourse.processing.org/t/processing-wont-start/2193 "2019-01-04T14:38:59Z")

</div>

Hey, i wanted to play around with processing but i cant seem to get it working. These are some things i found out: when i launch processing for the first time it starts up but if i try to run some code it crashes if i …

---

## [No working sql under apde](https://discourse.processing.org/t/no-working-sql-under-apde/3691)

<div class="topic-metadata">

**Author:** [@BodaciousBrian](https://discourse.processing.org/u/BodaciousBrian)\
**Replies:** 3\
**Last updated:** [January 4, 2019, 1:56pm UTC](https://discourse.processing.org/t/no-working-sql-under-apde/3691 "2019-01-04T13:56:55Z")

</div>

Under the bezier library, sqlite example 1 does the following: Failed to delete old APK file Sorry can't find any file named test.db make sure it exists and the path is correct. Using this database: test.db SQL.connect(…

---

## [Pong Game glitch!](https://discourse.processing.org/t/pong-game-glitch/7158)

<div class="topic-metadata">

**Author:** [@Benasin](https://discourse.processing.org/u/Benasin)\
**Replies:** 6\
**Last updated:** [January 4, 2019, 12:47pm UTC](https://discourse.processing.org/t/pong-game-glitch/7158 "2019-01-04T12:47:22Z")

</div>

I have been using Processing for a week and I have created a simple pong game but I have a problem is that when the ball hit the side parts of the rectangle movable bar it shows glitches and the ball doesn’t bounce but m…

---

## [Playing Multiple sounds at different times](https://discourse.processing.org/t/playing-multiple-sounds-at-different-times/7142)

<div class="topic-metadata">

**Author:** [@kristianjones81](https://discourse.processing.org/u/kristianjones81)\
**Replies:** 4\
**Last updated:** [January 4, 2019, 11:10am UTC](https://discourse.processing.org/t/playing-multiple-sounds-at-different-times/7142 "2019-01-04T11:10:54Z")

</div>

Hello everyone, my first post here. I’ve been wrestling with this code for a while now, I have managed to get it working to some degree, but I’ve run into an issue I can’t get my head around. I want load sounds into an …

---

## [Trying to combine two files - peasy cam issue](https://discourse.processing.org/t/trying-to-combine-two-files-peasy-cam-issue/7146)

<div class="topic-metadata">

**Author:** [@kritid](https://discourse.processing.org/u/kritid)\
**Replies:** 5\
**Last updated:** [January 4, 2019, 10:49am UTC](https://discourse.processing.org/t/trying-to-combine-two-files-peasy-cam-issue/7146 "2019-01-04T10:49:43Z")

</div>

I have two files A tree that grows. (branches grow organically from the root) This example is based on the 3D Fractal Tree Example by The Coding Train aka Daniel Shiffman. A movement trigger. That activates i++ each ti…

---

## [Problem in adding Android mode in Processing-3.4](https://discourse.processing.org/t/problem-in-adding-android-mode-in-processing-3-4/7066)

<div class="topic-metadata">

**Author:** [@simmi](https://discourse.processing.org/u/simmi)\
**Replies:** 4\
**Last updated:** [January 4, 2019, 8:56am UTC](https://discourse.processing.org/t/problem-in-adding-android-mode-in-processing-3-4/7066 "2019-01-04T08:56:31Z")

</div>

Hi, I want to install Android mode in processing 3.4. I am working behind the proxies so even I have made proxy setting in preferences.txt but still it cannot do it online. For offline mode I have unzipped the Android …

---

## [Buddhabrot : What is wrong in this algo?](https://discourse.processing.org/t/buddhabrot-what-is-wrong-in-this-algo/7075)

<div class="topic-metadata">

**Author:** [@NaoSi](https://discourse.processing.org/u/NaoSi)\
**Replies:** 0\
**Last updated:** [January 1, 2019, 6:57pm UTC](https://discourse.processing.org/t/buddhabrot-what-is-wrong-in-this-algo/7075 "2019-01-01T18:57:09Z")

</div>

Hey, I’m working in buddhabrot and I have a little issue in my algorithm and I don’t know how I can fix it. I followed lot of pseudo code in Google but it’s not enough… Can you help me? I think my problem is when I s…

---

## [Problem with char coordinates](https://discourse.processing.org/t/problem-with-char-coordinates/7120)

<div class="topic-metadata">

**Author:** [@lolonulu](https://discourse.processing.org/u/lolonulu)\
**Replies:** 3\
**Last updated:** [January 3, 2019, 6:42pm UTC](https://discourse.processing.org/t/problem-with-char-coordinates/7120 "2019-01-03T18:42:53Z")

</div>

Hello everybody, I would like to select the same chars in a String and to give each char the same coordinate… Here is my attempt below. I can only move the last char, why ?! Thanks alot in advance for your help. Best, …

---

## [Game Control Plus Unplug method](https://discourse.processing.org/t/game-control-plus-unplug-method/7139)

<div class="topic-metadata">

**Author:** [@robotijo](https://discourse.processing.org/u/robotijo)\
**Replies:** 0\
**Last updated:** [January 3, 2019, 5:46pm UTC](https://discourse.processing.org/t/game-control-plus-unplug-method/7139 "2019-01-03T17:46:48Z")

</div>

Hi, The class ControlButton has a method called plug(), it connects a button to a method . Are there any unplug method? or anyway to disconnect the button from a method. Thx!

---

## [Export to PDF will not render vectors](https://discourse.processing.org/t/export-to-pdf-will-not-render-vectors/7064)

<div class="topic-metadata">

**Author:** [@Hub33s](https://discourse.processing.org/u/Hub33s)\
**Replies:** 13\
**Last updated:** [January 3, 2019, 5:09pm UTC](https://discourse.processing.org/t/export-to-pdf-will-not-render-vectors/7064 "2019-01-03T17:09:14Z")

</div>

I am new to processing and was motivated to work on something I found interesting, things are coming along just fine but I can’t export vector based output from my sketch. I am using the Hype libraries hypeframework-dot-…

---

## [\[SOLVED\] Getting preview image from Ketai](https://discourse.processing.org/t/solved-getting-preview-image-from-ketai/6491)

<div class="topic-metadata">

**Author:** [@JoseMY](https://discourse.processing.org/u/JoseMY)\
**Replies:** 4\
**Last updated:** [January 3, 2019, 11:05am UTC](https://discourse.processing.org/t/solved-getting-preview-image-from-ketai/6491 "2019-01-03T11:05:57Z")

</div>

Hi! I’m color-blind and I made a small android app to exchange colors in a realtime image in order to distinguish red from black. But the app runs slowly and gets just one frame from the camera. After many attempts (I…

---

## [Issues with sound output](https://discourse.processing.org/t/issues-with-sound-output/7104)

<div class="topic-metadata">

**Author:** [@mllobet](https://discourse.processing.org/u/mllobet)\
**Replies:** 2\
**Last updated:** [January 3, 2019, 8:49am UTC](https://discourse.processing.org/t/issues-with-sound-output/7104 "2019-01-03T08:49:54Z")

</div>

I’m new in this stuff and my code can’t sound. Someone can help me to make that code sound? Thank you import ddf.minim.\*; import ddf.minim.ugens.\*; Minim minim; AudioOutput out; void setup(){ minim = new Minim(this); …

---

## [Messy code and issues in it](https://discourse.processing.org/t/messy-code-and-issues-in-it/7107)

<div class="topic-metadata">

**Author:** [@tojoco](https://discourse.processing.org/u/tojoco)\
**Replies:** 3\
**Last updated:** [January 3, 2019, 7:22am UTC](https://discourse.processing.org/t/messy-code-and-issues-in-it/7107 "2019-01-03T07:22:19Z")

</div>

Im making a program like the amazon echo using p5.speech. My code is not only messy and confusing but every time it hears speech it runs the else instead of what is supposed to happen let carl = 'hey carl'; var value = …

---

## [P3D, transparency, and overlapping objects](https://discourse.processing.org/t/p3d-transparency-and-overlapping-objects/7123)

<div class="topic-metadata">

**Author:** [@ragona](https://discourse.processing.org/u/ragona)\
**Replies:** 2\
**Last updated:** [January 2, 2019, 10:31pm UTC](https://discourse.processing.org/t/p3d-transparency-and-overlapping-objects/7123 "2019-01-02T22:31:59Z")

</div>

Hi all, I want to use Processing for a visualization of a 3D search algorithm. There are 1000 points in 3D space, and I’m rendering them with spheres. So far so good. I now want to place a second, larger sphere around t…

---

## [\[.snake. game in 🐍 language\]Ouch my tail!](https://discourse.processing.org/t/snake-game-in-language-ouch-my-tail/7062)

<div class="topic-metadata">

**Author:** [@Sky](https://discourse.processing.org/u/Sky)\
**Replies:** 3\
**Last updated:** [January 1, 2019, 12:20pm UTC](https://discourse.processing.org/t/snake-game-in-language-ouch-my-tail/7062 "2019-01-01T12:20:01Z")

</div>

Heres the C++ code: #include \<iostream\> #include \<cstdlib\> #include \<ctime\> #include \<conio.h\> #include \<windows.h\> #include \<fstream\> using namespace std; enum direction {STOP = 0,LEFT,RIGHT,UP,DOWN}; struct coord{ …

---

## [Is there a way to represent small numbers more precisely than float?](https://discourse.processing.org/t/is-there-a-way-to-represent-small-numbers-more-precisely-than-float/7111)

<div class="topic-metadata">

**Author:** [@Olex](https://discourse.processing.org/u/Olex)\
**Replies:** 3\
**Last updated:** [January 2, 2019, 7:30pm UTC](https://discourse.processing.org/t/is-there-a-way-to-represent-small-numbers-more-precisely-than-float/7111 "2019-01-02T19:30:25Z")

</div>

I need high precision for a project i’m working on and regular floats are not enough. Is there a class or type which has a settable precision?

---

## [Resize PImage: "width or height must be \> 0 for resize"](https://discourse.processing.org/t/resize-pimage-width-or-height-must-be-0-for-resize/7109)

<div class="topic-metadata">

**Author:** [@amaia](https://discourse.processing.org/u/amaia)\
**Replies:** 2\
**Last updated:** [January 2, 2019, 7:02pm UTC](https://discourse.processing.org/t/resize-pimage-width-or-height-must-be-0-for-resize/7109 "2019-01-02T19:02:05Z")

</div>

Hello: I want to scale myImage to fit in the height of the screen FIRST: divide the width and height of the screen by the width and height of myImage. SECOND: multiply the width and height of myImage by one of the …

---

## [Processing Community Day @ Santa Maria, RS, Brazil](https://discourse.processing.org/t/processing-community-day-santa-maria-rs-brazil/5331)

<div class="topic-metadata">

**Author:** [@brunoruchiga](https://discourse.processing.org/u/brunoruchiga)\
**Replies:** 1\
**Last updated:** [January 2, 2019, 6:35pm UTC](https://discourse.processing.org/t/processing-community-day-santa-maria-rs-brazil/5331 "2019-01-02T18:35:20Z")

</div>

Hello! This is the topic to discuss the Processing Community Day @ Santa Maria, RS, Brazil. I will post updates here. If you are interested, get in touch! :brazil: Olá! Este é o tópico para falar sobre o Processing C…

---

## [Problem in making two balls bounce eachother](https://discourse.processing.org/t/problem-in-making-two-balls-bounce-eachother/7085)

<div class="topic-metadata">

**Author:** [@Hjtunfgb](https://discourse.processing.org/u/Hjtunfgb)\
**Replies:** 1\
**Last updated:** [January 2, 2019, 6:31pm UTC](https://discourse.processing.org/t/problem-in-making-two-balls-bounce-eachother/7085 "2019-01-02T18:31:00Z")

</div>

Hi there! I am trying to make two balls bounce once they hit each other, but for some reason, they are being thrown away insanely fast! My calculations are based on linear momentum conservation and a fixed coefficient of…

---

## [Installation problem](https://discourse.processing.org/t/installation-problem/7087)

<div class="topic-metadata">

**Author:** [@dpistone](https://discourse.processing.org/u/dpistone)\
**Replies:** 2\
**Last updated:** [January 2, 2019, 3:23pm UTC](https://discourse.processing.org/t/installation-problem/7087 "2019-01-02T15:23:33Z")

</div>

I downloaded the zip file and tried to run it, but nothing happened. A “Processing” splash screen flashed for less than a second and then nothing happened. I’m running Windows10, 64bit.

---

## [OpenCV contour get specific point X Y values](https://discourse.processing.org/t/opencv-contour-get-specific-point-x-y-values/7079)

<div class="topic-metadata">

**Author:** [@felloduarte](https://discourse.processing.org/u/felloduarte)\
**Replies:** 2\
**Last updated:** [January 2, 2019, 11:35am UTC](https://discourse.processing.org/t/opencv-contour-get-specific-point-x-y-values/7079 "2019-01-02T11:35:39Z")

</div>

Hi all! i’m a bit of a newbie here i’m working with openCV Library and i’m trying to make a sketch that draw lines between points of a contour. I have no experience working with array lists and pvectors, but basicaly i…

---

## [Processing bug?](https://discourse.processing.org/t/processing-bug/6561)

<div class="topic-metadata">

**Author:** [@quark](https://discourse.processing.org/u/quark)\
**Replies:** 25\
**Last updated:** [January 2, 2019, 9:26am UTC](https://discourse.processing.org/t/processing-bug/6561 "2019-01-02T09:26:40Z")

</div>

NO ACTION REQUIRED It has already been reported as an issue I am not sure whether this is a bug in Processing or not. It runs fine in Eclipse using the Processing core fror v3.4 but has a runtime error in the Processin…

---

## [Hatching a rect() with diagonal lines](https://discourse.processing.org/t/hatching-a-rect-with-diagonal-lines/7068)

<div class="topic-metadata">

**Author:** [@eltrem](https://discourse.processing.org/u/eltrem)\
**Replies:** 5\
**Last updated:** [January 2, 2019, 5:15am UTC](https://discourse.processing.org/t/hatching-a-rect-with-diagonal-lines/7068 "2019-01-02T05:15:21Z")

</div>

Hi all! this is my first post in the forum, and i’m a total noob with processing… please be patient… I want to fill a rect() with diagonal lines. I don’t want to use mask() or PGraphics, because i want to have the fina…

---

## [Processing Community Survey 2018](https://discourse.processing.org/t/processing-community-survey-2018/6404)

<div class="topic-metadata">

**Author:** [@dorothy](https://discourse.processing.org/u/dorothy)\
**Replies:** 2\
**Last updated:** [January 2, 2019, 2:41am UTC](https://discourse.processing.org/t/processing-community-survey-2018/6404 "2019-01-02T02:41:30Z")

</div>

Dear Processing Community Members, Since I started at the Processing Foundation this past March, it has become apparent to me that we are nothing without our community. It’s been about two years since the last community…

---

## [Hotswap code in a running program](https://discourse.processing.org/t/hotswap-code-in-a-running-program/6744)

<div class="topic-metadata">

**Author:** [@hamoid](https://discourse.processing.org/u/hamoid)\
**Replies:** 2\
**Last updated:** [January 1, 2019, 7:19pm UTC](https://discourse.processing.org/t/hotswap-code-in-a-running-program/6744 "2019-01-01T19:19:59Z")

</div>

Not so long ago I discovered a cool feature that could be useful for more advanced users (those not using the Processing IDE but something like IntelliJ Idea). In Idea, if you Debug your program (instead of Running it),…

---

## [Run app in background](https://discourse.processing.org/t/run-app-in-background/7070)

<div class="topic-metadata">

**Author:** [@manhnt](https://discourse.processing.org/u/manhnt)\
**Replies:** 1\
**Last updated:** [January 1, 2019, 4:24pm UTC](https://discourse.processing.org/t/run-app-in-background/7070 "2019-01-01T16:24:13Z")

</div>

I want to make app run in background. How can I do that? --\>That means whenever I press the Android multi-tasking button to ACTIVE, app will continue its next action :sweat:

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

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