# Latest

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

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

**Page:** 229

---

## [Need help with creating barriers/walls with boolean](https://discourse.processing.org/t/need-help-with-creating-barriers-walls-with-boolean/29444)

<div class="topic-metadata">

**Author:** [@Cherie](https://discourse.processing.org/u/Cherie)\
**Replies:** 9\
**Last updated:** [April 28, 2021, 8:24am UTC](https://discourse.processing.org/t/need-help-with-creating-barriers-walls-with-boolean/29444 "2021-04-28T08:24:55Z")

</div>

please format code with \</\> button \* homework policy \* asking questions float xpos; float ypos; float xposN; float yposN; float playersize; PVector position; float direction; PVector velocity; float jumpSpeed…

---

## [Trig question re line/circle intersections](https://discourse.processing.org/t/trig-question-re-line-circle-intersections/29671)

<div class="topic-metadata">

**Author:** [@psemme](https://discourse.processing.org/u/psemme)\
**Replies:** 5\
**Last updated:** [April 28, 2021, 7:17am UTC](https://discourse.processing.org/t/trig-question-re-line-circle-intersections/29671 "2021-04-28T07:17:23Z")

</div>

I never really grok’d trig in school but have enjoyed learning it now as I’m older. And I stumble onto things that I really feel should have simple solutions but I end up staring at them for hours because I don’t have t…

---

## [Variable Problem in Board Game](https://discourse.processing.org/t/variable-problem-in-board-game/29682)

<div class="topic-metadata">

**Author:** [@Braunstein](https://discourse.processing.org/u/Braunstein)\
**Replies:** 3\
**Last updated:** [April 28, 2021, 4:31am UTC](https://discourse.processing.org/t/variable-problem-in-board-game/29682 "2021-04-28T04:31:02Z")

</div>

So, i’m considering turning a (existing) board game into a videogame via Processing. The game is called Machi Koro; if you know it: cool, if you don’t know it: It’s a quick board game where you buy buildings (which are o…

---

## [How to change image on mouse click](https://discourse.processing.org/t/how-to-change-image-on-mouse-click/29692)

<div class="topic-metadata">

**Author:** [@ccotto](https://discourse.processing.org/u/ccotto)\
**Replies:** 6\
**Last updated:** [April 28, 2021, 12:12am UTC](https://discourse.processing.org/t/how-to-change-image-on-mouse-click/29692 "2021-04-28T00:12:32Z")

</div>

How do I change an image (of fruit) each time the user clicks on it with their mouse? This is for a drawing app where the user selects ‘brushes’ to draw on the screen with their mouse. /\* global createCanvas, resizeCanv…

---

## [Patterns with Sine](https://discourse.processing.org/t/patterns-with-sine/29674)

<div class="topic-metadata">

**Author:** [@seanc4s](https://discourse.processing.org/u/seanc4s)\
**Replies:** 6\
**Last updated:** [April 27, 2021, 10:19pm UTC](https://discourse.processing.org/t/patterns-with-sine/29674 "2021-04-27T22:19:17Z")

</div>

I am off in some weird space thinking about sub-random projections. To boldly go where no other human has gone and all that. Basically I need some sub-random pattern of sign flips to put before a fast (Walsh) Hadamard tr…

---

## [Need help with other assigned variables](https://discourse.processing.org/t/need-help-with-other-assigned-variables/29569)

<div class="topic-metadata">

**Author:** [@Bakoje](https://discourse.processing.org/u/Bakoje)\
**Replies:** 10\
**Last updated:** [April 27, 2021, 9:21pm UTC](https://discourse.processing.org/t/need-help-with-other-assigned-variables/29569 "2021-04-27T21:21:24Z")

</div>

I really need help with this one. This is how it turned out so far but it would be very nice to add buttons that can align different colored cells according to X,Y,height and width . Also an option to save the grid as a …

---

## [Cant figure this out/help with code ASAP](https://discourse.processing.org/t/cant-figure-this-out-help-with-code-asap/29686)

<div class="topic-metadata">

**Author:** [@Astromdahl01](https://discourse.processing.org/u/Astromdahl01)\
**Replies:** 3\
**Last updated:** [April 27, 2021, 8:53pm UTC](https://discourse.processing.org/t/cant-figure-this-out-help-with-code-asap/29686 "2021-04-27T20:53:12Z")

</div>

Hello, I need Help with some code, I want The record to move around freely on the canvas and go to a random x and y and repeat constantly. is there a way I can do this? here is the link to y project https://editor.p5js.…

---

## [Start again an InDict example](https://discourse.processing.org/t/start-again-an-indict-example/29676)

<div class="topic-metadata">

**Author:** [@yves](https://discourse.processing.org/u/yves)\
**Replies:** 9\
**Last updated:** [April 27, 2021, 8:03pm UTC](https://discourse.processing.org/t/start-again-an-indict-example/29676 "2021-04-27T20:03:56Z")

</div>

Hi every one, I got this InDict example, I would like to restart the all process, when the text is on the bottom of the screen. If you have any idea … Thank’s Yves /\*\* \* CountingString example \* by Daniel Shiffman…

---

## [Need help with p5GUI in instance mode](https://discourse.processing.org/t/need-help-with-p5gui-in-instance-mode/29599)

<div class="topic-metadata">

**Author:** [@edufissure](https://discourse.processing.org/u/edufissure)\
**Replies:** 9\
**Last updated:** [April 27, 2021, 7:45pm UTC](https://discourse.processing.org/t/need-help-with-p5gui-in-instance-mode/29599 "2021-04-27T19:45:47Z")

</div>

please format code with \</\> button \* homework policy \* asking questions I need to put in instance mode this code: ( sample of different p5gui examples) but i got an error of creategui… Here is my code: In basi…

---

## [Figure that returns to its initial position (walkers)](https://discourse.processing.org/t/figure-that-returns-to-its-initial-position-walkers/29670)

<div class="topic-metadata">

**Author:** [@kylu](https://discourse.processing.org/u/kylu)\
**Replies:** 4\
**Last updated:** [April 27, 2021, 7:27pm UTC](https://discourse.processing.org/t/figure-that-returns-to-its-initial-position-walkers/29670 "2021-04-27T19:27:22Z")

</div>

Hi! I have a question, I am working with a walking code and I need the lines that are formed, after a certain time, to progressively return to their initial position. Thanks!

---

## [Opinion about programming languages similar to Processing](https://discourse.processing.org/t/opinion-about-programming-languages-similar-to-processing/29495)

<div class="topic-metadata">

**Author:** [@RenanRabelo](https://discourse.processing.org/u/RenanRabelo)\
**Replies:** 7\
**Last updated:** [April 27, 2021, 2:14pm UTC](https://discourse.processing.org/t/opinion-about-programming-languages-similar-to-processing/29495 "2021-04-27T14:14:53Z")

</div>

Hi everyone, I code in Processing for about a year and I’m trying new creative coding languages like OpenFrameworks and SFML. The problem is that they are annoying to setup (I’m don’t know much about C++) and I can’t us…

---

## [Figura que vuelve a su posición inicial (caminantes)](https://discourse.processing.org/t/figura-que-vuelve-a-su-posicion-inicial-caminantes/29666)

<div class="topic-metadata">

**Author:** [@kylu](https://discourse.processing.org/u/kylu)\
**Replies:** 0\
**Last updated:** [April 26, 2021, 9:56pm UTC](https://discourse.processing.org/t/figura-que-vuelve-a-su-posicion-inicial-caminantes/29666 "2021-04-26T21:56:19Z")

</div>

Hola! Tengo una duda, estoy trabajando con un código de caminantes y necesito que las lineas que se van formando, luego de un determinado tiempo vuelvan, progresivamente a su posición inicial. Gracias!

---

## [P5 convolution does not decrease the sound amplitude](https://discourse.processing.org/t/p5-convolution-does-not-decrease-the-sound-amplitude/29452)

<div class="topic-metadata">

**Author:** [@fwullens](https://discourse.processing.org/u/fwullens)\
**Replies:** 7\
**Last updated:** [April 27, 2021, 10:07am UTC](https://discourse.processing.org/t/p5-convolution-does-not-decrease-the-sound-amplitude/29452 "2021-04-27T10:07:15Z")

</div>

Hi, I tried the nice example in the p5js.org examples page (examples | p5.js), though with my own sounds and reverb files. My goal is to make a convolution of an original signal with the impulse response of a filter whi…

---

## [All codes seem to be correct, but no response from system](https://discourse.processing.org/t/all-codes-seem-to-be-correct-but-no-response-from-system/29665)

<div class="topic-metadata">

**Author:** [@JustinChan613](https://discourse.processing.org/u/JustinChan613)\
**Replies:** 4\
**Last updated:** [April 27, 2021, 9:47am UTC](https://discourse.processing.org/t/all-codes-seem-to-be-correct-but-no-response-from-system/29665 "2021-04-27T09:47:22Z")

</div>

Still working on the tic tac toe, I have almost done the whole coding. Right now I am working on the random picking of players. When even the console.log is working, there is no response from the system. Would like to as…

---

## [Variable to store images in a list (ArrayList)](https://discourse.processing.org/t/variable-to-store-images-in-a-list-arraylist/29408)

<div class="topic-metadata">

**Author:** [@Yuls](https://discourse.processing.org/u/Yuls)\
**Replies:** 7\
**Last updated:** [April 27, 2021, 8:52am UTC](https://discourse.processing.org/t/variable-to-store-images-in-a-list-arraylist/29408 "2021-04-27T08:52:25Z")

</div>

Hi everyone, I am new to Processing and to programming in general. So that might be the source of my issue. I’ve been trying to implement and idea into code but I can’t seem to find the proper way to do this. So basical…

---

## [Double changes numbers apperently?](https://discourse.processing.org/t/double-changes-numbers-apperently/29582)

<div class="topic-metadata">

**Author:** [@NumericPrime](https://discourse.processing.org/u/NumericPrime)\
**Replies:** 4\
**Last updated:** [April 27, 2021, 8:29am UTC](https://discourse.processing.org/t/double-changes-numbers-apperently/29582 "2021-04-27T08:29:12Z")

</div>

So I am currently making a mandelbrot programm and I noticed it kind of doesn’t zoom where I want. After a long search I found the source of the problem: When giving it the place to zoom in it chnges the number when con…

---

## [Programm own Processing IDE | Is this idea feasible?](https://discourse.processing.org/t/programm-own-processing-ide-is-this-idea-feasible/29664)

<div class="topic-metadata">

**Author:** [@Flolo](https://discourse.processing.org/u/Flolo)\
**Replies:** 2\
**Last updated:** [April 27, 2021, 6:13am UTC](https://discourse.processing.org/t/programm-own-processing-ide-is-this-idea-feasible/29664 "2021-04-27T06:13:22Z")

</div>

Hey, I was wondering if and how you can program your own Processing IDE. Because I would like to do a few things differently. For example that the code completion starts automatically without pressing CMD / CTRL and the …

---

## [Trouble configuring bezier start and end points for uniform arc](https://discourse.processing.org/t/trouble-configuring-bezier-start-and-end-points-for-uniform-arc/29643)

<div class="topic-metadata">

**Author:** [@psemme](https://discourse.processing.org/u/psemme)\
**Replies:** 9\
**Last updated:** [April 27, 2021, 2:05am UTC](https://discourse.processing.org/t/trouble-configuring-bezier-start-and-end-points-for-uniform-arc/29643 "2021-04-27T02:05:04Z")

</div>

I’d like to create a shape that is, in essence, two, uniform concentric arcs connected by lines (radius segments) so that I can fill them individually. I’ve come close to doing it with Bezier curves but it’s still not ri…

---

## [Boolean (CSG union, intersect, etc) 3D shapes into p5js model](https://discourse.processing.org/t/boolean-csg-union-intersect-etc-3d-shapes-into-p5js-model/29613)

<div class="topic-metadata">

**Author:** [@ffd8](https://discourse.processing.org/u/ffd8)\
**Replies:** 10\
**Last updated:** [April 26, 2021, 8:04pm UTC](https://discourse.processing.org/t/boolean-csg-union-intersect-etc-3d-shapes-into-p5js-model/29613 "2021-04-26T20:04:46Z")

</div>

A few years ago a feature request on p5.js’ github asked about boolean 3d modeling – which was determined to be best added as a library. Researching the topic now with a student and that thread informed us about CSG, sp…

---

## [Issue with loading movie on multiple windows](https://discourse.processing.org/t/issue-with-loading-movie-on-multiple-windows/29653)

<div class="topic-metadata">

**Author:** [@toto](https://discourse.processing.org/u/toto)\
**Replies:** 9\
**Last updated:** [April 26, 2021, 4:22pm UTC](https://discourse.processing.org/t/issue-with-loading-movie-on-multiple-windows/29653 "2021-04-26T16:22:00Z")

</div>

I am trying to create two windows, and play the movie on the sub-window. So far I’ve made the sub-window appear with Applet, but it does not play the movie. The mp4 file is located in the data file, and it appears fine…

---

## [Processing js help (graveyard scene)](https://discourse.processing.org/t/processing-js-help-graveyard-scene/29647)

<div class="topic-metadata">

**Author:** [@Nameless](https://discourse.processing.org/u/Nameless)\
**Replies:** 5\
**Last updated:** [April 26, 2021, 2:51pm UTC](https://discourse.processing.org/t/processing-js-help-graveyard-scene/29647 "2021-04-26T14:51:19Z")

</div>

I am a beginner in coding. I like to code. Can someone help me to create a code a graveyard scene (I’m writing a story). Pls help me. I would greatly appreciate it.

---

## [Open text in Browser](https://discourse.processing.org/t/open-text-in-browser/29642)

<div class="topic-metadata">

**Author:** [@hklotz13](https://discourse.processing.org/u/hklotz13)\
**Replies:** 1\
**Last updated:** [April 26, 2021, 3:17pm UTC](https://discourse.processing.org/t/open-text-in-browser/29642 "2021-04-26T15:17:51Z")

</div>

Hello again! This time I’ve got a question about links. I scrapped my old project and I’ve almost got a project done based on the QRCodeReader library. My sketch reads the QR Codes just fine. I was wondering though if th…

---

## [Simon says tinkercad](https://discourse.processing.org/t/simon-says-tinkercad/29651)

<div class="topic-metadata">

**Author:** [@DijaAngel](https://discourse.processing.org/u/DijaAngel)\
**Replies:** 1\
**Last updated:** [April 26, 2021, 12:02pm UTC](https://discourse.processing.org/t/simon-says-tinkercad/29651 "2021-04-26T12:02:21Z")

</div>

\#define SW1 8 #define SW2 11 #define SW3 10 #define SW4 12 #define aSeg 2 #define bSeg 3 #define cSeg 4 #define dSeg 5 #define eSeg 6 #define fSeg 7 #define gSeg 13 #define NOTE\_A4 440 #define NOTE\_B4 440 #define NOTE\_…

---

## [Unexpected behaviour with select method in instance mode](https://discourse.processing.org/t/unexpected-behaviour-with-select-method-in-instance-mode/29612)

<div class="topic-metadata">

**Author:** [@afkqs](https://discourse.processing.org/u/afkqs)\
**Replies:** 7\
**Last updated:** [April 25, 2021, 10:15pm UTC](https://discourse.processing.org/t/unexpected-behaviour-with-select-method-in-instance-mode/29612 "2021-04-25T22:15:18Z")

</div>

Hi there, I started a project that uses p5.js in instance mode and I’m encountering a weird behaviour when I try to use the select() method. In some cases, when I try to select an element in the DOM using that function…

---

## [Auto tile background image as mouse goes beyond boundaries](https://discourse.processing.org/t/auto-tile-background-image-as-mouse-goes-beyond-boundaries/29639)

<div class="topic-metadata">

**Author:** [@deanomite](https://discourse.processing.org/u/deanomite)\
**Replies:** 2\
**Last updated:** [April 25, 2021, 8:24pm UTC](https://discourse.processing.org/t/auto-tile-background-image-as-mouse-goes-beyond-boundaries/29639 "2021-04-25T20:24:38Z")

</div>

Hi there, I would like to get an image loaded in background to get tiled automatically as the mouse moves out of bounds. So if my mouse moved upwards i.e. height\<0, the image would automatically repeat itself giving the…

---

## [Visual Border in Top-Down-2D-Game is weirdly misplaced](https://discourse.processing.org/t/visual-border-in-top-down-2d-game-is-weirdly-misplaced/29632)

<div class="topic-metadata">

**Author:** [@Braunstein](https://discourse.processing.org/u/Braunstein)\
**Replies:** 3\
**Last updated:** [April 25, 2021, 8:04pm UTC](https://discourse.processing.org/t/visual-border-in-top-down-2d-game-is-weirdly-misplaced/29632 "2021-04-25T20:04:43Z")

</div>

I’m making a 2D survival game, with a top-down perspective. I don’t want the world to be infinite, so i made the map a square, with the sides being 200.000 pixels long. The script for moving the player works fine (so the…

---

## [Updating the topic template](https://discourse.processing.org/t/updating-the-topic-template/29620)

<div class="topic-metadata">

**Author:** [@micuat](https://discourse.processing.org/u/micuat)\
**Replies:** 2\
**Last updated:** [April 25, 2021, 4:37pm UTC](https://discourse.processing.org/t/updating-the-topic-template/29620 "2021-04-25T16:37:11Z")

</div>

I don’t know if this was suggested before, but I guess it would be great to update the topic template. It could be as wordy as p5.js issue template: \<!-- Hi there! To check any option, replace the “” with a “”. Be su…

---

## [Keep getting noClassDefFoundError Errors on Mac](https://discourse.processing.org/t/keep-getting-noclassdeffounderror-errors-on-mac/11727)

<div class="topic-metadata">

**Author:** [@Bat754](https://discourse.processing.org/u/Bat754)\
**Replies:** 3\
**Last updated:** [April 25, 2021, 12:25pm UTC](https://discourse.processing.org/t/keep-getting-noclassdeffounderror-errors-on-mac/11727 "2021-04-25T12:25:10Z")

</div>

Got a quick little question. This past week, I’ve been working on some Java projects on my windows PC at home using Processing for the graphics. I’ve been using the ItelliJ IDE to add the processing library to the proje…

---

## [Troubleshooting converting from .pde to p5 sketch](https://discourse.processing.org/t/troubleshooting-converting-from-pde-to-p5-sketch/29617)

<div class="topic-metadata">

**Author:** [@stanley](https://discourse.processing.org/u/stanley)\
**Replies:** 2\
**Last updated:** [April 25, 2021, 10:15am UTC](https://discourse.processing.org/t/troubleshooting-converting-from-pde-to-p5-sketch/29617 "2021-04-25T10:15:29Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hi all, I have a Processing sketch that I need to be converted to p5.js. I’ve never used p5 or javascript before so it has become a bit more inv…

---

## [I'm in a hurry. Help. This is an OPEN CV 'contour' question](https://discourse.processing.org/t/im-in-a-hurry-help-this-is-an-open-cv-contour-question/29508)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 4\
**Last updated:** [April 25, 2021, 9:08am UTC](https://discourse.processing.org/t/im-in-a-hurry-help-this-is-an-open-cv-contour-question/29508 "2021-04-25T09:08:00Z")

</div>

I’m in a hurry. Help. This is the OPEN CV’contour’ question. I want to get the x,y coordinate values for’contour’. Please tell me a way to get the x,y coordinates. Please. int x =? int y =? import gab.opencv.; imp…

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

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