# Latest

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

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

**Page:** 456

---

## [New to coding; need a lotta help!](https://discourse.processing.org/t/new-to-coding-need-a-lotta-help/13372)

<div class="topic-metadata">

**Author:** [@CipherMan](https://discourse.processing.org/u/CipherMan)\
**Replies:** 14\
**Last updated:** [August 15, 2019, 11:35am UTC](https://discourse.processing.org/t/new-to-coding-need-a-lotta-help/13372 "2019-08-15T11:35:45Z")

</div>

I have been following along with Daniel Shiffman’s tutorial videos on YouTube, and some codes work but others don’t. I’m new to coding, but it seems that the problem is the variables I put in, that the reader(?) doesn’t …

---

## [Need help - changeable text screen output](https://discourse.processing.org/t/need-help-changeable-text-screen-output/13374)

<div class="topic-metadata">

**Author:** [@waffi](https://discourse.processing.org/u/waffi)\
**Replies:** 5\
**Last updated:** [August 15, 2019, 9:04am UTC](https://discourse.processing.org/t/need-help-changeable-text-screen-output/13374 "2019-08-15T09:04:12Z")

</div>

how can you output a changing text, which comes via a serial interface on the screen output? the problem is that the first text always stops and then it runs into each other. example: textSize(100); fill(0, 139, 0,…

---

## [Experiencing lots of lag](https://discourse.processing.org/t/experiencing-lots-of-lag/13387)

<div class="topic-metadata">

**Author:** [@skrrt.exe](https://discourse.processing.org/u/skrrt.exe)\
**Replies:** 8\
**Last updated:** [August 15, 2019, 2:06am UTC](https://discourse.processing.org/t/experiencing-lots-of-lag/13387 "2019-08-15T02:06:23Z")

</div>

I just started using Processing today and kind of just jumped right into it. I used it a lot on Khan Academy but never with an Arduino. I have a book that taught me a little bit about how to use processing and using it w…

---

## [P3D Formula : opposite of screenX and screenY is ...?](https://discourse.processing.org/t/p3d-formula-opposite-of-screenx-and-screeny-is/10121)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 5\
**Last updated:** [August 14, 2019, 7:21pm UTC](https://discourse.processing.org/t/p3d-formula-opposite-of-screenx-and-screeny-is/10121 "2019-08-14T19:21:20Z")

</div>

Hello all, can someone do me a favour and post the code from screenX and screenY from the repository? I would like to see how it works. Thanks! Chrisir

---

## [Fighting game java](https://discourse.processing.org/t/fighting-game-java/13295)

<div class="topic-metadata">

**Author:** [@ctrembla](https://discourse.processing.org/u/ctrembla)\
**Replies:** 6\
**Last updated:** [August 14, 2019, 7:11pm UTC](https://discourse.processing.org/t/fighting-game-java/13295 "2019-08-14T19:11:37Z")

</div>

I’m making a fighting game where warriors come from both sides and meet in the middle. ATM I placed them in the middle because the map not done yet. Anyways I was trying to set up the fight but the way i’m trying to do i…

---

## [Trouble with keyCode](https://discourse.processing.org/t/trouble-with-keycode/13376)

<div class="topic-metadata">

**Author:** [@abigail](https://discourse.processing.org/u/abigail)\
**Replies:** 3\
**Last updated:** [August 14, 2019, 6:51pm UTC](https://discourse.processing.org/t/trouble-with-keycode/13376 "2019-08-14T18:51:47Z")

</div>

Hi, so I’m trying to move a square around the screen using the arrow keys. I have the code written for the square to move right when the right arrow key is pressed, but the square keeps moving once the key is released. H…

---

## [Code2Create, Andover (UK) - Sep 5th-7th](https://discourse.processing.org/t/code2create-andover-uk-sep-5th-7th/13378)

<div class="topic-metadata">

**Author:** [@neilcsmith](https://discourse.processing.org/u/neilcsmith)\
**Replies:** 0\
**Last updated:** [August 14, 2019, 5:11pm UTC](https://discourse.processing.org/t/code2create-andover-uk-sep-5th-7th/13378 "2019-08-14T17:11:58Z")

</div>

I’ll be teaching a course for Chapel Arts Studios in Andover, Sep 5th-7th. Called Code2Create, it will focus on using Processing, mainly inside PraxisLIVE. We will explore graphics, video, audio, data visualization, an…

---

## [Need help with very simple animation new to processing](https://discourse.processing.org/t/need-help-with-very-simple-animation-new-to-processing/13328)

<div class="topic-metadata">

**Author:** [@Heatwave87](https://discourse.processing.org/u/Heatwave87)\
**Replies:** 3\
**Last updated:** [August 14, 2019, 1:09pm UTC](https://discourse.processing.org/t/need-help-with-very-simple-animation-new-to-processing/13328 "2019-08-14T13:09:21Z")

</div>

hi I’m really new to processing and I’m just wondering how I could make something like a rectangle for example disappear when I click and come back when I stop holding the click if anyone could help me with this I would…

---

## [Arraylist in a draw function](https://discourse.processing.org/t/arraylist-in-a-draw-function/13344)

<div class="topic-metadata">

**Author:** [@nicnut](https://discourse.processing.org/u/nicnut)\
**Replies:** 3\
**Last updated:** [August 14, 2019, 1:37pm UTC](https://discourse.processing.org/t/arraylist-in-a-draw-function/13344 "2019-08-14T13:37:17Z")

</div>

Hi, I am really new to processing. I am controlling my animations using OSC messages. I altered some code from one of the “create shapes” examples and I want to be able to control the number of items in an array list. I…

---

## [FX2D noSmooth(), textureSampling?](https://discourse.processing.org/t/fx2d-nosmooth-texturesampling/4312)

<div class="topic-metadata">

**Author:** [@lmccandless](https://discourse.processing.org/u/lmccandless)\
**Replies:** 1\
**Last updated:** [August 14, 2019, 11:13am UTC](https://discourse.processing.org/t/fx2d-nosmooth-texturesampling/4312 "2019-08-14T11:13:14Z")

</div>

The performance boost from FX2D is really nice, however I can’t seem to be able to turn off the smoothing. noSmooth() doesn’t work, before or after calling size(), in settings() or setup(); It doesn’t appear ((PGraphics…

---

## [Image and controlP5 library](https://discourse.processing.org/t/image-and-controlp5-library/13366)

<div class="topic-metadata">

**Author:** [@Mic29](https://discourse.processing.org/u/Mic29)\
**Replies:** 1\
**Last updated:** [August 14, 2019, 2:05am UTC](https://discourse.processing.org/t/image-and-controlp5-library/13366 "2019-08-14T02:05:54Z")

</div>

Is there any method to insert an image into a controlP5 Group? If not exist what is a possible solution to do this action?

---

## [Positioning styled Dom elements](https://discourse.processing.org/t/positioning-styled-dom-elements/13369)

<div class="topic-metadata">

**Author:** [@rkdnson](https://discourse.processing.org/u/rkdnson)\
**Replies:** 1\
**Last updated:** [August 14, 2019, 1:45am UTC](https://discourse.processing.org/t/positioning-styled-dom-elements/13369 "2019-08-14T01:45:31Z")

</div>

I am having trouble positioning a checkbox after calling the style.transform function to scale it. In posting this I am finding similar topics using select() but am still unsure. Below, my goal would be that the checkbo…

---

## [Processing Export Fails No Matter What](https://discourse.processing.org/t/processing-export-fails-no-matter-what/13364)

<div class="topic-metadata">

**Author:** [@8bit\_coder](https://discourse.processing.org/u/8bit_coder)\
**Replies:** 3\
**Last updated:** [August 14, 2019, 1:33am UTC](https://discourse.processing.org/t/processing-export-fails-no-matter-what/13364 "2019-08-14T01:33:35Z")

</div>

I tried everything that people have suggested, such as moving the sketch and/or the processing files into the root C:\\ directory and that did nothing. I have no idea why this is happening because the program runs fine bu…

---

## [Shape parameter for 3D position](https://discourse.processing.org/t/shape-parameter-for-3d-position/13352)

<div class="topic-metadata">

**Author:** [@kll](https://discourse.processing.org/u/kll)\
**Replies:** 2\
**Last updated:** [August 14, 2019, 1:24am UTC](https://discourse.processing.org/t/shape-parameter-for-3d-position/13352 "2019-08-14T01:24:01Z")

</div>

i know from https://processing.org/reference/shape\_.html shape(s) shape(s, x, y) shape(s, a, b, c, d) and s.translate(x, y) also it is possible to use in P3D s.translate(x, y, z) what is additive, so s.reset…

---

## [Could I use P5.js to make games that runs on Kaios Phones?](https://discourse.processing.org/t/could-i-use-p5-js-to-make-games-that-runs-on-kaios-phones/13355)

<div class="topic-metadata">

**Author:** [@alexpfb](https://discourse.processing.org/u/alexpfb)\
**Replies:** 2\
**Last updated:** [August 13, 2019, 8:56pm UTC](https://discourse.processing.org/t/could-i-use-p5-js-to-make-games-that-runs-on-kaios-phones/13355 "2019-08-13T20:56:16Z")

</div>

I would like to make some simple 2d games to run in low cost Phones that runs KaiOs (Like JioPhone. Is P5.js suitable for that? In terms of performance?

---

## [P5JS Particle Flow Animation](https://discourse.processing.org/t/p5js-particle-flow-animation/13343)

<div class="topic-metadata">

**Author:** [@atoro](https://discourse.processing.org/u/atoro)\
**Replies:** 1\
**Last updated:** [August 13, 2019, 9:50am UTC](https://discourse.processing.org/t/p5js-particle-flow-animation/13343 "2019-08-13T09:50:10Z")

</div>

Check out the online demo The source code is available here

---

## [Reference to default canvas/screen](https://discourse.processing.org/t/reference-to-default-canvas-screen/13351)

<div class="topic-metadata">

**Author:** [@danne](https://discourse.processing.org/u/danne)\
**Replies:** 1\
**Last updated:** [August 13, 2019, 9:19am UTC](https://discourse.processing.org/t/reference-to-default-canvas-screen/13351 "2019-08-13T09:19:48Z")

</div>

Hello! I want to send the default canvas/screen to a class. I can’t remember how to make a reference to the default canvas :confused: help please :wink: / Danne

---

## [Multiple classes eclipse with processing](https://discourse.processing.org/t/multiple-classes-eclipse-with-processing/1142)

<div class="topic-metadata">

**Author:** [@zejton](https://discourse.processing.org/u/zejton)\
**Replies:** 6\
**Last updated:** [August 13, 2019, 6:31am UTC](https://discourse.processing.org/t/multiple-classes-eclipse-with-processing/1142 "2019-08-13T06:31:31Z")

</div>

Hey! So I am new to processing and would love some help with how to get multiple classes working in eclipse with processing this is my code: This is one class “mouse”: import processing.core.PApplet; public class Mo…

---

## [P5.js for Weebly](https://discourse.processing.org/t/p5-js-for-weebly/13341)

<div class="topic-metadata">

**Author:** [@jgavlik](https://discourse.processing.org/u/jgavlik)\
**Replies:** 1\
**Last updated:** [August 13, 2019, 4:09am UTC](https://discourse.processing.org/t/p5-js-for-weebly/13341 "2019-08-13T04:09:22Z")

</div>

Can I import my P5.js script into Weebly?

---

## [3D shape with a bad seam](https://discourse.processing.org/t/3d-shape-with-a-bad-seam/13218)

<div class="topic-metadata">

**Author:** [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Replies:** 18\
**Last updated:** [August 13, 2019, 2:42am UTC](https://discourse.processing.org/t/3d-shape-with-a-bad-seam/13218 "2019-08-13T02:42:03Z")

</div>

Hello all, I produced a 3D quadt\_strip shape, but not only one row but multiple. It’s kind of a circle (Moebius strip). Unfortunately I have a big seam (horizontal right side) I cannot get rid of. Can someone check m…

---

## [\[SOLVED\] Delete circles if mousePressed help?](https://discourse.processing.org/t/solved-delete-circles-if-mousepressed-help/4056)

<div class="topic-metadata">

**Author:** [@Mikaela](https://discourse.processing.org/u/Mikaela)\
**Replies:** 2\
**Last updated:** [October 4, 2018, 1:47pm UTC](https://discourse.processing.org/t/solved-delete-circles-if-mousepressed-help/4056 "2018-10-04T13:47:18Z")

</div>

I’m trying to figure out what’s the code to make the circles disappear if the mouse is pressed. If you know what it is, please share it! I pasted my code below thanks! // Lab 3 Question 7 // Write a program that draws …

---

## [Check the number of people](https://discourse.processing.org/t/check-the-number-of-people/13309)

<div class="topic-metadata">

**Author:** [@jeeees2](https://discourse.processing.org/u/jeeees2)\
**Replies:** 5\
**Last updated:** [August 12, 2019, 11:57pm UTC](https://discourse.processing.org/t/check-the-number-of-people/13309 "2019-08-12T23:57:31Z")

</div>

Hi, I’m a beginner in processing. I try to check up to two people using the ‘Kinect divice and program.’ However, I try to print the result images differently from 0 to 1 person and the result images from 2 to 1. I can…

---

## [Atan function not working correctly?](https://discourse.processing.org/t/atan-function-not-working-correctly/13340)

<div class="topic-metadata">

**Author:** [@inzywinki](https://discourse.processing.org/u/inzywinki)\
**Replies:** 3\
**Last updated:** [August 12, 2019, 11:39pm UTC](https://discourse.processing.org/t/atan-function-not-working-correctly/13340 "2019-08-12T23:39:41Z")

</div>

i am trying the inverse tangent function in processing java, i am using the atan(float) function, when i use a paramater around 100 / 70 i am getting the wrong result, this is true for atan(100 / 75), atan(100 / 80) a…

---

## [How to import a Live stream link to processing?](https://discourse.processing.org/t/how-to-import-a-live-stream-link-to-processing/13217)

<div class="topic-metadata">

**Author:** [@luonglinhle](https://discourse.processing.org/u/luonglinhle)\
**Replies:** 3\
**Last updated:** [August 12, 2019, 10:58pm UTC](https://discourse.processing.org/t/how-to-import-a-live-stream-link-to-processing/13217 "2019-08-12T22:58:45Z")

</div>

Hi alls! I am newbie to Processing. I have an idea to create a visual interaction with live-stream video from facebook, twitter or from other source as Vimeo, youtube. I think what is needed is the IP address of the pe…

---

## [\[SOLVED\] How to debug this timeout error](https://discourse.processing.org/t/solved-how-to-debug-this-timeout-error/4383)

<div class="topic-metadata">

**Author:** [@ProsExplorer](https://discourse.processing.org/u/ProsExplorer)\
**Replies:** 0\
**Last updated:** [October 12, 2018, 6:04am UTC](https://discourse.processing.org/t/solved-how-to-debug-this-timeout-error/4383 "2018-10-12T06:04:20Z")

</div>

Conclusion: 10-15-2018 From what I’ve seen attempting to debug this and creating a hybrid version with an earlier boolean version there’s an issue with the classes function that causes the program to continuously load …

---

## [\[SOLVED\] Edge artifacts when random-access sampling a texture in a shader on Linux](https://discourse.processing.org/t/solved-edge-artifacts-when-random-access-sampling-a-texture-in-a-shader-on-linux/8382)

<div class="topic-metadata">

**Author:** [@scudly](https://discourse.processing.org/u/scudly)\
**Replies:** 0\
**Last updated:** [February 13, 2019, 10:30pm UTC](https://discourse.processing.org/t/solved-edge-artifacts-when-random-access-sampling-a-texture-in-a-shader-on-linux/8382 "2019-02-13T22:30:16Z")

</div>

Edit: This texture sampling bug only seems to occur on Linux. On both Windows 10 and Android, I can set point sampling with ((PGraphicsOpenGL)g).textureSampling(2); and get clean images, but on Linux, that line has no e…

---

## [\[SOLVED\] Downloading image, saving to specific folder](https://discourse.processing.org/t/solved-downloading-image-saving-to-specific-folder/11784)

<div class="topic-metadata">

**Author:** [@SoulT](https://discourse.processing.org/u/SoulT)\
**Replies:** 0\
**Last updated:** [June 2, 2019, 7:42pm UTC](https://discourse.processing.org/t/solved-downloading-image-saving-to-specific-folder/11784 "2019-06-02T19:42:35Z")

</div>

Howdy guys, I’m trying to set up a basic script that will download an image, and then save the image as a transparent PNG to a specific folder. Here’s what I have so far (I’ve replaced the url, for privacy sake. The act…

---

## [\[SOLVED\] Does my Android have rotationX?](https://discourse.processing.org/t/solved-does-my-android-have-rotationx/7977)

<div class="topic-metadata">

**Author:** [@saintrain](https://discourse.processing.org/u/saintrain)\
**Replies:** 0\
**Last updated:** [January 30, 2019, 11:28pm UTC](https://discourse.processing.org/t/solved-does-my-android-have-rotationx/7977 "2019-01-30T23:28:09Z")

</div>

Hmm! If i run setup(), rotationX is defined!? Sorry. Doug Hi! Android 4.4.2 using Chrome 71.0 typeOf(rotationX) returns “undefined”. Is 4.4.2 too old? Is there an alternative? Thanks! Doug. Edit: Using \<scrip…

---

## [\[SOLVED\] G4p window refreshing](https://discourse.processing.org/t/solved-g4p-window-refreshing/3966)

<div class="topic-metadata">

**Author:** [@zeroisnull](https://discourse.processing.org/u/zeroisnull)\
**Replies:** 0\
**Last updated:** [September 30, 2018, 1:13am UTC](https://discourse.processing.org/t/solved-g4p-window-refreshing/3966 "2018-09-30T01:13:17Z")

</div>

Hello All. I am using G4P Library and I have made a form which takes username(textfield) and gender (droplist) but whenever i try to write something, the window keeps on refreshing. How do I tackle it? Edit: I was able…

---

## [P5.js and WebGL: drawing lines](https://discourse.processing.org/t/p5-js-and-webgl-drawing-lines/13274)

<div class="topic-metadata">

**Author:** [@graysonh](https://discourse.processing.org/u/graysonh)\
**Replies:** 3\
**Last updated:** [August 12, 2019, 8:38pm UTC](https://discourse.processing.org/t/p5-js-and-webgl-drawing-lines/13274 "2019-08-12T20:38:08Z")

</div>

Hi All, I’m very new to p5 (coming from Processing) and am attempting to convert one of my processing sketches into p5 so I can run it on OpenProcessing. My sketch involves using a texture, so I am using WebGL, but the…

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

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