# Latest

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

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

**Page:** 487

---

## [Help. How to read a 16 bit grayscale image now JAI is no more?](https://discourse.processing.org/t/help-how-to-read-a-16-bit-grayscale-image-now-jai-is-no-more/11071)

<div class="topic-metadata">

**Author:** [@rapatski](https://discourse.processing.org/u/rapatski)\
**Replies:** 4\
**Last updated:** [May 15, 2019, 8:44am UTC](https://discourse.processing.org/t/help-how-to-read-a-16-bit-grayscale-image-now-jai-is-no-more/11071 "2019-05-15T08:44:55Z")

</div>

Hey guys, Now the JAI library is deprecated, I am a little bit at a loss on how to read a 16bit grayscale heightmap in Processing. Can anyone recommend a format that’s easier to read, or a replacement imaging library or…

---

## [Problems receiveing HTTP on Android with loadstrings](https://discourse.processing.org/t/problems-receiveing-http-on-android-with-loadstrings/9387)

<div class="topic-metadata">

**Author:** [@dafsoield12](https://discourse.processing.org/u/dafsoield12)\
**Replies:** 9\
**Last updated:** [May 15, 2019, 7:12am UTC](https://discourse.processing.org/t/problems-receiveing-http-on-android-with-loadstrings/9387 "2019-05-15T07:12:19Z")

</div>

Hi, I have set up on my Adruino ESP32 a AccessPoint. It works and will receive informations over the browser on my android. For example: 192.168.4.1/red=on Will turn on the red LED on my ardunio. Now I want to send Co…

---

## [Is there a way to get only one program? \[JAVA Mode Program\]](https://discourse.processing.org/t/is-there-a-way-to-get-only-one-program-java-mode-program/11096)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 8\
**Last updated:** [May 14, 2019, 4:23pm UTC](https://discourse.processing.org/t/is-there-a-way-to-get-only-one-program-java-mode-program/11096 "2019-05-14T16:23:43Z")

</div>

Is there a way to get only one program? When you click an exe file N times, N programs are turned on. So, is there a way to turn on just one program with N clicks of an exe file? How can I run only one program wi…

---

## [Why is the text my text out of focus/in a poor resolution?](https://discourse.processing.org/t/why-is-the-text-my-text-out-of-focus-in-a-poor-resolution/11166)

<div class="topic-metadata">

**Author:** [@anna](https://discourse.processing.org/u/anna)\
**Replies:** 8\
**Last updated:** [May 15, 2019, 6:35am UTC](https://discourse.processing.org/t/why-is-the-text-my-text-out-of-focus-in-a-poor-resolution/11166 "2019-05-15T06:35:58Z")

</div>

My text in this button looks very poorly. But when I click another button on the screen, it looks normal! Here is my code: void draw (){ if (mode== INTRO){ // introskærm doIntroMode(); } else if (mo…

---

## [P5js save() to input field?](https://discourse.processing.org/t/p5js-save-to-input-field/11243)

<div class="topic-metadata">

**Author:** [@Gollink](https://discourse.processing.org/u/Gollink)\
**Replies:** 6\
**Last updated:** [May 15, 2019, 6:29am UTC](https://discourse.processing.org/t/p5js-save-to-input-field/11243 "2019-05-15T06:29:05Z")

</div>

I’m experimenting and learning about p5js for a new project I’m about to start. I got quite some processing experience but very little p5js experience. What I’m trying to do is make a SVG with p5.svg.js and trying to edi…

---

## [Framerate() not working on P2D/P3D using intelij](https://discourse.processing.org/t/framerate-not-working-on-p2d-p3d-using-intelij/7768)

<div class="topic-metadata">

**Author:** [@horia16](https://discourse.processing.org/u/horia16)\
**Replies:** 3\
**Last updated:** [May 15, 2019, 2:29am UTC](https://discourse.processing.org/t/framerate-not-working-on-p2d-p3d-using-intelij/7768 "2019-05-15T02:29:53Z")

</div>

The title says it all. Is there a workaround or something? My game collisions are dependant of the framerate to be more accurate thus I need 120 fps for them to be pixel perfect. I can’t get an unlocked framerate using t…

---

## [Prime number function with boolean](https://discourse.processing.org/t/prime-number-function-with-boolean/11228)

<div class="topic-metadata">

**Author:** [@thatone](https://discourse.processing.org/u/thatone)\
**Replies:** 3\
**Last updated:** [May 15, 2019, 12:51am UTC](https://discourse.processing.org/t/prime-number-function-with-boolean/11228 "2019-05-15T00:51:53Z")

</div>

Hi, I would really appreciate if someone knows how to do make a function with boolean to check if the numbers 2-50 are prime numbers or not. I’ve looked at example, but I don’t get the hang of it really. Thanks in advan…

---

## [saveFrame problem](https://discourse.processing.org/t/saveframe-problem/11244)

<div class="topic-metadata">

**Author:** [@mellebond](https://discourse.processing.org/u/mellebond)\
**Replies:** 1\
**Last updated:** [May 15, 2019, 12:47am UTC](https://discourse.processing.org/t/saveframe-problem/11244 "2019-05-15T00:47:41Z")

</div>

Hi there, I have the strange problem that if I turn on saveFrame my sketch shows something a little different then when turned off. When it’s turned off it looks the way I want it. I feel like with saveFrame on it’s mis…

---

## [How to detect display configuration?](https://discourse.processing.org/t/how-to-detect-display-configuration/9169)

<div class="topic-metadata">

**Author:** [@xtupof](https://discourse.processing.org/u/xtupof)\
**Replies:** 6\
**Last updated:** [May 14, 2019, 9:52pm UTC](https://discourse.processing.org/t/how-to-detect-display-configuration/9169 "2019-05-14T21:52:20Z")

</div>

Hi there, I’m switching again and again from my home station with multiple screens to my laptop… At home, I use the fullScreen(3) option, but working on my laptop screen I mostly use size(640,360). Rather than always c…

---

## [Uploading a p5.js sketch to OpenProcessing](https://discourse.processing.org/t/uploading-a-p5-js-sketch-to-openprocessing/11200)

<div class="topic-metadata">

**Author:** [@quark](https://discourse.processing.org/u/quark)\
**Replies:** 6\
**Last updated:** [May 14, 2019, 9:32pm UTC](https://discourse.processing.org/t/uploading-a-p5-js-sketch-to-openprocessing/11200 "2019-05-14T21:32:13Z")

</div>

I am trying to change some of my old Java Applet sketches to p5.js and upload them to OpenProcessing with their new UI. Unfortunately I am unable to find any information on how to upload my sketch created in Processing …

---

## [Jumping and score in game code](https://discourse.processing.org/t/jumping-and-score-in-game-code/11137)

<div class="topic-metadata">

**Author:** [@D33](https://discourse.processing.org/u/D33)\
**Replies:** 5\
**Last updated:** [May 14, 2019, 11:34am UTC](https://discourse.processing.org/t/jumping-and-score-in-game-code/11137 "2019-05-14T11:34:24Z")

</div>

Hello, I am currently making a small Doodle Jump clone but I ran into a problem. I created a class that just takes care of the platforms(it extends another class) on the screen and their interaction with the character. …

---

## [How to display class button](https://discourse.processing.org/t/how-to-display-class-button/11181)

<div class="topic-metadata">

**Author:** [@anna](https://discourse.processing.org/u/anna)\
**Replies:** 4\
**Last updated:** [May 13, 2019, 8:21am UTC](https://discourse.processing.org/t/how-to-display-class-button/11181 "2019-05-13T08:21:38Z")

</div>

Hello! I’ve made this button, but I can’t make it display. I know that some of it works, because I have some text that works. code: Button button1, button2, button3, button4; int y = 500; int x1 = 185; int x2 = 495; i…

---

## [P5js Question: "Locking" the value of mouseX for event completion](https://discourse.processing.org/t/p5js-question-locking-the-value-of-mousex-for-event-completion/11112)

<div class="topic-metadata">

**Author:** [@cryptacritic](https://discourse.processing.org/u/cryptacritic)\
**Replies:** 10\
**Last updated:** [May 12, 2019, 10:47am UTC](https://discourse.processing.org/t/p5js-question-locking-the-value-of-mousex-for-event-completion/11112 "2019-05-12T10:47:39Z")

</div>

How can i store a value of X so that if some condition is met, it is equal to mouseX at the start of an event (like Keypressed)? I don’t want this value to change as i move the mouse, i want it to stay the same after the…

---

## [Download Modules through proxy with password](https://discourse.processing.org/t/download-modules-through-proxy-with-password/10968)

<div class="topic-metadata">

**Author:** [@MichaelHecht](https://discourse.processing.org/u/MichaelHecht)\
**Replies:** 9\
**Last updated:** [May 14, 2019, 2:12pm UTC](https://discourse.processing.org/t/download-modules-through-proxy-with-password/10968 "2019-05-14T14:12:25Z")

</div>

Hi, I’m working behind a company proxy with user and password. Customizing preferences.txt does’nt help because I cannot set user and password. Without appropriate proxy settings I cannot install any modules. I didn’t f…

---

## [Access to normal](https://discourse.processing.org/t/access-to-normal/11221)

<div class="topic-metadata">

**Author:** [@vamoss](https://discourse.processing.org/u/vamoss)\
**Replies:** 1\
**Last updated:** [May 14, 2019, 1:14pm UTC](https://discourse.processing.org/t/access-to-normal/11221 "2019-05-14T13:14:42Z")

</div>

Hi, Anyone knows how do I get access to normals? I am trying to create a custom polygon, and it seems that the vertexNormals array is not accessible. Thanks!

---

## [Android Mode saving and loading txt file](https://discourse.processing.org/t/android-mode-saving-and-loading-txt-file/5504)

<div class="topic-metadata">

**Author:** [@imaginativeCODE](https://discourse.processing.org/u/imaginativeCODE)\
**Replies:** 16\
**Last updated:** [May 14, 2019, 10:33am UTC](https://discourse.processing.org/t/android-mode-saving-and-loading-txt-file/5504 "2019-05-14T10:33:34Z")

</div>

I’m having trouble saving and loading .txt files on android mode sketch. I have looked at past discussions about how to resolve the problem but it makes no sense to me. What’s the difference in saving and loading .txt f…

---

## [Bleeding edge of technology](https://discourse.processing.org/t/bleeding-edge-of-technology/11201)

<div class="topic-metadata">

**Author:** [@lve0200](https://discourse.processing.org/u/lve0200)\
**Replies:** 2\
**Last updated:** [May 14, 2019, 8:27am UTC](https://discourse.processing.org/t/bleeding-edge-of-technology/11201 "2019-05-14T08:27:47Z")

</div>

Hi, just to dump my frustration. I don’t know for how long P4Android does exist, but 4me as a beginner its just terrible. Beware, I am an el Engineer, programming since 1976 in Assembler, but no Debugger, can’t look a…

---

## [controlP5 RadioButton question](https://discourse.processing.org/t/controlp5-radiobutton-question/11211)

<div class="topic-metadata">

**Author:** [@goosey](https://discourse.processing.org/u/goosey)\
**Replies:** 1\
**Last updated:** [May 14, 2019, 3:30am UTC](https://discourse.processing.org/t/controlp5-radiobutton-question/11211 "2019-05-14T03:30:24Z")

</div>

Hello! In I project using cp5, I want to display a list of toggles, each of which has a corresponding group of controllers. Here is the relevant code: cp5.addRadioButton("shape picker") .addItem("line", 1) .ad…

---

## [RockPro64 doesn't execute Processing](https://discourse.processing.org/t/rockpro64-doesnt-execute-processing/7458)

<div class="topic-metadata">

**Author:** [@Woody](https://discourse.processing.org/u/Woody)\
**Replies:** 3\
**Last updated:** [May 14, 2019, 1:25am UTC](https://discourse.processing.org/t/rockpro64-doesnt-execute-processing/7458 "2019-05-14T01:25:03Z")

</div>

Hi everybody, I wrote a processing sketch for a photographic installation. I wrote and tested it on my Macbook, and it works like a charm. Now to include it in the installation I bought a ROCKPro64 4GB single board com…

---

## [How have fullscreen with G4P](https://discourse.processing.org/t/how-have-fullscreen-with-g4p/11207)

<div class="topic-metadata">

**Author:** [@mbe](https://discourse.processing.org/u/mbe)\
**Replies:** 0\
**Last updated:** [May 13, 2019, 9:38pm UTC](https://discourse.processing.org/t/how-have-fullscreen-with-g4p/11207 "2019-05-13T21:38:32Z")

</div>

Hello, I create a new window with : window = GWindow.getWindow(this, title, x, y, w, h, renderer); is there a way to open it in real fullsreen (i.e. without the title bar) ?

---

## [Code Behaving Differently When Inside Function](https://discourse.processing.org/t/code-behaving-differently-when-inside-function/11183)

<div class="topic-metadata">

**Author:** [@PaulMaguire](https://discourse.processing.org/u/PaulMaguire)\
**Replies:** 2\
**Last updated:** [May 13, 2019, 9:20pm UTC](https://discourse.processing.org/t/code-behaving-differently-when-inside-function/11183 "2019-05-13T21:20:42Z")

</div>

I’ve been trying to create a sketch that moves a shape towards the mouse and then returns to a given starting point. This sketch does what I want with one shape but I want to have multiple shapes beginning from different…

---

## [Calling all creative coders](https://discourse.processing.org/t/calling-all-creative-coders/11206)

<div class="topic-metadata">

**Author:** [@paulcheng](https://discourse.processing.org/u/paulcheng)\
**Replies:** 0\
**Last updated:** [May 13, 2019, 8:54pm UTC](https://discourse.processing.org/t/calling-all-creative-coders/11206 "2019-05-13T20:54:25Z")

</div>

Do you have an interest in combining travel with freelance teaching opportunities? OF COURSE Shanghai is hosting a series of creative coding workshops in Shanghai, Beijing and Xian in Summer 2019. Applicants would need t…

---

## [Public webcam capture](https://discourse.processing.org/t/public-webcam-capture/11142)

<div class="topic-metadata">

**Author:** [@DonAlt](https://discourse.processing.org/u/DonAlt)\
**Replies:** 7\
**Last updated:** [May 13, 2019, 6:50pm UTC](https://discourse.processing.org/t/public-webcam-capture/11142 "2019-05-13T18:50:08Z")

</div>

Hi there Any pointers regarding how to capture time lapse images of a public webcam found on the web like this example; Example link

---

## [Regarding using AudioInput in Minim](https://discourse.processing.org/t/regarding-using-audioinput-in-minim/11119)

<div class="topic-metadata">

**Author:** [@maddyna](https://discourse.processing.org/u/maddyna)\
**Replies:** 5\
**Last updated:** [May 13, 2019, 6:27pm UTC](https://discourse.processing.org/t/regarding-using-audioinput-in-minim/11119 "2019-05-13T18:27:24Z")

</div>

I am trying to create Reverb and echo to the audio that is coming in through the computer mike but thr is nothing in the Minim library to let me do that.Can somebody help me in this regard Or shuld I use LiveInput inst…

---

## [\[SOLVED\] Porting 'Brightness.pde' to P5.js](https://discourse.processing.org/t/solved-porting-brightness-pde-to-p5-js/11155)

<div class="topic-metadata">

**Author:** [@jlsogorb](https://discourse.processing.org/u/jlsogorb)\
**Replies:** 2\
**Last updated:** [May 13, 2019, 4:04pm UTC](https://discourse.processing.org/t/solved-porting-brightness-pde-to-p5-js/11155 "2019-05-13T16:04:52Z")

</div>

Porting Brightnes.pde to P5.js Hi, I’m trying to port example of ‘Brightness’ from Processing to P5, and cannot do with success. The similar sample found in P5 reference is that (changing some things to transform it i…

---

## [Slowdown from image manipulation](https://discourse.processing.org/t/slowdown-from-image-manipulation/11121)

<div class="topic-metadata">

**Author:** [@jashuman19](https://discourse.processing.org/u/jashuman19)\
**Replies:** 3\
**Last updated:** [May 13, 2019, 7:17am UTC](https://discourse.processing.org/t/slowdown-from-image-manipulation/11121 "2019-05-13T07:17:14Z")

</div>

I’ve been encountering some pretty massive slowdown when I try to manipulate large images. Whenever I use images close in size to the display size, there will be a huge framerate drop (from about 60 to as low as 8 or 9) …

---

## [Compare the angle between several spinning objects](https://discourse.processing.org/t/compare-the-angle-between-several-spinning-objects/11194)

<div class="topic-metadata">

**Author:** [@ale.moso](https://discourse.processing.org/u/ale.moso)\
**Replies:** 3\
**Last updated:** [May 13, 2019, 2:10pm UTC](https://discourse.processing.org/t/compare-the-angle-between-several-spinning-objects/11194 "2019-05-13T14:10:29Z")

</div>

Hello dear community, I made a grid of spinning lines. Now I wonder how to know when a line and is neighbours are matching in the vertical or horizontal axis to change theris colors for that moment in which the share th…

---

## [Typewriter generator based on speed](https://discourse.processing.org/t/typewriter-generator-based-on-speed/11114)

<div class="topic-metadata">

**Author:** [@smekis](https://discourse.processing.org/u/smekis)\
**Replies:** 3\
**Last updated:** [May 13, 2019, 11:40am UTC](https://discourse.processing.org/t/typewriter-generator-based-on-speed/11114 "2019-05-13T11:40:51Z")

</div>

Codepen: https://codepen.io/danborjesson/pen/xNVzJM I’ve created a typewriter generator. Nothing special but the font-weight changes when hovering. I created that just to see that it’s possible to change the font-weight…

---

## [Create Font with Batik](https://discourse.processing.org/t/create-font-with-batik/11105)

<div class="topic-metadata">

**Author:** [@Stanlepunk](https://discourse.processing.org/u/Stanlepunk)\
**Replies:** 2\
**Last updated:** [May 13, 2019, 7:55am UTC](https://discourse.processing.org/t/create-font-with-batik/11105 "2019-05-13T07:55:07Z")

</div>

Hello, If any body have a knowledge and Processing exemple with Batik SVG system with a focus on Font i’m very interresting. I try to make a font with Batik to create a cloud points with it like Geomerative, but I cannot…

---

## [Getting Sketch To Reset using MIDI](https://discourse.processing.org/t/getting-sketch-to-reset-using-midi/11078)

<div class="topic-metadata">

**Author:** [@djspoonzay](https://discourse.processing.org/u/djspoonzay)\
**Replies:** 1\
**Last updated:** [May 13, 2019, 6:46am UTC](https://discourse.processing.org/t/getting-sketch-to-reset-using-midi/11078 "2019-05-13T06:46:39Z")

</div>

what i’m trying to do is I have a midi keyboard with the C,E and G keys assigned as int 255 each, to make a coloured ellipse, what I’d like is that when the keys are released to then remove that color value so the RGB va…

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

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