# Latest

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

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

**Page:** 100

---

## [Scaling a CSV to screen](https://discourse.processing.org/t/scaling-a-csv-to-screen/39906)

<div class="topic-metadata">

**Author:** [@Rbu](https://discourse.processing.org/u/Rbu)\
**Replies:** 3\
**Last updated:** [November 27, 2022, 11:07pm UTC](https://discourse.processing.org/t/scaling-a-csv-to-screen/39906 "2022-11-27T23:07:08Z")

</div>

Hello I’m on a project at the moment and I’m importing and using data from a CSV file, the problem I have is that the coordinates within the screen are to large and end up off screen, I need some advice on rescaling the …

---

## [Use loadTable with variable like String, String\[\], String\[\]\[\], StringList?](https://discourse.processing.org/t/use-loadtable-with-variable-like-string-string-string-stringlist/12457)

<div class="topic-metadata">

**Author:** [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Replies:** 7\
**Last updated:** [November 27, 2022, 11:05pm UTC](https://discourse.processing.org/t/use-loadtable-with-variable-like-string-string-string-stringlist/12457 "2022-11-27T23:05:26Z")

</div>

Does anyone know if you can use loadTable() to generate a Table using a local variable rather than a file as input? For example if you have CSV-like data stored in a String, or a String\[\] (per row), or a String\[\]\[\] (per…

---

## [(Bug?) Touches Array sometimes doesn't remove objects if touch has ended](https://discourse.processing.org/t/bug-touches-array-sometimes-doesnt-remove-objects-if-touch-has-ended/39892)

<div class="topic-metadata">

**Author:** [@JoLi](https://discourse.processing.org/u/JoLi)\
**Replies:** 6\
**Last updated:** [November 27, 2022, 11:02pm UTC](https://discourse.processing.org/t/bug-touches-array-sometimes-doesnt-remove-objects-if-touch-has-ended/39892 "2022-11-27T23:02:09Z")

</div>

With this code example: void setup() { fullScreen(); } void draw() { background(0); fill(255); for (TouchEvent.Pointer p : touches) { circle(p.x, p.y, 400); } } If I touch with one finger, a circle is di…

---

## [How to record sound from a microphone using the Core Sound library?](https://discourse.processing.org/t/how-to-record-sound-from-a-microphone-using-the-core-sound-library/39811)

<div class="topic-metadata">

**Author:** [@jvolker](https://discourse.processing.org/u/jvolker)\
**Replies:** 1\
**Last updated:** [November 27, 2022, 8:06pm UTC](https://discourse.processing.org/t/how-to-record-sound-from-a-microphone-using-the-core-sound-library/39811 "2022-11-27T20:06:10Z")

</div>

Hi, I’m looking for a way to record and playback sound from a microphone using the Core Sound library. It seems there are no examples to do this and looking at the API I don’t see a way to get from AudioIn to AudioSampl…

---

## [Game over screen problem in a game](https://discourse.processing.org/t/game-over-screen-problem-in-a-game/39903)

<div class="topic-metadata">

**Author:** [@processinglearner](https://discourse.processing.org/u/processinglearner)\
**Replies:** 4\
**Last updated:** [November 27, 2022, 7:03pm UTC](https://discourse.processing.org/t/game-over-screen-problem-in-a-game/39903 "2022-11-27T19:03:52Z")

</div>

hi! I made one game with loop.And there is game screen in the end.But this screen should be active for 5 seconds in the loop.My code is like this: void draw() { ... if( frameCount / 60 == 3 ) { fill(255, 0, 255);…

---

## [MIDIBus: extending Advanced MIDIMessageIO to handle MIDI Patch Change output](https://discourse.processing.org/t/midibus-extending-advanced-midimessageio-to-handle-midi-patch-change-output/39900)

<div class="topic-metadata">

**Author:** [@m47k0](https://discourse.processing.org/u/m47k0)\
**Replies:** 0\
**Last updated:** [November 27, 2022, 4:13pm UTC](https://discourse.processing.org/t/midibus-extending-advanced-midimessageio-to-handle-midi-patch-change-output/39900 "2022-11-27T16:13:36Z")

</div>

Have been generating data which I map & output as MIDI controller change data with TheMIDIBus, no problem. I now want to output Patch Change data, which out the box TheMIDIBus doesn’t appear to handle. In the MIDIBus A…

---

## [Programming advice (spiral from point to point)](https://discourse.processing.org/t/programming-advice-spiral-from-point-to-point/37628)

<div class="topic-metadata">

**Author:** [@Rbu](https://discourse.processing.org/u/Rbu)\
**Replies:** 16\
**Last updated:** [November 27, 2022, 11:04am UTC](https://discourse.processing.org/t/programming-advice-spiral-from-point-to-point/37628 "2022-11-27T11:04:32Z")

</div>

Hello, I am looking to start a programming project. But stuck at the first I want to program a progressive circle that follows a line. I will add a picture because im unsure how to explain.

---

## [Line drawing from image beautiful sketch from p5.js to processing 3](https://discourse.processing.org/t/line-drawing-from-image-beautiful-sketch-from-p5-js-to-processing-3/10133)

<div class="topic-metadata">

**Author:** [@dimpapadop](https://discourse.processing.org/u/dimpapadop)\
**Replies:** 3\
**Last updated:** [November 27, 2022, 5:43am UTC](https://discourse.processing.org/t/line-drawing-from-image-beautiful-sketch-from-p5-js-to-processing-3/10133 "2022-11-27T05:43:00Z")

</div>

good afternoon i try to migrate this beautiful sketch https://www.openprocessing.org/sketch/486307 from p5js to processing 3. Till now i have the following code that is “somehow” works but the lines doesn’t seem to be a…

---

## [Change colors on different objects blinking](https://discourse.processing.org/t/change-colors-on-different-objects-blinking/39832)

<div class="topic-metadata">

**Author:** [@vrtx](https://discourse.processing.org/u/vrtx)\
**Replies:** 8\
**Last updated:** [November 27, 2022, 2:19am UTC](https://discourse.processing.org/t/change-colors-on-different-objects-blinking/39832 "2022-11-27T02:19:35Z")

</div>

Hello, I need help to change the colors! i am trynig to make a differents objects like a rect, circle, triangle, blink/flash with diferent colors, I am till now, can do it with black and white. As the code below i show…

---

## [Sketch code recorded a sound and i do not know wy and also take the sound/noise recorded off](https://discourse.processing.org/t/sketch-code-recorded-a-sound-and-i-do-not-know-wy-and-also-take-the-sound-noise-recorded-off/39888)

<div class="topic-metadata">

**Author:** [@vrtx](https://discourse.processing.org/u/vrtx)\
**Replies:** 0\
**Last updated:** [November 26, 2022, 9:15pm UTC](https://discourse.processing.org/t/sketch-code-recorded-a-sound-and-i-do-not-know-wy-and-also-take-the-sound-noise-recorded-off/39888 "2022-11-26T21:15:39Z")

</div>

Hello people. I found anice code and i modify it. Added some ellipses and add my onw picture.jpg, changed some numbers and the size of the canva. This bubbling the image with sounds from microphone, ( i wnat to change …

---

## [In the Processing ball game, the movements of the balls are limited](https://discourse.processing.org/t/in-the-processing-ball-game-the-movements-of-the-balls-are-limited/39890)

<div class="topic-metadata">

**Author:** [@Huginn](https://discourse.processing.org/u/Huginn)\
**Replies:** 1\
**Last updated:** [November 26, 2022, 10:25pm UTC](https://discourse.processing.org/t/in-the-processing-ball-game-the-movements-of-the-balls-are-limited/39890 "2022-11-26T22:25:01Z")

</div>

float xPos = 400; float yPos = 300; float xPos2 = 0; float yPos2 = 300; int radius = 50; int x1, y1, x2, y2; float theta = 0f; int speedX = 2; int speedY = 2; int x1\_, y1\_, x2\_, y2\_; float theta\_ = 0f; int speedX\_ …

---

## [Get touch that started/ended with touchStated() / touchEnded()](https://discourse.processing.org/t/get-touch-that-started-ended-with-touchstated-touchended/39866)

<div class="topic-metadata">

**Author:** [@JoLi](https://discourse.processing.org/u/JoLi)\
**Replies:** 2\
**Last updated:** [November 26, 2022, 5:05pm UTC](https://discourse.processing.org/t/get-touch-that-started-ended-with-touchstated-touchended/39866 "2022-11-26T17:05:48Z")

</div>

Hi, can I somehow get the touch pointer that was added/removed in the touchStarted() or touchEnded() functions?

---

## [Frogger - Need help with moving obstacles](https://discourse.processing.org/t/frogger-need-help-with-moving-obstacles/39874)

<div class="topic-metadata">

**Author:** [@kemne](https://discourse.processing.org/u/kemne)\
**Replies:** 1\
**Last updated:** [November 26, 2022, 2:00pm UTC](https://discourse.processing.org/t/frogger-need-help-with-moving-obstacles/39874 "2022-11-26T14:00:56Z")

</div>

Hi, I’m currently working on an assignment about creating the game Frogger. So I got my frog and the obstacles that my frog will need to avoid. Regardings the movement of my obstacles, the requirement is that I need to …

---

## [Add sound instead microphone](https://discourse.processing.org/t/add-sound-instead-microphone/39880)

<div class="topic-metadata">

**Author:** [@vrtx](https://discourse.processing.org/u/vrtx)\
**Replies:** 2\
**Last updated:** [November 26, 2022, 10:21am UTC](https://discourse.processing.org/t/add-sound-instead-microphone/39880 "2022-11-26T10:21:33Z")

</div>

Hi there, I am here again… Learning, Tks to all of you! I found a code exemple and a have change it adding my images and resizing it, resizing as a tool to manage my picture and feet the window.and add some ellipse on …

---

## [NullPointerException by creating an object](https://discourse.processing.org/t/nullpointerexception-by-creating-an-object/39876)

<div class="topic-metadata">

**Author:** [@Exartyss](https://discourse.processing.org/u/Exartyss)\
**Replies:** 4\
**Last updated:** [November 26, 2022, 7:35am UTC](https://discourse.processing.org/t/nullpointerexception-by-creating-an-object/39876 "2022-11-26T07:35:24Z")

</div>

Hello ! I wrote a program in which I created a class called Ro with objects : circles who goes on a random X position But by running the program it craches. It writes " NullPointerException" and “c\[i++\] = new Ro(width1…

---

## [Beginner Needs help with Generative art](https://discourse.processing.org/t/beginner-needs-help-with-generative-art/39858)

<div class="topic-metadata">

**Author:** [@WingedOS](https://discourse.processing.org/u/WingedOS)\
**Replies:** 6\
**Last updated:** [November 26, 2022, 7:22am UTC](https://discourse.processing.org/t/beginner-needs-help-with-generative-art/39858 "2022-11-26T07:22:49Z")

</div>

Hello! I’m a beginner at coding and making art through technology. I watch the coding train to learn but I also like to experiment with existing code made by the community. Here, I wanted to make art, and Generate\_me …

---

## [Issues with loading fonts with CreateFonts](https://discourse.processing.org/t/issues-with-loading-fonts-with-createfonts/39862)

<div class="topic-metadata">

**Author:** [@bardo](https://discourse.processing.org/u/bardo)\
**Replies:** 11\
**Last updated:** [November 26, 2022, 12:54am UTC](https://discourse.processing.org/t/issues-with-loading-fonts-with-createfonts/39862 "2022-11-26T00:54:29Z")

</div>

Hi there, I am having issues loading fonts that I have installed on my Windows fonts folder . The message that I get every time is " “PPEiko-Medium” is not available, so another font will be used. Use PFont.list() to …

---

## [Modifying a text file in Android](https://discourse.processing.org/t/modifying-a-text-file-in-android/39797)

<div class="topic-metadata">

**Author:** [@a\_random\_cat](https://discourse.processing.org/u/a_random_cat)\
**Replies:** 5\
**Last updated:** [November 26, 2022, 12:54am UTC](https://discourse.processing.org/t/modifying-a-text-file-in-android/39797 "2022-11-26T00:54:13Z")

</div>

HI. Im making an app to control some LEDs, and it works with bluetooth so it needs to be able to allow the user to change the MAC direction of the controller. the thing is that there are 2 problems; When Converting the S…

---

## [Problema de colisiones](https://discourse.processing.org/t/problema-de-colisiones/39835)

<div class="topic-metadata">

**Author:** [@SYN1810](https://discourse.processing.org/u/SYN1810)\
**Replies:** 6\
**Last updated:** [November 25, 2022, 8:53pm UTC](https://discourse.processing.org/t/problema-de-colisiones/39835 "2022-11-25T20:53:31Z")

</div>

Hola, he estado haciendo un programa que simule el juego ping pon, pero la pelota algunas veces choca con la pala blanca y otras veces no, adjunto mi codigo int posy=250; int posx=250; int posix=600; int posiy=300; int …

---

## [How can i capture face recognition image?](https://discourse.processing.org/t/how-can-i-capture-face-recognition-image/39869)

<div class="topic-metadata">

**Author:** [@chaotic.rabbit](https://discourse.processing.org/u/chaotic.rabbit)\
**Replies:** 1\
**Last updated:** [November 25, 2022, 4:36pm UTC](https://discourse.processing.org/t/how-can-i-capture-face-recognition-image/39869 "2022-11-25T16:36:53Z")

</div>

Hi, I have managed to set up a live video cam in my code and I used OpenCV for face detection. Ellipses are drawn on detected faces. Now how can I take that ellipse and display a still image of that when I press enter? I…

---

## [F1 Start Reaction Time minigame](https://discourse.processing.org/t/f1-start-reaction-time-minigame/39867)

<div class="topic-metadata">

**Author:** [@rapatski](https://discourse.processing.org/u/rapatski)\
**Replies:** 0\
**Last updated:** [November 25, 2022, 12:03pm UTC](https://discourse.processing.org/t/f1-start-reaction-time-minigame/39867 "2022-11-25T12:03:16Z")

</div>

Made this the other night for my kid, but perhaps other people enjoy it too? Simplest of code, but quite fun to do: wetransfer link Let me know what you think! :wink:

---

## [Processing3 problems with using a variable in draw and thread](https://discourse.processing.org/t/processing3-problems-with-using-a-variable-in-draw-and-thread/39856)

<div class="topic-metadata">

**Author:** [@t00cg](https://discourse.processing.org/u/t00cg)\
**Replies:** 4\
**Last updated:** [November 24, 2022, 6:19pm UTC](https://discourse.processing.org/t/processing3-problems-with-using-a-variable-in-draw-and-thread/39856 "2022-11-24T18:19:09Z")

</div>

hi there in my opinion, x should be counted till 20 and then reseted in the thread. but it is not happening. can someone help me? thanks for any help t00cg public int x = 0; void setup() { thread("threadcode");…

---

## [Error — Missing operator, semicolon, or ‘}’ near ‘setup’?](https://discourse.processing.org/t/error-missing-operator-semicolon-or-near-setup/39845)

<div class="topic-metadata">

**Author:** [@vrtx](https://discourse.processing.org/u/vrtx)\
**Replies:** 7\
**Last updated:** [November 24, 2022, 5:30pm UTC](https://discourse.processing.org/t/error-missing-operator-semicolon-or-near-setup/39845 "2022-11-24T17:30:58Z")

</div>

i’ve being days trying to solve this error… Erro - Missing operator, semicolon, or ‘}’ near ‘setup’? .Any help, please?! import ddf.minim.\*; import ddf.minim.analysis.\*; import ddf.minim.effects.\*; import ddf.minim.si…

---

## [Why do I need the IF when using two movies](https://discourse.processing.org/t/why-do-i-need-the-if-when-using-two-movies/39846)

<div class="topic-metadata">

**Author:** [@illus](https://discourse.processing.org/u/illus)\
**Replies:** 5\
**Last updated:** [November 24, 2022, 4:49pm UTC](https://discourse.processing.org/t/why-do-i-need-the-if-when-using-two-movies/39846 "2022-11-24T16:49:37Z")

</div>

Below is a direct copy from the processing reference guide. I’m sure it will work, but I’m pretty new here, so I would like to understand why I need the if statement in the movieEvent. Basically why can’t this be just m…

---

## [QUESTION: Triggering video using HC-SR04 distance sensor on RPI 4](https://discourse.processing.org/t/question-triggering-video-using-hc-sr04-distance-sensor-on-rpi-4/27941)

<div class="topic-metadata">

**Author:** [@farhadbahram](https://discourse.processing.org/u/farhadbahram)\
**Replies:** 1\
**Last updated:** [November 24, 2022, 4:18pm UTC](https://discourse.processing.org/t/question-triggering-video-using-hc-sr04-distance-sensor-on-rpi-4/27941 "2022-11-24T16:18:39Z")

</div>

Hi, \[First, I already searched here in the forum (Search results for 'ultrasonic' - Processing Foundation) but couldn’t find any similar topic that includes a solution\] I am working on an art installation which trigge…

---

## [Can you help me making this game with codes](https://discourse.processing.org/t/can-you-help-me-making-this-game-with-codes/39849)

<div class="topic-metadata">

**Author:** [@processinglearner](https://discourse.processing.org/u/processinglearner)\
**Replies:** 4\
**Last updated:** [November 24, 2022, 11:26am UTC](https://discourse.processing.org/t/can-you-help-me-making-this-game-with-codes/39849 "2022-11-24T11:26:26Z")

</div>

Simulate two numbers of balls with a certain radius both colliding with the 4 sides of the screen and colliding with the balls themselves. At the moment of collision, the balls must move in the opposite direction. A prog…

---

## [Cloud of random letters](https://discourse.processing.org/t/cloud-of-random-letters/39837)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 19\
**Last updated:** [November 24, 2022, 8:45am UTC](https://discourse.processing.org/t/cloud-of-random-letters/39837 "2022-11-24T08:45:20Z")

</div>

Hi there I have done this chart with letters but what I really want yo do its a cloud with hundred of letters disorganized around the screen. How could I do something like that? Thanks size(1000,1000); background(255)…

---

## [Ensemble of points with noise](https://discourse.processing.org/t/ensemble-of-points-with-noise/39842)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 1\
**Last updated:** [November 24, 2022, 12:58am UTC](https://discourse.processing.org/t/ensemble-of-points-with-noise/39842 "2022-11-24T00:58:11Z")

</div>

Hi there I am using noise function as a beguinner and I would like to make this group of points bigger, beyond the size limits of the screen. Changing number 1000 here and there does not work, so could you please tell m…

---

## [Error - Missing “)”](https://discourse.processing.org/t/error-missing/39841)

<div class="topic-metadata">

**Author:** [@Imerso](https://discourse.processing.org/u/Imerso)\
**Replies:** 5\
**Last updated:** [November 23, 2022, 9:00pm UTC](https://discourse.processing.org/t/error-missing/39841 "2022-11-23T21:00:06Z")

</div>

Hello. I am newbie in programming. I’m trying to learn to use it in my work in photography and visual arts. I’m trying to run a code but it always gives Error - Missing “)” in the parts that I’ll put below and I don’t kn…

---

## [Multiple page PDF and draw to screen?](https://discourse.processing.org/t/multiple-page-pdf-and-draw-to-screen/3719)

<div class="topic-metadata">

**Author:** [@stirman](https://discourse.processing.org/u/stirman)\
**Replies:** 8\
**Last updated:** [November 23, 2022, 5:04pm UTC](https://discourse.processing.org/t/multiple-page-pdf-and-draw-to-screen/3719 "2022-11-23T17:04:10Z")

</div>

Is it possible to render a drawing to a multiple page PDF and draw the image to the screen? I can do either or, obviously, but the combination errors out on this line in the draw loop… PGraphicsPDF pdf = (PGraphicsPDF)…

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

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