# Latest

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

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

**Page:** 93

---

## [Solving touch issue](https://discourse.processing.org/t/solving-touch-issue/28152)

<div class="topic-metadata">

**Author:** [@jafal](https://discourse.processing.org/u/jafal)\
**Replies:** 21\
**Last updated:** [August 5, 2022, 10:55pm UTC](https://discourse.processing.org/t/solving-touch-issue/28152 "2022-08-05T22:55:56Z")

</div>

the controlP5 library works fine on pc but on android smartphones there is touch issue the sliders conflicted with each other because using touch not mouse for instance if you drag slider bar and left it then touch else …

---

## [Error using P3D on Raspberry Pi](https://discourse.processing.org/t/error-using-p3d-on-raspberry-pi/40285)

<div class="topic-metadata">

**Author:** [@pjyelton](https://discourse.processing.org/u/pjyelton)\
**Replies:** 1\
**Last updated:** [January 4, 2023, 12:35pm UTC](https://discourse.processing.org/t/error-using-p3d-on-raspberry-pi/40285 "2023-01-04T12:35:01Z")

</div>

Been creating several 3D sketches successfully on my Windows machine, now trying to get them to run on a new Raspberry Pi 3B+ that I bought. Whenever I try to run a script I immediately get a segmentation error. Based …

---

## [Speedometer, tachometer and temperature](https://discourse.processing.org/t/speedometer-tachometer-and-temperature/39925)

<div class="topic-metadata">

**Author:** [@virtualreality](https://discourse.processing.org/u/virtualreality)\
**Replies:** 20\
**Last updated:** [January 4, 2023, 12:34pm UTC](https://discourse.processing.org/t/speedometer-tachometer-and-temperature/39925 "2023-01-04T12:34:51Z")

</div>

I only done the fuel gauge coding. but for speedometer in KM/Hr, Tachometer in RPM, Temperature degree celcius with the labeling of C and H. I need to combine speedometer into the fuel gauge in the same circle and work i…

---

## [How to blur a shape?](https://discourse.processing.org/t/how-to-blur-a-shape/40441)

<div class="topic-metadata">

**Author:** [@usernamenotavailable](https://discourse.processing.org/u/usernamenotavailable)\
**Replies:** 1\
**Last updated:** [January 4, 2023, 11:53am UTC](https://discourse.processing.org/t/how-to-blur-a-shape/40441 "2023-01-04T11:53:28Z")

</div>

I know I can blur a .jpg file I load with reference | p5.js. But is there any way to blur a shape I create in code please? Like create a rect() then blur it, or blur a grid of overlapping circles as a group, like you c…

---

## [Logic Error in For Loop (bookshelf)](https://discourse.processing.org/t/logic-error-in-for-loop-bookshelf/40425)

<div class="topic-metadata">

**Author:** [@01010100-01000010](https://discourse.processing.org/u/01010100-01000010)\
**Replies:** 6\
**Last updated:** [January 4, 2023, 9:49am UTC](https://discourse.processing.org/t/logic-error-in-for-loop-bookshelf/40425 "2023-01-04T09:49:40Z")

</div>

var CanvasB = 500; var CanvasH = 400; var Rand = 30; var Seiten = \[25, 5, 61, 20, 100, 4, 3, 3, 3, 50, 30, 20, 40, 6, 70\]; function setup() { createCanvas(CanvasB, CanvasH); } function draw() { background(220); …

---

## [Intel RealSense Library for Processing](https://discourse.processing.org/t/intel-realsense-library-for-processing/8143)

<div class="topic-metadata">

**Author:** [@cansik](https://discourse.processing.org/u/cansik)\
**Replies:** 42\
**Last updated:** [January 4, 2023, 8:49am UTC](https://discourse.processing.org/t/intel-realsense-library-for-processing/8143 "2023-01-04T08:49:50Z")

</div>

Maybe someone is interested in the news that I have implemented a basic version of an Intel RealSense library for processing. The library basically is a JNI wrapper around the librealsense2 framework. edwinRNDR and I st…

---

## [Type mismatch: cannot convert from float to int](https://discourse.processing.org/t/type-mismatch-cannot-convert-from-float-to-int/40434)

<div class="topic-metadata">

**Author:** [@asymmetric](https://discourse.processing.org/u/asymmetric)\
**Replies:** 3\
**Last updated:** [January 4, 2023, 6:01am UTC](https://discourse.processing.org/t/type-mismatch-cannot-convert-from-float-to-int/40434 "2023-01-04T06:01:18Z")

</div>

Hi! I am receiving the following errors when trying to implement a 3d height map of triangles. “Type mismatch: cannot convert from float to int” The function “triangle()” expects parameters like: “triangle(float, floa…

---

## [Add a "mask"/ "image" on top of these to work with a kind of cut out moving circle](https://discourse.processing.org/t/add-a-mask-image-on-top-of-these-to-work-with-a-kind-of-cut-out-moving-circle/39928)

<div class="topic-metadata">

**Author:** [@vrtx](https://discourse.processing.org/u/vrtx)\
**Replies:** 6\
**Last updated:** [January 4, 2023, 3:42am UTC](https://discourse.processing.org/t/add-a-mask-image-on-top-of-these-to-work-with-a-kind-of-cut-out-moving-circle/39928 "2023-01-04T03:42:30Z")

</div>

hi there, people…! I have been mixing lots of codes and learned a lot. Need to get more into the real codes, but its for another topic/time. I made this, and somethings is happenig, wich i have no ideia wy and how to f…

---

## [PApplet, switching between multiple windows with key input](https://discourse.processing.org/t/papplet-switching-between-multiple-windows-with-key-input/40435)

<div class="topic-metadata">

**Author:** [@Mikey83](https://discourse.processing.org/u/Mikey83)\
**Replies:** 1\
**Last updated:** [January 4, 2023, 1:45am UTC](https://discourse.processing.org/t/papplet-switching-between-multiple-windows-with-key-input/40435 "2023-01-04T01:45:45Z")

</div>

Hi, im playing around with multiple windows with PApplet and just wondering if there’s any good resources available, cant seem to find any help on the things im trying to do like switch between windows being active by pr…

---

## [Dynamic prefix sum](https://discourse.processing.org/t/dynamic-prefix-sum/40421)

<div class="topic-metadata">

**Author:** [@neon124](https://discourse.processing.org/u/neon124)\
**Replies:** 2\
**Last updated:** [January 3, 2023, 10:24pm UTC](https://discourse.processing.org/t/dynamic-prefix-sum/40421 "2023-01-03T22:24:53Z")

</div>

Is there a data structure that can return the prefix sum of an array, update an element, and insert/remove entries from an array in O(log n)? “prefix sum” is the sum of all items from the first to the provided index. …

---

## [Help with live wallpaper - Xiaomi](https://discourse.processing.org/t/help-with-live-wallpaper-xiaomi/39899)

<div class="topic-metadata">

**Author:** [@Gian](https://discourse.processing.org/u/Gian)\
**Replies:** 2\
**Last updated:** [January 3, 2023, 9:03pm UTC](https://discourse.processing.org/t/help-with-live-wallpaper-xiaomi/39899 "2023-01-03T21:03:16Z")

</div>

Hi there! I am making a couple of live wallpapers for my phone, I have no problem in the coding part, I have no problem (I think) in installing it in my phone, but then for the life of me I can’t actually put the wallpa…

---

## [Líneas que se mueven — How to move a line across the sketch](https://discourse.processing.org/t/lineas-que-se-mueven-how-to-move-a-line-across-the-sketch/40413)

<div class="topic-metadata">

**Author:** [@paopoapo](https://discourse.processing.org/u/paopoapo)\
**Replies:** 6\
**Last updated:** [January 3, 2023, 5:29pm UTC](https://discourse.processing.org/t/lineas-que-se-mueven-how-to-move-a-line-across-the-sketch/40413 "2023-01-03T17:29:44Z")

</div>

please format code with \</\> button \* homework policy \* asking questions hola, me mandaron un ejercicio y no se cómo hacerlo dice líneas de distintos colores que aparecen de un extremo a otro de la pantalla

---

## [Schotter grid// rasterized image](https://discourse.processing.org/t/schotter-grid-rasterized-image/40419)

<div class="topic-metadata">

**Author:** [@asymmetric](https://discourse.processing.org/u/asymmetric)\
**Replies:** 2\
**Last updated:** [January 3, 2023, 2:20am UTC](https://discourse.processing.org/t/schotter-grid-rasterized-image/40419 "2023-01-03T02:20:05Z")

</div>

Happy New Year, Processing community! :stars: :christmas\_tree: :stars: :christmas\_tree: :stars: :stars: :stars: :fireworks: :sparkler: :confetti\_ball: :tada: :confetti\_ball: :tada: :partying\_face: :partying\_face: :tada: …

---

## [It´s possible add a button on IDE?](https://discourse.processing.org/t/it-s-possible-add-a-button-on-ide/40359)

<div class="topic-metadata">

**Author:** [@erkosone](https://discourse.processing.org/u/erkosone)\
**Replies:** 5\
**Last updated:** [January 3, 2023, 2:45pm UTC](https://discourse.processing.org/t/it-s-possible-add-a-button-on-ide/40359 "2023-01-03T14:45:58Z")

</div>

Hello community! I have a question, would it be possible to add an extra button in the IDE next to the play and stop button to launch a custom script? Exists any version of custom IDE?

---

## [How should I organise this? 256 array with conditional content - Class?](https://discourse.processing.org/t/how-should-i-organise-this-256-array-with-conditional-content-class/40290)

<div class="topic-metadata">

**Author:** [@JonnieNightTime](https://discourse.processing.org/u/JonnieNightTime)\
**Replies:** 12\
**Last updated:** [January 3, 2023, 12:55pm UTC](https://discourse.processing.org/t/how-should-i-organise-this-256-array-with-conditional-content-class/40290 "2023-01-03T12:55:38Z")

</div>

Hi All, Festive greetings. What’s the best way to do this? I will have up to 256 different sections of a live AV performance - each potentially featuring a different bit of cool codey Processing stuff. Should I be using…

---

## [A grid of grids with variable number of cells](https://discourse.processing.org/t/a-grid-of-grids-with-variable-number-of-cells/40418)

<div class="topic-metadata">

**Author:** [@debxyz](https://discourse.processing.org/u/debxyz)\
**Replies:** 4\
**Last updated:** [January 3, 2023, 2:58am UTC](https://discourse.processing.org/t/a-grid-of-grids-with-variable-number-of-cells/40418 "2023-01-03T02:58:05Z")

</div>

Hello! :slightly\_smiling\_face: I’m trying to figure out where I can initialize a new random number of cells for each grid object. For example, the first grid might be divided 2 times, the second grid divided 7 times, et…

---

## [The sketch crashes when I press some other key that isn't a letter or a number](https://discourse.processing.org/t/the-sketch-crashes-when-i-press-some-other-key-that-isnt-a-letter-or-a-number/31960)

<div class="topic-metadata">

**Author:** [@vinijoncrafts](https://discourse.processing.org/u/vinijoncrafts)\
**Replies:** 3\
**Last updated:** [January 2, 2023, 11:12pm UTC](https://discourse.processing.org/t/the-sketch-crashes-when-i-press-some-other-key-that-isnt-a-letter-or-a-number/31960 "2023-01-02T23:12:23Z")

</div>

If I press a key like shift, alt, caps lock, etc. the sketch crashes. How do I make this stop happening? Thanks for reading this :slight\_smile: here’s the code: float v = 5; int x = 1920/2; int y = 1080/2; boolean \[\] ke…

---

## [Find centre of pyramid and rotate from there, not the apex](https://discourse.processing.org/t/find-centre-of-pyramid-and-rotate-from-there-not-the-apex/40411)

<div class="topic-metadata">

**Author:** [@JonnieNightTime](https://discourse.processing.org/u/JonnieNightTime)\
**Replies:** 4\
**Last updated:** [January 2, 2023, 10:59pm UTC](https://discourse.processing.org/t/find-centre-of-pyramid-and-rotate-from-there-not-the-apex/40411 "2023-01-02T22:59:05Z")

</div>

Hi all, How can I rotate this from a centre point within the geometry rather from the vertex /apex (not sure of the correct terminology) PGraphics canvas; PVector\[\] basePts = new PVector\[3\]; void setup() { size(768,…

---

## [Syntax error even though there is none](https://discourse.processing.org/t/syntax-error-even-though-there-is-none/40417)

<div class="topic-metadata">

**Author:** [@iinnessic](https://discourse.processing.org/u/iinnessic)\
**Replies:** 10\
**Last updated:** [January 2, 2023, 9:44pm UTC](https://discourse.processing.org/t/syntax-error-even-though-there-is-none/40417 "2023-01-02T21:44:12Z")

</div>

My console says there is a synthax error even though i am pretty sure there is none… void mousePressed () { Variante = int ( random (1,6)); }

---

## [WebGL Graphics background not clearing](https://discourse.processing.org/t/webgl-graphics-background-not-clearing/40406)

<div class="topic-metadata">

**Author:** [@KeirMeDear](https://discourse.processing.org/u/KeirMeDear)\
**Replies:** 0\
**Last updated:** [January 2, 2023, 5:06pm UTC](https://discourse.processing.org/t/webgl-graphics-background-not-clearing/40406 "2023-01-02T17:06:36Z")

</div>

Hey all, I’m facing an issue that a 3D WebGL enabled createGraphics object doesn’t seem to be clearing it’s background to allow transparency even when the clear() function is called. You can see that the 2D graphics ob…

---

## [Image Array as texture WebGL](https://discourse.processing.org/t/image-array-as-texture-webgl/40405)

<div class="topic-metadata">

**Author:** [@mfcgrp](https://discourse.processing.org/u/mfcgrp)\
**Replies:** 0\
**Last updated:** [January 2, 2023, 5:04pm UTC](https://discourse.processing.org/t/image-array-as-texture-webgl/40405 "2023-01-02T17:04:08Z")

</div>

Hello, I am attempting to texture an obj file with an image array. It will load an image but not loop through the array. Outside of WebGL loading and displaying an image array is fairly simple, but it seems there may b…

---

## [Match Up (Test your memory game)](https://discourse.processing.org/t/match-up-test-your-memory-game/40070)

<div class="topic-metadata">

**Author:** [@quark](https://discourse.processing.org/u/quark)\
**Replies:** 4\
**Last updated:** [January 2, 2023, 3:07pm UTC](https://discourse.processing.org/t/match-up-test-your-memory-game/40070 "2023-01-02T15:07:35Z")

</div>

I continue with my experiments using p5.js and this is my latest sketch. Match Up is a simple game to test your memory. Just find and remove pairs of matching cards. You can change the background colour and card backs to…

---

## [How to work with classes in Processing](https://discourse.processing.org/t/how-to-work-with-classes-in-processing/40395)

<div class="topic-metadata">

**Author:** [@OverLord](https://discourse.processing.org/u/OverLord)\
**Replies:** 7\
**Last updated:** [January 2, 2023, 12:51am UTC](https://discourse.processing.org/t/how-to-work-with-classes-in-processing/40395 "2023-01-02T00:51:24Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hi processing community. I would like to ask you how you can work with classes I already learned a little bit how to work with classes and funct…

---

## [Mouse Interaction Creates Pattern?](https://discourse.processing.org/t/mouse-interaction-creates-pattern/40399)

<div class="topic-metadata">

**Author:** [@museguy](https://discourse.processing.org/u/museguy)\
**Replies:** 2\
**Last updated:** [January 1, 2023, 8:07pm UTC](https://discourse.processing.org/t/mouse-interaction-creates-pattern/40399 "2023-01-01T20:07:53Z")

</div>

Please excuse the n00b question. Is there sample code or a library for a mouse interaction similar to Kawandeep Virdee’s Confetti Vortex? https://whichlight.github.io/interactive-trading-card/ I have looked through th…

---

## [Is there a way to prevent Processing from opening a graphics window?](https://discourse.processing.org/t/is-there-a-way-to-prevent-processing-from-opening-a-graphics-window/40388)

<div class="topic-metadata">

**Author:** [@adrinalino](https://discourse.processing.org/u/adrinalino)\
**Replies:** 4\
**Last updated:** [January 1, 2023, 2:33pm UTC](https://discourse.processing.org/t/is-there-a-way-to-prevent-processing-from-opening-a-graphics-window/40388 "2023-01-01T14:33:19Z")

</div>

Hi there. I would like to write a program that only has text output. Is there a way to prevent processing from opening a graphics window? Thanks for your help. Cheers, Adrian.

---

## [Lens ellipse follow mouse](https://discourse.processing.org/t/lens-ellipse-follow-mouse/40270)

<div class="topic-metadata">

**Author:** [@vrtx](https://discourse.processing.org/u/vrtx)\
**Replies:** 10\
**Last updated:** [December 31, 2022, 8:08pm UTC](https://discourse.processing.org/t/lens-ellipse-follow-mouse/40270 "2022-12-31T20:08:40Z")

</div>

Hi, guys. I found this code, and i am changing it for studing. Is there how i make the lens ellipse follow the mouse? /\*\* \* Lens Demo Effect \* by luis2048. \* \* A picture is shown and it looks like a magnifying gl…

---

## [Difficulty using a Grasshopper slider as my point attractor in Processing (through Osc)](https://discourse.processing.org/t/difficulty-using-a-grasshopper-slider-as-my-point-attractor-in-processing-through-osc/40366)

<div class="topic-metadata">

**Author:** [@newbieprocessing](https://discourse.processing.org/u/newbieprocessing)\
**Replies:** 1\
**Last updated:** [December 31, 2022, 1:42am UTC](https://discourse.processing.org/t/difficulty-using-a-grasshopper-slider-as-my-point-attractor-in-processing-through-osc/40366 "2022-12-31T01:42:48Z")

</div>

Hi everyone, I am relatively new to Processing and am currently trying to send information from Grasshopper to Processing using Osc. From my understanding, Processing is receiving the informaiton however it is not doing …

---

## [Problems with Eclipse and Processing library](https://discourse.processing.org/t/problems-with-eclipse-and-processing-library/40382)

<div class="topic-metadata">

**Author:** [@bananana](https://discourse.processing.org/u/bananana)\
**Replies:** 0\
**Last updated:** [December 31, 2022, 4:48am UTC](https://discourse.processing.org/t/problems-with-eclipse-and-processing-library/40382 "2022-12-31T04:48:50Z")

</div>

I have a Processing Library that uses the standard Processing library template from GitHub - processing/processing-library-template: Processing Library Template for Eclipse In the past it’s been fine to install Eclipse …

---

## [Does anyone know a library for Drawing Tablet Pen Pressure?](https://discourse.processing.org/t/does-anyone-know-a-library-for-drawing-tablet-pen-pressure/40346)

<div class="topic-metadata">

**Author:** [@Lissie](https://discourse.processing.org/u/Lissie)\
**Replies:** 3\
**Last updated:** [December 30, 2022, 2:11pm UTC](https://discourse.processing.org/t/does-anyone-know-a-library-for-drawing-tablet-pen-pressure/40346 "2022-12-30T14:11:33Z")

</div>

I tried the Tablat Library from 2016 but it doesnt work int the “tablat = new Tablet(this)” it gives an error! can you help me?

---

## [How to subscribe to https://forum.processing.org/?](https://discourse.processing.org/t/how-to-subscribe-to-https-forum-processing-org/40373)

<div class="topic-metadata">

**Author:** [@adrinalino](https://discourse.processing.org/u/adrinalino)\
**Replies:** 1\
**Last updated:** [December 30, 2022, 12:57pm UTC](https://discourse.processing.org/t/how-to-subscribe-to-https-forum-processing-org/40373 "2022-12-30T12:57:39Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hi every one. First of all I’d like to thank all the guys and girls who created the Processing language. It works awesome and is really easy to…

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

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