# Latest

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

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

**Page:** 295

---

## [Trying to ensure that one item spawns at a time](https://discourse.processing.org/t/trying-to-ensure-that-one-item-spawns-at-a-time/24745)

<div class="topic-metadata">

**Author:** [@jxjohn](https://discourse.processing.org/u/jxjohn)\
**Replies:** 4\
**Last updated:** [October 21, 2020, 10:46am UTC](https://discourse.processing.org/t/trying-to-ensure-that-one-item-spawns-at-a-time/24745 "2020-10-21T10:46:05Z")

</div>

Hi, I’m trying to say when an enemy disappear from the screen it will move from 1 array to the next while maintaining the previous shape it has already drew. However, whenever I run the code it seems to draw all the arra…

---

## [How to put an array of images inside a function?](https://discourse.processing.org/t/how-to-put-an-array-of-images-inside-a-function/24379)

<div class="topic-metadata">

**Author:** [@tea](https://discourse.processing.org/u/tea)\
**Replies:** 27\
**Last updated:** [October 21, 2020, 6:51am UTC](https://discourse.processing.org/t/how-to-put-an-array-of-images-inside-a-function/24379 "2020-10-21T06:51:37Z")

</div>

So I’m writing a Super Mario/platform game for school, and I’m trying to make a hand-drawn character move around the screen, in three modes: Idle: just standing, default mode if no key is pressed Running: when right or…

---

## [About p5.js sketch](https://discourse.processing.org/t/about-p5-js-sketch/24777)

<div class="topic-metadata">

**Author:** [@Imsso](https://discourse.processing.org/u/Imsso)\
**Replies:** 1\
**Last updated:** [October 21, 2020, 7:31am UTC](https://discourse.processing.org/t/about-p5-js-sketch/24777 "2020-10-21T07:31:35Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hi I am trying to use p5.js and have a question about all sketches I make on p5.js editor Is anyone can access to sketches I made? Is there a…

---

## [P5.js help with running the compiled js](https://discourse.processing.org/t/p5-js-help-with-running-the-compiled-js/24781)

<div class="topic-metadata">

**Author:** [@Gyuu](https://discourse.processing.org/u/Gyuu)\
**Replies:** 3\
**Last updated:** [October 21, 2020, 7:00am UTC](https://discourse.processing.org/t/p5-js-help-with-running-the-compiled-js/24781 "2020-10-21T07:00:51Z")

</div>

index.html \<!DOCTYPE html\> \<html lang="en"\> \<head\> \<meta charset="utf-8" /\> \<meta name="viewport" content="width=device-width, initial-scale=1.0"\> \<title\>Sketch\</title\> \<link rel="stylesheet" type="tex…

---

## [Bluetooth hc-05 mac arduino](https://discourse.processing.org/t/bluetooth-hc-05-mac-arduino/24782)

<div class="topic-metadata">

**Author:** [@seoha](https://discourse.processing.org/u/seoha)\
**Replies:** 1\
**Last updated:** [October 21, 2020, 6:27am UTC](https://discourse.processing.org/t/bluetooth-hc-05-mac-arduino/24782 "2020-10-21T06:27:19Z")

</div>

MacBook and bluetooth hc-05 are not connected. What should I do?:joy::joy:

---

## [Image doesn't show](https://discourse.processing.org/t/image-doesnt-show/24693)

<div class="topic-metadata">

**Author:** [@lukeltw](https://discourse.processing.org/u/lukeltw)\
**Replies:** 7\
**Last updated:** [October 20, 2020, 6:41pm UTC](https://discourse.processing.org/t/image-doesnt-show/24693 "2020-10-20T18:41:08Z")

</div>

Can someone tell me where is wrong? I am a new programmer, I try to run my code, then I got this: The file “psa.jpg” is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch…

---

## [Accepting the Android SDK component](https://discourse.processing.org/t/accepting-the-android-sdk-component/24752)

<div class="topic-metadata">

**Author:** [@Dr.Quark](https://discourse.processing.org/u/Dr.Quark)\
**Replies:** 1\
**Last updated:** [October 20, 2020, 4:57pm UTC](https://discourse.processing.org/t/accepting-the-android-sdk-component/24752 "2020-10-20T16:57:44Z")

</div>

I am at a loss. I have tried everything I have read on how to do this. When I first did the install, it never asked about accepting the license and now I can’t find a way to do so. Is the solution to uninstall and try it…

---

## [Making shape disappear in a specific area](https://discourse.processing.org/t/making-shape-disappear-in-a-specific-area/24749)

<div class="topic-metadata">

**Author:** [@karbon](https://discourse.processing.org/u/karbon)\
**Replies:** 1\
**Last updated:** [October 20, 2020, 4:44pm UTC](https://discourse.processing.org/t/making-shape-disappear-in-a-specific-area/24749 "2020-10-20T16:44:43Z")

</div>

I am trying to make a shape disappear once it is released in a certain area of the window. I am unsure how I should look at the problem to make it work. I couldn’t find examples that were interactivity based. All the one…

---

## [Trying to create random circle that does not overlap](https://discourse.processing.org/t/trying-to-create-random-circle-that-does-not-overlap/24637)

<div class="topic-metadata">

**Author:** [@jxjohn](https://discourse.processing.org/u/jxjohn)\
**Replies:** 25\
**Last updated:** [October 20, 2020, 3:41pm UTC](https://discourse.processing.org/t/trying-to-create-random-circle-that-does-not-overlap/24637 "2020-10-20T15:41:29Z")

</div>

Hi I’m trying to create random circles which do not overlap. I have seen a few videos on the net but they do not specifically use array to solve the question. Is there any way to do it? Below is the code I have tried ou…

---

## [When one of the images pops up, the others are invisible](https://discourse.processing.org/t/when-one-of-the-images-pops-up-the-others-are-invisible/24748)

<div class="topic-metadata">

**Author:** [@seoha](https://discourse.processing.org/u/seoha)\
**Replies:** 2\
**Last updated:** [October 20, 2020, 1:34pm UTC](https://discourse.processing.org/t/when-one-of-the-images-pops-up-the-others-are-invisible/24748 "2020-10-20T13:34:47Z")

</div>

Hello🤗 I want to make three images change one by one depending on the situation. How should I make them? Can you help me?:joy:

---

## [Create an artistic design that evolves and is transformed over time](https://discourse.processing.org/t/create-an-artistic-design-that-evolves-and-is-transformed-over-time/24706)

<div class="topic-metadata">

**Author:** [@olotropic\_world](https://discourse.processing.org/u/olotropic_world)\
**Replies:** 5\
**Last updated:** [October 20, 2020, 11:44am UTC](https://discourse.processing.org/t/create-an-artistic-design-that-evolves-and-is-transformed-over-time/24706 "2020-10-20T11:44:17Z")

</div>

Hi everyone, I would like to draw with Processing a specific visual object similar to a “larva that opens up” and inside there is a human being, similar to this image that I am attaching to you. The design must have …

---

## [Working with 2D arrays](https://discourse.processing.org/t/working-with-2d-arrays/24683)

<div class="topic-metadata">

**Author:** [@thughes](https://discourse.processing.org/u/thughes)\
**Replies:** 11\
**Last updated:** [October 20, 2020, 11:23am UTC](https://discourse.processing.org/t/working-with-2d-arrays/24683 "2020-10-20T11:23:18Z")

</div>

Can someone help me find out what I am doing wrong? Why is it not showing my green square? \*\*\*\*Move it as the first if statement that is checked.( I moved to to the beginning of draw….) The other two statements shoul…

---

## [Oscillating audio file volume slider with Minim & Processing](https://discourse.processing.org/t/oscillating-audio-file-volume-slider-with-minim-processing/24731)

<div class="topic-metadata">

**Author:** [@acousticer](https://discourse.processing.org/u/acousticer)\
**Replies:** 1\
**Last updated:** [October 20, 2020, 9:55am UTC](https://discourse.processing.org/t/oscillating-audio-file-volume-slider-with-minim-processing/24731 "2020-10-20T09:55:13Z")

</div>

Hi, I’ve just been using processing for a few weeks but I’m struggling to understand how I can code this with Minim. I’ve made a slider, which controls the gain of an audio track (setVolume hasn’t worked for me). Eithe…

---

## [Graphical 3D vector subtraction and addition visualizer, and the monitor scale problem](https://discourse.processing.org/t/graphical-3d-vector-subtraction-and-addition-visualizer-and-the-monitor-scale-problem/24638)

<div class="topic-metadata">

**Author:** [@noel](https://discourse.processing.org/u/noel)\
**Replies:** 5\
**Last updated:** [October 19, 2020, 9:35pm UTC](https://discourse.processing.org/t/graphical-3d-vector-subtraction-and-addition-visualizer-and-the-monitor-scale-problem/24638 "2020-10-19T21:35:23Z")

</div>

P5.js sketch representing graphical 3D vector subtraction and addition by rotating. around y-axis. I am interested in learning about how far the video setting relates to the sketch canvas. (In my case I’ve set it to 125…

---

## [Building a multiplayer game with P5 and Angular](https://discourse.processing.org/t/building-a-multiplayer-game-with-p5-and-angular/24714)

<div class="topic-metadata">

**Author:** [@kemmeldev](https://discourse.processing.org/u/kemmeldev)\
**Replies:** 1\
**Last updated:** [October 19, 2020, 9:28pm UTC](https://discourse.processing.org/t/building-a-multiplayer-game-with-p5-and-angular/24714 "2020-10-19T21:28:04Z")

</div>

I am making a board game on a site created with Angular. I want the game to be able to be played by 2 persons on their own computer, over the internet. I know that I created a Processing sketch before where if ran, the…

---

## [Help me program how to win in tic tac toe](https://discourse.processing.org/t/help-me-program-how-to-win-in-tic-tac-toe/24340)

<div class="topic-metadata">

**Author:** [@Cal\_codes](https://discourse.processing.org/u/Cal_codes)\
**Replies:** 5\
**Last updated:** [October 5, 2020, 5:18pm UTC](https://discourse.processing.org/t/help-me-program-how-to-win-in-tic-tac-toe/24340 "2020-10-05T17:18:29Z")

</div>

please format code with \</\> button \* homework policy \* asking questions //A simple tic tac toe by Caleigh Esterhuyse Grid grid; int numMoves = 9; int column, row; boolean player1Playing = true; int moves = new i…

---

## [Send data to p5.js from another program](https://discourse.processing.org/t/send-data-to-p5-js-from-another-program/24717)

<div class="topic-metadata">

**Author:** [@kkscr](https://discourse.processing.org/u/kkscr)\
**Replies:** 1\
**Last updated:** [October 19, 2020, 4:08pm UTC](https://discourse.processing.org/t/send-data-to-p5-js-from-another-program/24717 "2020-10-19T16:08:06Z")

</div>

Hello ! I have some code written in C for a robot, and I would like to make a simulation with processing. I want to send data ( the coordinate of a few robots on a map) from my C program to a processing instance. In an…

---

## [Processing4 and Swing Integration?](https://discourse.processing.org/t/processing4-and-swing-integration/24723)

<div class="topic-metadata">

**Author:** [@mshillinger](https://discourse.processing.org/u/mshillinger)\
**Replies:** 0\
**Last updated:** [October 19, 2020, 3:35pm UTC](https://discourse.processing.org/t/processing4-and-swing-integration/24723 "2020-10-19T15:35:16Z")

</div>

I have a Java Swing app which uses processing 2.x. Will Processing 4.x support embedding the app in a Swing GUI. Regards Mike Shillinger

---

## [To play a video against the background of the kinect](https://discourse.processing.org/t/to-play-a-video-against-the-background-of-the-kinect/24716)

<div class="topic-metadata">

**Author:** [@seoha](https://discourse.processing.org/u/seoha)\
**Replies:** 0\
**Last updated:** [October 19, 2020, 2:55pm UTC](https://discourse.processing.org/t/to-play-a-video-against-the-background-of-the-kinect/24716 "2020-10-19T14:55:44Z")

</div>

I’m a beginner, can you tell me the details please?:joy::joy: The background image is regenerated, but I can’t see the image of people being recognized and floating people. And the video that you ran before that runs t…

---

## [Processing does not find device](https://discourse.processing.org/t/processing-does-not-find-device/24193)

<div class="topic-metadata">

**Author:** [@laererlund](https://discourse.processing.org/u/laererlund)\
**Replies:** 8\
**Last updated:** [October 19, 2020, 3:06pm UTC](https://discourse.processing.org/t/processing-does-not-find-device/24193 "2020-10-19T15:06:05Z")

</div>

Hi, I have a problem with a LEAP Motion controller not responding. And I dont think it is the controller, because it worked fine the other day - I think it is Processing somehow losing track of ports and devices, somewh…

---

## [Unsatisfied Link Error despite Shared Library existing at proper location](https://discourse.processing.org/t/unsatisfied-link-error-despite-shared-library-existing-at-proper-location/22544)

<div class="topic-metadata">

**Author:** [@johnbentcope](https://discourse.processing.org/u/johnbentcope)\
**Replies:** 6\
**Last updated:** [October 19, 2020, 2:00pm UTC](https://discourse.processing.org/t/unsatisfied-link-error-despite-shared-library-existing-at-proper-location/22544 "2020-10-19T14:00:57Z")

</div>

Hello! I’ve been working on a codebase for a while now on Ubuntu 20.04, but for a ROS dependency I’ve installed 18.04 on another partition and am trying to get going again. In the new installation, I’ve recompiled my cop…

---

## [Using nyar4psg library for augmented reality](https://discourse.processing.org/t/using-nyar4psg-library-for-augmented-reality/23992)

<div class="topic-metadata">

**Author:** [@padmakn](https://discourse.processing.org/u/padmakn)\
**Replies:** 12\
**Last updated:** [October 19, 2020, 12:17pm UTC](https://discourse.processing.org/t/using-nyar4psg-library-for-augmented-reality/23992 "2020-10-19T12:17:35Z")

</div>

Hi, I am using the nyar4psg library for augmented reality. I am able to see the 3d cube in the below picture in my tablet when its camera is pointing to a marker image, but how is it coming out on the paper. I mean how …

---

## [Trying to make a cross on this grid](https://discourse.processing.org/t/trying-to-make-a-cross-on-this-grid/24676)

<div class="topic-metadata">

**Author:** [@marcospyder](https://discourse.processing.org/u/marcospyder)\
**Replies:** 6\
**Last updated:** [October 19, 2020, 12:09pm UTC](https://discourse.processing.org/t/trying-to-make-a-cross-on-this-grid/24676 "2020-10-19T12:09:09Z")

</div>

Just as the title explains. I managed to make one line go across the grid, but i’m not sure how to do the other line to create a cross. The idea is to make an expression just like “x===y” to automaticly make the other li…

---

## [Rectangle coding help](https://discourse.processing.org/t/rectangle-coding-help/24687)

<div class="topic-metadata">

**Author:** [@rk0945](https://discourse.processing.org/u/rk0945)\
**Replies:** 4\
**Last updated:** [October 19, 2020, 10:06am UTC](https://discourse.processing.org/t/rectangle-coding-help/24687 "2020-10-19T10:06:53Z")

</div>

int numRows; int rowColumns; int rowLength; int startX; int startY; int rectWidth; int rectHeight; boolean isColour; void setup () { size (900, 400); stroke (0); numRows = 1; rowColumns = 1; rowLength = 10;…

---

## [Code to integrate profile ICC for PGraphicsPDF](https://discourse.processing.org/t/code-to-integrate-profile-icc-for-pgraphicspdf/24703)

<div class="topic-metadata">

**Author:** [@Claude-CLd1](https://discourse.processing.org/u/Claude-CLd1)\
**Replies:** 0\
**Last updated:** [October 19, 2020, 10:03am UTC](https://discourse.processing.org/t/code-to-integrate-profile-icc-for-pgraphicspdf/24703 "2020-10-19T10:03:15Z")

</div>

Hello, do you know how I can include an ICC profile inside the PDF file generated by PGraphicsPDF. Thank you for your help.

---

## [Comment intégrer un profil ICC pour PGraphicsPDF](https://discourse.processing.org/t/comment-integrer-un-profil-icc-pour-pgraphicspdf/24701)

<div class="topic-metadata">

**Author:** [@Claude-CLd1](https://discourse.processing.org/u/Claude-CLd1)\
**Replies:** 0\
**Last updated:** [October 19, 2020, 10:00am UTC](https://discourse.processing.org/t/comment-integrer-un-profil-icc-pour-pgraphicspdf/24701 "2020-10-19T10:00:56Z")

</div>

Bonjour, savez-vous comment inclure un profil ICC dans le fichier PDF créé avec PGraphicsPDF. Merci de votre aide

---

## [A Javascript prototype question](https://discourse.processing.org/t/a-javascript-prototype-question/24699)

<div class="topic-metadata">

**Author:** [@flamo](https://discourse.processing.org/u/flamo)\
**Replies:** 3\
**Last updated:** [October 19, 2020, 8:37am UTC](https://discourse.processing.org/t/a-javascript-prototype-question/24699 "2020-10-19T08:37:14Z")

</div>

I am currently learning on how to use prototype in JS. I am curious about what happened after I extended a prototype and then I store the function as variable. why the console.log gives me a Window object for the canvas?…

---

## [Has the Web-Editor a bug when using line in WEBGL renderer?](https://discourse.processing.org/t/has-the-web-editor-a-bug-when-using-line-in-webgl-renderer/24539)

<div class="topic-metadata">

**Author:** [@noel](https://discourse.processing.org/u/noel)\
**Replies:** 2\
**Last updated:** [October 19, 2020, 4:36am UTC](https://discourse.processing.org/t/has-the-web-editor-a-bug-when-using-line-in-webgl-renderer/24539 "2020-10-19T04:36:50Z")

</div>

This code does not draw a line in the P5.js Web-Editor but draws in OpenProcessing and Processing IDE. Should it be reported? function setup() { createCanvas(windowWidth, windowHeight, WEBGL); stroke(255); } func…

---

## [How to get text(); vertical](https://discourse.processing.org/t/how-to-get-text-vertical/24685)

<div class="topic-metadata">

**Author:** [@Ellie98](https://discourse.processing.org/u/Ellie98)\
**Replies:** 2\
**Last updated:** [October 18, 2020, 9:21pm UTC](https://discourse.processing.org/t/how-to-get-text-vertical/24685 "2020-10-18T21:21:17Z")

</div>

How do I get the numbers vertical? Starting from 0 down to 9 char alphabet = 'a'; char nextChar; float chatX = 20; int spacing; char neuChar; float chaX = 20; char alp = 'Z'; char zahlenChar; float chaXX = 5; char cou…

---

## [SDK & Connecting Devices](https://discourse.processing.org/t/sdk-connecting-devices/24519)

<div class="topic-metadata">

**Author:** [@Pete\_r61](https://discourse.processing.org/u/Pete_r61)\
**Replies:** 8\
**Last updated:** [October 18, 2020, 8:57pm UTC](https://discourse.processing.org/t/sdk-connecting-devices/24519 "2020-10-18T20:57:14Z")

</div>

I use latest Processing 3 software. I removed all existing SDK, Android Studio etc to get clean start. 1- Reinstalled android studio to start with 2- Used SDK updater of Processing… no update available… as 30, 29, 28 e…

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

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