# Latest

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

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

**Page:** 382

---

## [Error with set texture when I increment my array index](https://discourse.processing.org/t/error-with-set-texture-when-i-increment-my-array-index/18672)

<div class="topic-metadata">

**Author:** [@Eyetoof](https://discourse.processing.org/u/Eyetoof)\
**Replies:** 2\
**Last updated:** [March 16, 2020, 2:18am UTC](https://discourse.processing.org/t/error-with-set-texture-when-i-increment-my-array-index/18672 "2020-03-16T02:18:37Z")

</div>

I am running into an issue when I try to set a texture to a PShape from an array in my project, and then increment the index to the array. This is my Array reference mndImg\[imgChsr\] I have a key press that just basical…

---

## [Platforms to run Processing](https://discourse.processing.org/t/platforms-to-run-processing/18481)

<div class="topic-metadata">

**Author:** [@paturn](https://discourse.processing.org/u/paturn)\
**Replies:** 29\
**Last updated:** [March 15, 2020, 12:45pm UTC](https://discourse.processing.org/t/platforms-to-run-processing/18481 "2020-03-15T12:45:00Z")

</div>

I cannot use the processing application on any computer. I have a laptop running Windows 10 Java jre8u241 or Java 8u25 (switchable) and a PC running Windows XP Java 6. They can load processing, but when I try to use a p…

---

## [Development of a new design and user-interface for the website](https://discourse.processing.org/t/development-of-a-new-design-and-user-interface-for-the-website/18688)

<div class="topic-metadata">

**Author:** [@codengame](https://discourse.processing.org/u/codengame)\
**Replies:** 0\
**Last updated:** [March 15, 2020, 7:23pm UTC](https://discourse.processing.org/t/development-of-a-new-design-and-user-interface-for-the-website/18688 "2020-03-15T19:23:17Z")

</div>

I was planning to try out some Bootstrap features to improve the appearance of the pages. The showcase page can be modified to match the type of content it holds. I can work on a new design of the specific pages to impr…

---

## [Unable to find the Language buttons handlebar](https://discourse.processing.org/t/unable-to-find-the-language-buttons-handlebar/18673)

<div class="topic-metadata">

**Author:** [@codengame](https://discourse.processing.org/u/codengame)\
**Replies:** 0\
**Last updated:** [March 15, 2020, 9:45am UTC](https://discourse.processing.org/t/unable-to-find-the-language-buttons-handlebar/18673 "2020-03-15T09:45:57Z")

</div>

I want to edit the Language buttons to make a drop-down menu but I am unable to find the HTML code for the language buttons on Github. In default.hsb there is a handlebar call {{\>i18n}} which calls the language buttons.…

---

## [Libraries and Tabs Issue](https://discourse.processing.org/t/libraries-and-tabs-issue/18670)

<div class="topic-metadata">

**Author:** [@atowersm](https://discourse.processing.org/u/atowersm)\
**Replies:** 6\
**Last updated:** [March 15, 2020, 8:18am UTC](https://discourse.processing.org/t/libraries-and-tabs-issue/18670 "2020-03-15T08:18:29Z")

</div>

Hi, I’m pretty new to processing and I’ve been learning the .py version for a class. I decided to recreate one of the example codes from the box2d\_processing library but in python instead of Java. I was able to do so and…

---

## [Introduction and project proposal](https://discourse.processing.org/t/introduction-and-project-proposal/18091)

<div class="topic-metadata">

**Author:** [@ayushj](https://discourse.processing.org/u/ayushj)\
**Replies:** 27\
**Last updated:** [March 14, 2020, 10:26pm UTC](https://discourse.processing.org/t/introduction-and-project-proposal/18091 "2020-03-14T22:26:04Z")

</div>

Hi, I am Ayush Jain from India. I have contributed to a lot of open source projects and I want to contribute to the processing foundation during gsoc. I want to propose a project for translation of p5.js to Hindi which i…

---

## [Scroll menu issues](https://discourse.processing.org/t/scroll-menu-issues/18561)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 3\
**Last updated:** [March 14, 2020, 9:48pm UTC](https://discourse.processing.org/t/scroll-menu-issues/18561 "2020-03-14T21:48:32Z")

</div>

How does one go about coding such a structure, I have an example however I’m not sure how to apply masks. The issue is that every list item has a particular height, and position, the scroll bar amends their position and …

---

## [Change text width or text height without changing size](https://discourse.processing.org/t/change-text-width-or-text-height-without-changing-size/18662)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 2\
**Last updated:** [March 14, 2020, 9:45pm UTC](https://discourse.processing.org/t/change-text-width-or-text-height-without-changing-size/18662 "2020-03-14T21:45:46Z")

</div>

Is it possible in processing to change the text width or height without size?

---

## [Start position in "key pressed"](https://discourse.processing.org/t/start-position-in-key-pressed/18477)

<div class="topic-metadata">

**Author:** [@lemoskava](https://discourse.processing.org/u/lemoskava)\
**Replies:** 7\
**Last updated:** [March 14, 2020, 6:01pm UTC](https://discourse.processing.org/t/start-position-in-key-pressed/18477 "2020-03-14T18:01:55Z")

</div>

Hello! I am trying to create drawing letter, witch consist of ellipse. Every next letter type after key pressed. I can’t change fist position every next letter to create new letter after previous letter and gap space. e…

---

## [JOGL-2.4 and JDK11 sketches](https://discourse.processing.org/t/jogl-2-4-and-jdk11-sketches/18643)

<div class="topic-metadata">

**Author:** [@monkstone](https://discourse.processing.org/u/monkstone)\
**Replies:** 0\
**Last updated:** [March 13, 2020, 4:15pm UTC](https://discourse.processing.org/t/jogl-2-4-and-jdk11-sketches/18643 "2020-03-13T16:15:25Z")

</div>

I recently announced a pre-release of PiCrate-2.0 for the RaspberryPI, where I was using --add-opens to suppress reflective access warnings, with P2D and P3D with the processing.org modified jogl.jars version 2.3.2. Howe…

---

## [Emulator doesn't work](https://discourse.processing.org/t/emulator-doesnt-work/18601)

<div class="topic-metadata">

**Author:** [@kobz](https://discourse.processing.org/u/kobz)\
**Replies:** 2\
**Last updated:** [March 13, 2020, 10:07am UTC](https://discourse.processing.org/t/emulator-doesnt-work/18601 "2020-03-13T10:07:17Z")

</div>

Hi every one; I’m a new user of android processing, i added this last mode (android) but when I tried to do a simple emulation based on the emulator by lunchinh this simple started programme void setup() { fullScreen(…

---

## [Using convolution to upscale an image](https://discourse.processing.org/t/using-convolution-to-upscale-an-image/18632)

<div class="topic-metadata">

**Author:** [@zcream](https://discourse.processing.org/u/zcream)\
**Replies:** 1\
**Last updated:** [March 13, 2020, 4:14am UTC](https://discourse.processing.org/t/using-convolution-to-upscale-an-image/18632 "2020-03-13T04:14:50Z")

</div>

I understand how write code to apply a convolution matrix to a pixel. :slight\_smile: Not that hard. Now each upscaling algorithm can be implemented using a convolution kernel. I am just not sure how to apply this to code…

---

## [Two elements crossing each other](https://discourse.processing.org/t/two-elements-crossing-each-other/18576)

<div class="topic-metadata">

**Author:** [@BallazX](https://discourse.processing.org/u/BallazX)\
**Replies:** 2\
**Last updated:** [March 13, 2020, 3:50am UTC](https://discourse.processing.org/t/two-elements-crossing-each-other/18576 "2020-03-13T03:50:47Z")

</div>

Hey guys, so I’ve faced a very simple issue but I cant get over it. I got a rect and a line crossing each other. I need the coordinate where they are crossing each other. How can I get this point? See me example below: …

---

## [The function setTrackOffset() doesn't exist?](https://discourse.processing.org/t/the-function-settrackoffset-doesnt-exist/18570)

<div class="topic-metadata">

**Author:** [@Houssam](https://discourse.processing.org/u/Houssam)\
**Replies:** 1\
**Last updated:** [March 13, 2020, 3:30am UTC](https://discourse.processing.org/t/the-function-settrackoffset-doesnt-exist/18570 "2020-03-13T03:30:27Z")

</div>

Hi everyone ! I wonder why the public member function setTrackOffset ( float \* offset \* ) doesn’t work . note that i am using G4P library is there any solution ! kb.setTrackOffset(0.0f);

---

## [Unable to load file using Minim::loadFileStream() and others using Minim (without Processing)](https://discourse.processing.org/t/unable-to-load-file-using-minim-loadfilestream-and-others-using-minim-without-processing/18631)

<div class="topic-metadata">

**Author:** [@minim\_minimalist](https://discourse.processing.org/u/minim_minimalist)\
**Replies:** 1\
**Last updated:** [March 13, 2020, 2:21am UTC](https://discourse.processing.org/t/unable-to-load-file-using-minim-loadfilestream-and-others-using-minim-without-processing/18631 "2020-03-13T02:21:37Z")

</div>

Hey all, I am trying to use Minim without Processing and running into some errors. I am compiling correctly, but am unable to load a file that exists. I have added a MinimWrapper class which has the sketchPath and crea…

---

## [Returning an object type from an arraylist](https://discourse.processing.org/t/returning-an-object-type-from-an-arraylist/16467)

<div class="topic-metadata">

**Author:** [@davidclue](https://discourse.processing.org/u/davidclue)\
**Replies:** 20\
**Last updated:** [March 13, 2020, 1:10am UTC](https://discourse.processing.org/t/returning-an-object-type-from-an-arraylist/16467 "2020-03-13T01:10:21Z")

</div>

Hi, I am trying to create a level editor for my game but I’ve encountered a problem where I want to select objects on the screen I tried to make an object called a Selector and change its value every time someone clicks …

---

## [setTexture() not working in PGraphics window](https://discourse.processing.org/t/settexture-not-working-in-pgraphics-window/18629)

<div class="topic-metadata">

**Author:** [@Java.SourceForger](https://discourse.processing.org/u/Java.SourceForger)\
**Replies:** 0\
**Last updated:** [March 12, 2020, 11:22pm UTC](https://discourse.processing.org/t/settexture-not-working-in-pgraphics-window/18629 "2020-03-12T23:22:49Z")

</div>

In my sketch, I have put my 3d rendering into a PGraphics object. But now, I have no way, whatsoever of drawing textures on PShape objects. The result is an invisible shape. Does anyone know what to do or has had this is…

---

## [Detecting edges in an array of coloured circles](https://discourse.processing.org/t/detecting-edges-in-an-array-of-coloured-circles/18534)

<div class="topic-metadata">

**Author:** [@Smuel](https://discourse.processing.org/u/Smuel)\
**Replies:** 17\
**Last updated:** [March 12, 2020, 10:11pm UTC](https://discourse.processing.org/t/detecting-edges-in-an-array-of-coloured-circles/18534 "2020-03-12T22:11:57Z")

</div>

Hi, I’m instantiating a grid of Circles and then using noise to fill each Circle with a perlin noise value based on an increment, if the brightness value of a circle exceeds an amount it will be filled green, if not it …

---

## [Default anti-aliasing causing the issue?](https://discourse.processing.org/t/default-anti-aliasing-causing-the-issue/18616)

<div class="topic-metadata">

**Author:** [@Vivek2898](https://discourse.processing.org/u/Vivek2898)\
**Replies:** 1\
**Last updated:** [March 12, 2020, 7:58pm UTC](https://discourse.processing.org/t/default-anti-aliasing-causing-the-issue/18616 "2020-03-12T19:58:29Z")

</div>

Hi, I’ve been looking into issue #19 lately. I think that it might’ve been because smooth() is not implemented in the native p5py. Also, referring to the progress sheet, I say that the default is left for anti-aliasing…

---

## [controlP5 – Get selected dropdown item text as string?](https://discourse.processing.org/t/controlp5-get-selected-dropdown-item-text-as-string/11236)

<div class="topic-metadata">

**Author:** [@ER-PIP](https://discourse.processing.org/u/ER-PIP)\
**Replies:** 2\
**Last updated:** [March 12, 2020, 5:49pm UTC](https://discourse.processing.org/t/controlp5-get-selected-dropdown-item-text-as-string/11236 "2020-03-12T17:49:59Z")

</div>

UPDATE- Needed to read some Java docs on how to use Map– here is my solution: cwDropdown.getItem((int)val).get("text") Though it returns as an Object rather than a String… Hi- I’m having a heck of a time getting th…

---

## [How to speed up texture() calls?](https://discourse.processing.org/t/how-to-speed-up-texture-calls/18414)

<div class="topic-metadata">

**Author:** [@George](https://discourse.processing.org/u/George)\
**Replies:** 2\
**Last updated:** [March 11, 2020, 9:29pm UTC](https://discourse.processing.org/t/how-to-speed-up-texture-calls/18414 "2020-03-11T21:29:49Z")

</div>

Hi, I’ve stumbled upon a weird issue on Windows I’m trying to get a workaround going. Here’s a basic sketch to replicate the issue: PImage texture; void setup(){ size(1280,720,P3D); texture = createImage(3840,…

---

## [Make an object variables change after interaction and change again after given amount of time](https://discourse.processing.org/t/make-an-object-variables-change-after-interaction-and-change-again-after-given-amount-of-time/18604)

<div class="topic-metadata">

**Author:** [@Nadiantara](https://discourse.processing.org/u/Nadiantara)\
**Replies:** 2\
**Last updated:** [March 11, 2020, 8:22pm UTC](https://discourse.processing.org/t/make-an-object-variables-change-after-interaction-and-change-again-after-given-amount-of-time/18604 "2020-03-11T20:22:46Z")

</div>

Let’s say I have two objects (b1 and b2) with different values of variables. When they are interacting, b2 has probability (let’s say 30%) to copying b1’s values. Then, after a given amount of time b2 will change its va…

---

## [Trying to change states using the dist function](https://discourse.processing.org/t/trying-to-change-states-using-the-dist-function/18606)

<div class="topic-metadata">

**Author:** [@Chriswolf378](https://discourse.processing.org/u/Chriswolf378)\
**Replies:** 13\
**Last updated:** [March 11, 2020, 7:12pm UTC](https://discourse.processing.org/t/trying-to-change-states-using-the-dist-function/18606 "2020-03-11T19:12:10Z")

</div>

Essentially what I want to happen is when the player hits a certain point the game will change to the next state at the moment I have this code: void checkWinLose(){ if (dist(x, y, 500.0 ,0.0) \< 45 ){ state …

---

## [K12 Education Support](https://discourse.processing.org/t/k12-education-support/14486)

<div class="topic-metadata">

**Author:** [@tanhengyeow](https://discourse.processing.org/u/tanhengyeow)\
**Replies:** 1\
**Last updated:** [March 11, 2020, 6:45pm UTC](https://discourse.processing.org/t/k12-education-support/14486 "2020-03-11T18:45:11Z")

</div>

Hi everyone! I read the developer roadmap here, https://github.com/processing/p5.js/blob/master/developer\_docs/roadmap.md and realized there are some initiatives planned for K12 support. K12 education and empowering ki…

---

## [Example Proposals](https://discourse.processing.org/t/example-proposals/18564)

<div class="topic-metadata">

**Author:** [@saberkhan](https://discourse.processing.org/u/saberkhan)\
**Replies:** 6\
**Last updated:** [March 11, 2020, 4:11pm UTC](https://discourse.processing.org/t/example-proposals/18564 "2020-03-11T16:11:49Z")

</div>

Hi everyone, Some of you have asked for examples of GSoC proposals. Here are some examples: Ashley Kang’s Curating Community Creativity for p5.js 1.0 Carlos Garcia’s p5.touchgui: A flexible, easy-to-use multi-touch GU…

---

## [I need help changing values in an array](https://discourse.processing.org/t/i-need-help-changing-values-in-an-array/18586)

<div class="topic-metadata">

**Author:** [@Ricochet1451](https://discourse.processing.org/u/Ricochet1451)\
**Replies:** 2\
**Last updated:** [March 11, 2020, 4:01pm UTC](https://discourse.processing.org/t/i-need-help-changing-values-in-an-array/18586 "2020-03-11T16:01:39Z")

</div>

I am currently trying to make a chess game. But i am having some issues changing values. If you look on line 214 of sketch, i am trying to set the pawn to the upper right to “available”, but it wont let me change the val…

---

## [Trying to rec a frame of my animation to SVG file](https://discourse.processing.org/t/trying-to-rec-a-frame-of-my-animation-to-svg-file/18516)

<div class="topic-metadata">

**Author:** [@JakeCodeNewbie](https://discourse.processing.org/u/JakeCodeNewbie)\
**Replies:** 1\
**Last updated:** [March 9, 2020, 8:01pm UTC](https://discourse.processing.org/t/trying-to-rec-a-frame-of-my-animation-to-svg-file/18516 "2020-03-09T20:01:56Z")

</div>

I am new to coding and I am working with this code to create a unique poster design using lines. I cannot successfully record a frame to an SVG file so I can use a pen plotter. I am sure I have a couple things out of ord…

---

## [Issues with smooth 2D movement in python](https://discourse.processing.org/t/issues-with-smooth-2d-movement-in-python/18556)

<div class="topic-metadata">

**Author:** [@webbm1](https://discourse.processing.org/u/webbm1)\
**Replies:** 4\
**Last updated:** [March 11, 2020, 3:15pm UTC](https://discourse.processing.org/t/issues-with-smooth-2d-movement-in-python/18556 "2020-03-11T15:15:58Z")

</div>

The objective I’m trying to reach is to make smooth, 2-D movement in processing’s python mode. I understand that python processing isn’t nearly as popular as Java, but I need to do it for a school project. I don’t know …

---

## [Perplexity Boolean array](https://discourse.processing.org/t/perplexity-boolean-array/18594)

<div class="topic-metadata">

**Author:** [@marika20](https://discourse.processing.org/u/marika20)\
**Replies:** 2\
**Last updated:** [March 11, 2020, 2:38pm UTC](https://discourse.processing.org/t/perplexity-boolean-array/18594 "2020-03-11T14:38:39Z")

</div>

Hello everyone! I would like to ask for a hand: with this code that I wrote required uscrimi you must “true or false” values based on the randomNum values that I have assigned; instead I get only “false” values. Also I…

---

## [Scale video to fit canvas size](https://discourse.processing.org/t/scale-video-to-fit-canvas-size/18597)

<div class="topic-metadata">

**Author:** [@ElwoodBlues](https://discourse.processing.org/u/ElwoodBlues)\
**Replies:** 2\
**Last updated:** [March 11, 2020, 2:13pm UTC](https://discourse.processing.org/t/scale-video-to-fit-canvas-size/18597 "2020-03-11T14:13:49Z")

</div>

Hello, I’m running processing on my RaspberryPi 4 with the RaspberryPi Camera Module v2.1. I am currently just capturing a video stream - see code below. My problem is that when I run the sketch, the video is very zoomed…

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

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