# Latest

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

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

**Page:** 54

---

## [Problem with .obj file (scale shape)](https://discourse.processing.org/t/problem-with-obj-file-scale-shape/43390)

<div class="topic-metadata">

**Author:** [@Philippe1](https://discourse.processing.org/u/Philippe1)\
**Replies:** 11\
**Last updated:** [December 8, 2023, 11:10am UTC](https://discourse.processing.org/t/problem-with-obj-file-scale-shape/43390 "2023-12-08T11:10:30Z")

</div>

Hello, Returning to Processing, which I haven’t used for several years, I have a problem importing a 3D shape made in Blender and saved as an .obj file. the image I get is in 2D. if I test the file with viewer Windows…

---

## [Pixel Sorter with Processing (lighter pixels rise)](https://discourse.processing.org/t/pixel-sorter-with-processing-lighter-pixels-rise/43413)

<div class="topic-metadata">

**Author:** [@humano](https://discourse.processing.org/u/humano)\
**Replies:** 4\
**Last updated:** [December 8, 2023, 8:42pm UTC](https://discourse.processing.org/t/pixel-sorter-with-processing-lighter-pixels-rise/43413 "2023-12-08T20:42:15Z")

</div>

Hi there! I am trying to use this tutorial in processing. I know this function needs some values sortPixels(); but I don’t know how to do it. Could you please help me? Thanks! PImage img; void setup() { size (10…

---

## [Read battery level](https://discourse.processing.org/t/read-battery-level/43414)

<div class="topic-metadata">

**Author:** [@dtmr](https://discourse.processing.org/u/dtmr)\
**Replies:** 2\
**Last updated:** [December 8, 2023, 8:01pm UTC](https://discourse.processing.org/t/read-battery-level/43414 "2023-12-08T20:01:07Z")

</div>

When I use the following battery reading code from Battery Level - Processing Forum, I get a compiler error: "The method registerReceiver(BroadcastReceiver, IntentFilter) is undefined for the type test. “test” is the nam…

---

## [Avoiding NullPointException in OpenWeatherMap](https://discourse.processing.org/t/avoiding-nullpointexception-in-openweathermap/43417)

<div class="topic-metadata">

**Author:** [@peja](https://discourse.processing.org/u/peja)\
**Replies:** 7\
**Last updated:** [December 8, 2023, 4:59pm UTC](https://discourse.processing.org/t/avoiding-nullpointexception-in-openweathermap/43417 "2023-12-08T16:59:36Z")

</div>

Hello, In theory, a simple question. First of all, apologies if I get my terms wrong as I am new to this… I am parsing data from OpenWeatherMap. I can get most of it, but the “rain” parameter is more difficult. This…

---

## [Cannot create multiple AudioIn instances](https://discourse.processing.org/t/cannot-create-multiple-audioin-instances/43411)

<div class="topic-metadata">

**Author:** [@Irigami](https://discourse.processing.org/u/Irigami)\
**Replies:** 3\
**Last updated:** [December 8, 2023, 4:38pm UTC](https://discourse.processing.org/t/cannot-create-multiple-audioin-instances/43411 "2023-12-08T16:38:53Z")

</div>

Hi all, I’m trying to use two audio inputs (2 microphones) in my p5 js project. It should be noted that I am using the p5 web editor for this. This simple program results in an error, and I was going to file an issue …

---

## [Processing app (converted to Java, using Intellij) low-res on scaled laptop display](https://discourse.processing.org/t/processing-app-converted-to-java-using-intellij-low-res-on-scaled-laptop-display/43398)

<div class="topic-metadata">

**Author:** [@LangdonS](https://discourse.processing.org/u/LangdonS)\
**Replies:** 3\
**Last updated:** [December 7, 2023, 4:44pm UTC](https://discourse.processing.org/t/processing-app-converted-to-java-using-intellij-low-res-on-scaled-laptop-display/43398 "2023-12-07T16:44:03Z")

</div>

For some reason the \</\> button is nonexistent for me so I can’t format my code. Whenever I run my app on a windows laptop with a scaled display, the app appears blurry. Everything else is fine. Screenshot (on MEGA.nz) …

---

## [Clicking and dragging an image](https://discourse.processing.org/t/clicking-and-dragging-an-image/43403)

<div class="topic-metadata">

**Author:** [@lib](https://discourse.processing.org/u/lib)\
**Replies:** 4\
**Last updated:** [December 6, 2023, 1:01pm UTC](https://discourse.processing.org/t/clicking-and-dragging-an-image/43403 "2023-12-06T13:01:01Z")

</div>

So I have a lot of images set up that change slightly with a mouse press (it’s like a day to night party scene) and I have an image of a person I made that I want to be able to click and drag along one x-axis line… any h…

---

## [Camera not in sync with position and rotation](https://discourse.processing.org/t/camera-not-in-sync-with-position-and-rotation/43384)

<div class="topic-metadata">

**Author:** [@somartist](https://discourse.processing.org/u/somartist)\
**Replies:** 28\
**Last updated:** [December 7, 2023, 8:56am UTC](https://discourse.processing.org/t/camera-not-in-sync-with-position-and-rotation/43384 "2023-12-07T08:56:37Z")

</div>

I’m working on a prototype, mostly for fun. I have the camera following the player model, by its position and rotation. Everything works kinda, but there seems to be a problem with the camera being desynced with the po…

---

## [Looking for contributors to help with p5py :D](https://discourse.processing.org/t/looking-for-contributors-to-help-with-p5py-d/43407)

<div class="topic-metadata">

**Author:** [@tushar55](https://discourse.processing.org/u/tushar55)\
**Replies:** 0\
**Last updated:** [December 6, 2023, 7:08pm UTC](https://discourse.processing.org/t/looking-for-contributors-to-help-with-p5py-d/43407 "2023-12-06T19:08:52Z")

</div>

I worked on p5py as a fellow under the Processing Foundation where I worked on implementing a 2D renderer based on Skia. I am quite happy with the current beta version, there have been significant performance boosts and …

---

## [Please Help me optimise my app (uses p5 python port)](https://discourse.processing.org/t/please-help-me-optimise-my-app-uses-p5-python-port/24302)

<div class="topic-metadata">

**Author:** [@shade\_95](https://discourse.processing.org/u/shade_95)\
**Replies:** 1\
**Last updated:** [December 6, 2023, 6:55pm UTC](https://discourse.processing.org/t/please-help-me-optimise-my-app-uses-p5-python-port/24302 "2023-12-06T18:55:01Z")

</div>

https://github.com/1999shaswat/a-star Source Code in sketch.py My python program (shortest path using a star), worked fine in previous releases of p5py. (As shown in gif in github page \[ignore lag, peek gif recorder pr…

---

## [Subreddit Opened](https://discourse.processing.org/t/subreddit-opened/39279)

<div class="topic-metadata">

**Author:** [@appinv](https://discourse.processing.org/u/appinv)\
**Replies:** 1\
**Last updated:** [December 6, 2023, 6:52pm UTC](https://discourse.processing.org/t/subreddit-opened/39279 "2023-12-06T18:52:07Z")

</div>

Just a note that the p5py subreddit just opened! I intend to contribute some elements, so, stay tuned and feel free to post over there!

---

## [Name of the loaded shape](https://discourse.processing.org/t/name-of-the-loaded-shape/43397)

<div class="topic-metadata">

**Author:** [@mrbbp](https://discourse.processing.org/u/mrbbp)\
**Replies:** 2\
**Last updated:** [December 6, 2023, 8:11am UTC](https://discourse.processing.org/t/name-of-the-loaded-shape/43397 "2023-12-06T08:11:38Z")

</div>

Hello, i load few shape in an array. i change the used shape in the drawing area. the only thing i know is the index of the shape in the array. int nbrI = 24; PShape\[\] pinceaux = new PShape\[nbrI\]; for (int i=0; i\<nb…

---

## [Geomerative Library error](https://discourse.processing.org/t/geomerative-library-error/43304)

<div class="topic-metadata">

**Author:** [@freesheida1984](https://discourse.processing.org/u/freesheida1984)\
**Replies:** 15\
**Last updated:** [December 6, 2023, 7:16am UTC](https://discourse.processing.org/t/geomerative-library-error/43304 "2023-12-06T07:16:27Z")

</div>

hi folks, I got an error after I installed “Geomerative” library for run a robot based on Arduino Uno, how can I fix the problem? the error I got is as followed: “more than one library is competing for this sketch” whi…

---

## [Markov Chain in p5.js](https://discourse.processing.org/t/markov-chain-in-p5-js/43399)

<div class="topic-metadata">

**Author:** [@abkeil](https://discourse.processing.org/u/abkeil)\
**Replies:** 0\
**Last updated:** [December 5, 2023, 3:39pm UTC](https://discourse.processing.org/t/markov-chain-in-p5-js/43399 "2023-12-05T15:39:22Z")

</div>

Hello, I am interested in creating a project that uses a markov chain. I have edited this example a bit: p5.js Web Editor. Whereas right now the code features a generate button and produces a list, I would like for a s…

---

## [millis() Not Resetting Properly in rolling() Method](https://discourse.processing.org/t/millis-not-resetting-properly-in-rolling-method/43375)

<div class="topic-metadata">

**Author:** [@HifumiLover](https://discourse.processing.org/u/HifumiLover)\
**Replies:** 6\
**Last updated:** [December 5, 2023, 3:08pm UTC](https://discourse.processing.org/t/millis-not-resetting-properly-in-rolling-method/43375 "2023-12-05T15:08:23Z")

</div>

I’m working on a game in Processing and facing an issue where millis() is not resetting as expected in my rolling() method within the Player class. The method is triggered by pressing the down arrow, and it’s supposed to…

---

## [Trouble with angleBetween() in p5.js](https://discourse.processing.org/t/trouble-with-anglebetween-in-p5-js/43387)

<div class="topic-metadata">

**Author:** [@jeffthompson](https://discourse.processing.org/u/jeffthompson)\
**Replies:** 5\
**Last updated:** [December 5, 2023, 12:19pm UTC](https://discourse.processing.org/t/trouble-with-anglebetween-in-p5-js/43387 "2023-12-05T12:19:39Z")

</div>

Ok, I’m totally stuck and could use some help! I’m trying to use the angleBetween() function with two vectors, but am getting very weird results. I feel like this is probably something boneheaded and obvious, but just ca…

---

## [APDE How to create BitmapDrawable from Drawable or any Image?](https://discourse.processing.org/t/apde-how-to-create-bitmapdrawable-from-drawable-or-any-image/43389)

<div class="topic-metadata">

**Author:** [@anon15123282](https://discourse.processing.org/u/anon15123282)\
**Replies:** 3\
**Last updated:** [December 4, 2023, 9:21am UTC](https://discourse.processing.org/t/apde-how-to-create-bitmapdrawable-from-drawable-or-any-image/43389 "2023-12-04T09:21:31Z")

</div>

Hey fam, how can one create a BitmapDrawable to use as tiled background for TextView’s or other’s on APDE? I managed to create “regular” Drawables, but they don’t have the tiling option. Only BitmapDrawables can do tha…

---

## [Where can I find the offline reference?](https://discourse.processing.org/t/where-can-i-find-the-offline-reference/43363)

<div class="topic-metadata">

**Author:** [@adrinalino](https://discourse.processing.org/u/adrinalino)\
**Replies:** 4\
**Last updated:** [December 3, 2023, 9:32pm UTC](https://discourse.processing.org/t/where-can-i-find-the-offline-reference/43363 "2023-12-03T21:32:13Z")

</div>

Hi every one. In the IDE under Help it offers the possibility to download the offline reference. If I click the button it starts downloading but then I cannot find it. How do I excess the offline reference? Cheers, A…

---

## [APDE where to put drawables or xml files?](https://discourse.processing.org/t/apde-where-to-put-drawables-or-xml-files/43388)

<div class="topic-metadata">

**Author:** [@anon15123282](https://discourse.processing.org/u/anon15123282)\
**Replies:** 0\
**Last updated:** [December 3, 2023, 8:25pm UTC](https://discourse.processing.org/t/apde-where-to-put-drawables-or-xml-files/43388 "2023-12-03T20:25:21Z")

</div>

Hey fam, can anyone tell me where I have to put my images so that i can use them as Drawables on APDE? For example to use as a background for a TextView… Until now i put them into the data folder and convert them on r…

---

## [Convert Drawable to PImage example](https://discourse.processing.org/t/convert-drawable-to-pimage-example/43201)

<div class="topic-metadata">

**Author:** [@anon15123282](https://discourse.processing.org/u/anon15123282)\
**Replies:** 1\
**Last updated:** [December 3, 2023, 7:29pm UTC](https://discourse.processing.org/t/convert-drawable-to-pimage-example/43201 "2023-12-03T19:29:29Z")

</div>

In case someone needs it. It took me ages to get that working on APDE. Any suggestions for improvement are welcome, since I’m sure there’s a better way to do it. Cheers, AmyS3 import android.graphics.drawable.Drawa…

---

## [A problem with variables or libraries](https://discourse.processing.org/t/a-problem-with-variables-or-libraries/43281)

<div class="topic-metadata">

**Author:** [@Vodin](https://discourse.processing.org/u/Vodin)\
**Replies:** 13\
**Last updated:** [December 3, 2023, 4:20pm UTC](https://discourse.processing.org/t/a-problem-with-variables-or-libraries/43281 "2023-12-03T16:20:43Z")

</div>

Hi, I Try to do a radar. But now I have an error: frame cannot be resolved to a variable. May be I have problems with my libryries or something like that. I believe in you guys. If it will help the radar consist of: 2 ul…

---

## [Line(x,y,z,x2,y2,z2) not working in the editor (logged in)](https://discourse.processing.org/t/line-x-y-z-x2-y2-z2-not-working-in-the-editor-logged-in/43290)

<div class="topic-metadata">

**Author:** [@somartist](https://discourse.processing.org/u/somartist)\
**Replies:** 5\
**Last updated:** [December 3, 2023, 3:31pm UTC](https://discourse.processing.org/t/line-x-y-z-x2-y2-z2-not-working-in-the-editor-logged-in/43290 "2023-12-03T15:31:28Z")

</div>

Hello Why does this line(0,0,0,100,100,100) give an error in the editor? It works in my local version. Code is directly from the references: EDIT: I just now see that it’s working once I’m logged out. It seems to be …

---

## [Adding new Feature of mouse interactions](https://discourse.processing.org/t/adding-new-feature-of-mouse-interactions/43379)

<div class="topic-metadata">

**Author:** [@Nandini](https://discourse.processing.org/u/Nandini)\
**Replies:** 4\
**Last updated:** [December 3, 2023, 12:45pm UTC](https://discourse.processing.org/t/adding-new-feature-of-mouse-interactions/43379 "2023-12-03T12:45:14Z")

</div>

Usually we see that mouse and pointer interactions are a bit difficult to implement in code, how about we provide access to some of the most common mouse interactions? We can also allow users to create their own custom i…

---

## [Does the mask-function behave differently from Processing to P5?](https://discourse.processing.org/t/does-the-mask-function-behave-differently-from-processing-to-p5/43357)

<div class="topic-metadata">

**Author:** [@alignleft](https://discourse.processing.org/u/alignleft)\
**Replies:** 1\
**Last updated:** [December 2, 2023, 9:23pm UTC](https://discourse.processing.org/t/does-the-mask-function-behave-differently-from-processing-to-p5/43357 "2023-12-02T21:23:45Z")

</div>

Hi :slight\_smile: I have a working Processing sketch, that masks images using a thresholded clone of itself as a mask resulting in a replica of this effect. I am using the mask like this, in Processing, and everything …

---

## [How to leave some things "untouched" by resetting the background](https://discourse.processing.org/t/how-to-leave-some-things-untouched-by-resetting-the-background/43368)

<div class="topic-metadata">

**Author:** [@c0depie](https://discourse.processing.org/u/c0depie)\
**Replies:** 1\
**Last updated:** [December 2, 2023, 2:08am UTC](https://discourse.processing.org/t/how-to-leave-some-things-untouched-by-resetting-the-background/43368 "2023-12-02T02:08:10Z")

</div>

essentially what I want is for the outer line to place a dot at the tip every frame, but without the background over lapping the previous dots static float GOLD = 1.618; void setup() { fullScreen(P2D); frameRate(2000)…

---

## [Execute code on PGraphics](https://discourse.processing.org/t/execute-code-on-pgraphics/43365)

<div class="topic-metadata">

**Author:** [@Noodlybanan](https://discourse.processing.org/u/Noodlybanan)\
**Replies:** 1\
**Last updated:** [December 1, 2023, 8:55pm UTC](https://discourse.processing.org/t/execute-code-on-pgraphics/43365 "2023-12-01T20:55:53Z")

</div>

Hi, i have a quesetion! I have a class: class Thing { int x = 0; Thing() { x = 50; } void create(int x\_) { this.x = x\_; } void display() { circle(width/2, height/2, x); } } i also have a Pgraphics: PGraphics ui; void…

---

## [Are there selection shortcuts in Processing?](https://discourse.processing.org/t/are-there-selection-shortcuts-in-processing/43354)

<div class="topic-metadata">

**Author:** [@laya](https://discourse.processing.org/u/laya)\
**Replies:** 2\
**Last updated:** [November 30, 2023, 12:53pm UTC](https://discourse.processing.org/t/are-there-selection-shortcuts-in-processing/43354 "2023-11-30T12:53:30Z")

</div>

pls help, thanks

---

## [I need help please (process pictures from a folder)](https://discourse.processing.org/t/i-need-help-please-process-pictures-from-a-folder/43341)

<div class="topic-metadata">

**Author:** [@Yanina](https://discourse.processing.org/u/Yanina)\
**Replies:** 3\
**Last updated:** [November 30, 2023, 7:53am UTC](https://discourse.processing.org/t/i-need-help-please-process-pictures-from-a-folder/43341 "2023-11-30T07:53:37Z")

</div>

Hello everybody! I am writing code that processes pictures into letters and I have a problem that the program does not consistently process pictures from a folder even though they are numbered (initially this is a video …

---

## [Help with a timer on a game to restart](https://discourse.processing.org/t/help-with-a-timer-on-a-game-to-restart/43349)

<div class="topic-metadata">

**Author:** [@beginn](https://discourse.processing.org/u/beginn)\
**Replies:** 1\
**Last updated:** [November 30, 2023, 12:27am UTC](https://discourse.processing.org/t/help-with-a-timer-on-a-game-to-restart/43349 "2023-11-30T00:27:02Z")

</div>

Ignore my notes on the code. But my timer just doesnt want to reset each time I play the game. I tried and I’m just not sure what to do. float ballX; float ballY; float xspeed; float yspeed; float speed =10; //INITAL S…

---

## [New to the community](https://discourse.processing.org/t/new-to-the-community/43315)

<div class="topic-metadata">

**Author:** [@ankur0904](https://discourse.processing.org/u/ankur0904)\
**Replies:** 2\
**Last updated:** [November 29, 2023, 6:36pm UTC](https://discourse.processing.org/t/new-to-the-community/43315 "2023-11-29T18:36:39Z")

</div>

Dear @sableRaph and @qianqian\_ye, I hope this message finds you well. My name is Ankur Singh, and I am delighted to be a part of this community. As a newcomer to the project, my goal is to actively contribute and immer…

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

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