# Latest

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

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

**Page:** 466

---

## [Import Image and apply pattern](https://discourse.processing.org/t/import-image-and-apply-pattern/12229)

<div class="topic-metadata">

**Author:** [@alice](https://discourse.processing.org/u/alice)\
**Replies:** 22\
**Last updated:** [July 14, 2019, 6:28pm UTC](https://discourse.processing.org/t/import-image-and-apply-pattern/12229 "2019-07-14T18:28:07Z")

</div>

Hi, How can I import a black an white image and apply a patter like the image that I attached in this message? Hope someone can help, Thanks !

---

## [Help writing a visual code for deforming circle](https://discourse.processing.org/t/help-writing-a-visual-code-for-deforming-circle/12648)

<div class="topic-metadata">

**Author:** [@SoundPsychologist](https://discourse.processing.org/u/SoundPsychologist)\
**Replies:** 13\
**Last updated:** [July 14, 2019, 4:30pm UTC](https://discourse.processing.org/t/help-writing-a-visual-code-for-deforming-circle/12648 "2019-07-14T16:30:25Z")

</div>

Hey processing users! My name is Thomas Ryan, im a live electronic musician, and im trying to program a music visualizer with processing. I have a decent amount of programming history, and have used processing to create…

---

## [How can i color or texture each faces of a loaded .obj file?](https://discourse.processing.org/t/how-can-i-color-or-texture-each-faces-of-a-loaded-obj-file/12688)

<div class="topic-metadata">

**Author:** [@mraposka](https://discourse.processing.org/u/mraposka)\
**Replies:** 1\
**Last updated:** [July 14, 2019, 3:49pm UTC](https://discourse.processing.org/t/how-can-i-color-or-texture-each-faces-of-a-loaded-obj-file/12688 "2019-07-14T15:49:08Z")

</div>

I’m doing a 3D object texturing and coloring website. (For example a kitchen set. I want to change color or texture the kitchen cupboards, marble and fridge.) I’m loading the 3d kitchen set model on website. Customer sho…

---

## [Set of reference material for Processing(Python mode) programming](https://discourse.processing.org/t/set-of-reference-material-for-processing-python-mode-programming/12606)

<div class="topic-metadata">

**Author:** [@proc8888](https://discourse.processing.org/u/proc8888)\
**Replies:** 4\
**Last updated:** [July 14, 2019, 3:28pm UTC](https://discourse.processing.org/t/set-of-reference-material-for-processing-python-mode-programming/12606 "2019-07-14T15:28:40Z")

</div>

I am an artist/computer programmer but new to Processing and currently using Processing(Python mode). Have created various samples of visuals, moving image and sound. I am using the following set of online reference mat…

---

## [How can I not draw on top of something](https://discourse.processing.org/t/how-can-i-not-draw-on-top-of-something/10793)

<div class="topic-metadata">

**Author:** [@josebv](https://discourse.processing.org/u/josebv)\
**Replies:** 18\
**Last updated:** [July 14, 2019, 12:22pm UTC](https://discourse.processing.org/t/how-can-i-not-draw-on-top-of-something/10793 "2019-07-14T12:22:22Z")

</div>

I’m trying to program something for my cs class. I want to make a program that I can use to write notes with my Wacom tablet. the problem is that I don’t know how not draw things on top of each other. when I erased so…

---

## [Images with white boxes](https://discourse.processing.org/t/images-with-white-boxes/12702)

<div class="topic-metadata">

**Author:** [@FlyingApple](https://discourse.processing.org/u/FlyingApple)\
**Replies:** 4\
**Last updated:** [July 14, 2019, 10:32am UTC](https://discourse.processing.org/t/images-with-white-boxes/12702 "2019-07-14T10:32:28Z")

</div>

I am not sure if this is the right place to put this since it isn’t strictly coding based and i believe it is the program i am using (paint) for my images. Is there a way for sprites/images to not have white boxes aroun…

---

## [Really embarrassing questions!](https://discourse.processing.org/t/really-embarrassing-questions/12676)

<div class="topic-metadata">

**Author:** [@femke.blanco](https://discourse.processing.org/u/femke.blanco)\
**Replies:** 4\
**Last updated:** [July 14, 2019, 9:39am UTC](https://discourse.processing.org/t/really-embarrassing-questions/12676 "2019-07-14T09:39:15Z")

</div>

setup(), draw() and ellipse(), for example, are all built-in functions with void return. Why do I need to write “void” before setup() and draw(), but not before ellipse()? Not writing “void” before setup() and draw() r…

---

## [Inversely ellipses](https://discourse.processing.org/t/inversely-ellipses/12621)

<div class="topic-metadata">

**Author:** [@maakin](https://discourse.processing.org/u/maakin)\
**Replies:** 51\
**Last updated:** [July 14, 2019, 1:18am UTC](https://discourse.processing.org/t/inversely-ellipses/12621 "2019-07-14T01:18:54Z")

</div>

How to draw ellipses like this ( using for or while)

---

## [Augmented Reality made easy (?)](https://discourse.processing.org/t/augmented-reality-made-easy/12692)

<div class="topic-metadata">

**Author:** [@Jay](https://discourse.processing.org/u/Jay)\
**Replies:** 2\
**Last updated:** [July 13, 2019, 11:51pm UTC](https://discourse.processing.org/t/augmented-reality-made-easy/12692 "2019-07-13T23:51:50Z")

</div>

Hi, I’m trying to get fiduciary marker detection working in Processing on Android and I’m having library compatibility issues… From what I’ve found, the available toolkits (PapARt and nyARToolkit) require Processing’s c…

---

## [Multicast lock / bind adapter](https://discourse.processing.org/t/multicast-lock-bind-adapter/12611)

<div class="topic-metadata">

**Author:** [@Aaro](https://discourse.processing.org/u/Aaro)\
**Replies:** 4\
**Last updated:** [July 13, 2019, 6:50pm UTC](https://discourse.processing.org/t/multicast-lock-bind-adapter/12611 "2019-07-13T18:50:15Z")

</div>

I’ve made an application that joins to a spesific multicast group and visualises the data received. The app works fine in JAVA-mode and also in Android mode. The problem is, that if the wlan-network is created from the …

---

## [How to turn on unicode in Android mode?](https://discourse.processing.org/t/how-to-turn-on-unicode-in-android-mode/12504)

<div class="topic-metadata">

**Author:** [@LoliProcessor](https://discourse.processing.org/u/LoliProcessor)\
**Replies:** 3\
**Last updated:** [July 13, 2019, 2:35pm UTC](https://discourse.processing.org/t/how-to-turn-on-unicode-in-android-mode/12504 "2019-07-13T14:35:07Z")

</div>

Unicode characters get scrambled when rendered on my mobile device. How do I activate unicode for the application?

---

## [Cardboard VR / image alignment](https://discourse.processing.org/t/cardboard-vr-image-alignment/12458)

<div class="topic-metadata">

**Author:** [@wasdswag](https://discourse.processing.org/u/wasdswag)\
**Replies:** 5\
**Last updated:** [July 13, 2019, 2:34pm UTC](https://discourse.processing.org/t/cardboard-vr-image-alignment/12458 "2019-07-13T14:34:18Z")

</div>

Hi! Does anyone know how to ignore the tilt of the phone on application launch when you deal with images? I mean, if I place an image in my VR-app, it aligns and displays correctly only if I keep my phone right in front…

---

## [Problem connection Processing Arduino](https://discourse.processing.org/t/problem-connection-processing-arduino/12700)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 1\
**Last updated:** [July 13, 2019, 2:11pm UTC](https://discourse.processing.org/t/problem-connection-processing-arduino/12700 "2019-07-13T14:11:10Z")

</div>

Hi, When I start my program Processing to read data from Arduino, I see this error message \[0\] "/dev/cu.BeatsPill-SPPDev-1" \[1\] "/dev/cu.Bluetooth-Incoming-Port" \[2\] "/dev/cu.JBLFlip3-SPPDev" \[3\] "/dev/cu.UEBOOM-LWACP"…

---

## [Xiaolin Wu line algorithm for antialiasing](https://discourse.processing.org/t/xiaolin-wu-line-algorithm-for-antialiasing/12670)

<div class="topic-metadata">

**Author:** [@Stanlepunk](https://discourse.processing.org/u/Stanlepunk)\
**Replies:** 1\
**Last updated:** [July 13, 2019, 8:41am UTC](https://discourse.processing.org/t/xiaolin-wu-line-algorithm-for-antialiasing/12670 "2019-07-13T08:41:56Z")

</div>

On my hard way to implement antialiasing, I found this algorithm from Xaolin Wu, but the problem is on the alpha value gestion, it’s very weird. when I put the value alpha it’s transparency and when I multiply by the alp…

---

## [Java Pizza Maker](https://discourse.processing.org/t/java-pizza-maker/12694)

<div class="topic-metadata">

**Author:** [@Skys](https://discourse.processing.org/u/Skys)\
**Replies:** 0\
**Last updated:** [July 13, 2019, 5:44am UTC](https://discourse.processing.org/t/java-pizza-maker/12694 "2019-07-13T05:44:17Z")

</div>

last night i got the idea to make a tradegame useing java processing. now here is a fun game you make pizza from root. pastry is missing but will be there soon. maybe i make some ad for a pizza deliverey use the link() f…

---

## [Can a class method return the current instance of its class?](https://discourse.processing.org/t/can-a-class-method-return-the-current-instance-of-its-class/12690)

<div class="topic-metadata">

**Author:** [@ddownn](https://discourse.processing.org/u/ddownn)\
**Replies:** 2\
**Last updated:** [July 12, 2019, 9:25pm UTC](https://discourse.processing.org/t/can-a-class-method-return-the-current-instance-of-its-class/12690 "2019-07-12T21:25:15Z")

</div>

Like return this; or return new ClassName(this) or something like that… Of course I tried and it didn’t work, so I thought I’d ask if it’s possible. I’ve made a new Line class, and the following seems to work, I was ju…

---

## [Is there a way to load pictures from client without preload?](https://discourse.processing.org/t/is-there-a-way-to-load-pictures-from-client-without-preload/12686)

<div class="topic-metadata">

**Author:** [@josebv](https://discourse.processing.org/u/josebv)\
**Replies:** 2\
**Last updated:** [July 12, 2019, 8:06pm UTC](https://discourse.processing.org/t/is-there-a-way-to-load-pictures-from-client-without-preload/12686 "2019-07-12T20:06:31Z")

</div>

Im thinking maybe like a button that opens a finder window so I can load the picture

---

## [Passing multiple values between methods/classes](https://discourse.processing.org/t/passing-multiple-values-between-methods-classes/12605)

<div class="topic-metadata">

**Author:** [@cardori](https://discourse.processing.org/u/cardori)\
**Replies:** 1\
**Last updated:** [July 12, 2019, 7:59pm UTC](https://discourse.processing.org/t/passing-multiple-values-between-methods-classes/12605 "2019-07-12T19:59:21Z")

</div>

Hi. I’m creating an Hexagonal grid I have the points for creating it already(edges). The method cell calculates the creation of one hexagon and then it is passed to the method grid where the grid is created. The proble…

---

## [PImage scale when mouse is over](https://discourse.processing.org/t/pimage-scale-when-mouse-is-over/12641)

<div class="topic-metadata">

**Author:** [@edor97](https://discourse.processing.org/u/edor97)\
**Replies:** 4\
**Last updated:** [July 12, 2019, 7:46pm UTC](https://discourse.processing.org/t/pimage-scale-when-mouse-is-over/12641 "2019-07-12T19:46:20Z")

</div>

Hello, is it possible to scale a PImage by 10% when the mouse is over it and return to its normal size after the mouse is clicked? void settings() { size(1080, 720, P2D); smooth(); } void setup() { //Sfondo U…

---

## [Change image color](https://discourse.processing.org/t/change-image-color/12685)

<div class="topic-metadata">

**Author:** [@The\_nish](https://discourse.processing.org/u/The_nish)\
**Replies:** 5\
**Last updated:** [July 12, 2019, 4:56pm UTC](https://discourse.processing.org/t/change-image-color/12685 "2019-07-12T16:56:01Z")

</div>

i have 2 images a and b which is listed below. my both images are in rgb format . i want to change color of “b” image like “a” image by processing. tell me how it is possible. …

---

## [Led System Turn on/off](https://discourse.processing.org/t/led-system-turn-on-off/12662)

<div class="topic-metadata">

**Author:** [@Murphy](https://discourse.processing.org/u/Murphy)\
**Replies:** 2\
**Last updated:** [July 12, 2019, 11:59am UTC](https://discourse.processing.org/t/led-system-turn-on-off/12662 "2019-07-12T11:59:32Z")

</div>

Hey everyone, I am new. I want to do led system. I do all. I need just something. Firstly, I want to put 2 button on Processing. One button work to start light. One button work to stop light. I tried 10 time but I can’t…

---

## [Change fps when the button is pressed](https://discourse.processing.org/t/change-fps-when-the-button-is-pressed/12678)

<div class="topic-metadata">

**Author:** [@GuilhermeVolker](https://discourse.processing.org/u/GuilhermeVolker)\
**Replies:** 4\
**Last updated:** [July 12, 2019, 11:54am UTC](https://discourse.processing.org/t/change-fps-when-the-button-is-pressed/12678 "2019-07-12T11:54:41Z")

</div>

I need to be able to change the fps while the program is running, is it possible? I think the code is right but it doesn’t work :face\_with\_raised\_eyebrow: import g4p\_controls.\*; GImageToggleButton btn1,btn2,btn4,btn8;…

---

## [Creating and Populating a Table From Scratch](https://discourse.processing.org/t/creating-and-populating-a-table-from-scratch/12658)

<div class="topic-metadata">

**Author:** [@hbtousa](https://discourse.processing.org/u/hbtousa)\
**Replies:** 11\
**Last updated:** [July 12, 2019, 4:13am UTC](https://discourse.processing.org/t/creating-and-populating-a-table-from-scratch/12658 "2019-07-12T04:13:55Z")

</div>

Hello everyone. Completely new to P5JS. I am trying to create a table and populate it with data already collected by the same code.The table will have three columns: name, position\_x, and position\_y. The code below didn…

---

## [Problem with rotated PGraphics](https://discourse.processing.org/t/problem-with-rotated-pgraphics/12366)

<div class="topic-metadata">

**Author:** [@Raums](https://discourse.processing.org/u/Raums)\
**Replies:** 5\
**Last updated:** [July 11, 2019, 11:57pm UTC](https://discourse.processing.org/t/problem-with-rotated-pgraphics/12366 "2019-07-11T23:57:11Z")

</div>

I’ve spent a couple hours trying to make an MCVE of this but haven’t been able to replicate the problem. The main program is at 2k lines so I can’t post it here. I’ve been stuck on this for a while so really hoping someo…

---

## [A Bunch of Questions About Variables!](https://discourse.processing.org/t/a-bunch-of-questions-about-variables/12656)

<div class="topic-metadata">

**Author:** [@MoobleFloob](https://discourse.processing.org/u/MoobleFloob)\
**Replies:** 4\
**Last updated:** [July 11, 2019, 10:55am UTC](https://discourse.processing.org/t/a-bunch-of-questions-about-variables/12656 "2019-07-11T10:55:58Z")

</div>

This post is made in the hopes that some answers might be found for the following questions related to variables as a concept and in practice. This is by no means an exhaustive list of questions, but hopefully they gener…

---

## [Reaction Diffusion : add an image](https://discourse.processing.org/t/reaction-diffusion-add-an-image/12552)

<div class="topic-metadata">

**Author:** [@alice](https://discourse.processing.org/u/alice)\
**Replies:** 4\
**Last updated:** [July 11, 2019, 7:52pm UTC](https://discourse.processing.org/t/reaction-diffusion-add-an-image/12552 "2019-07-11T19:52:21Z")

</div>

Hi Everybody, I hope someone can help : I have the reaction diffusion code based on points, what I’m trying to do is to add a black and white image inside the code and say in the condition loop that I want to apply t…

---

## [All these circles make a square?](https://discourse.processing.org/t/all-these-circles-make-a-square/12674)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 3\
**Last updated:** [July 11, 2019, 6:53pm UTC](https://discourse.processing.org/t/all-these-circles-make-a-square/12674 "2019-07-11T18:53:38Z")

</div>

I’m probably missing something real basic, but I can’t seem to understand why all my circles seem to make squares. void draw(){ fill(255); text(this.electrons,this.x+30,this.y); fill(0); ellipseMode(CENT…

---

## [Antialiasing FXAA](https://discourse.processing.org/t/antialiasing-fxaa/12631)

<div class="topic-metadata">

**Author:** [@Stanlepunk](https://discourse.processing.org/u/Stanlepunk)\
**Replies:** 1\
**Last updated:** [July 11, 2019, 5:11pm UTC](https://discourse.processing.org/t/antialiasing-fxaa/12631 "2019-07-11T17:11:47Z")

</div>

I try to code an antialiasing FXAA, but the result is very far of my dream ; I’ve a feeling to code the right thing, like I found in different post…but that’s dont work and give a me a very glitch result. The problem to…

---

## [Getting a strange error while using shader](https://discourse.processing.org/t/getting-a-strange-error-while-using-shader/12522)

<div class="topic-metadata">

**Author:** [@Sudev](https://discourse.processing.org/u/Sudev)\
**Replies:** 5\
**Last updated:** [July 11, 2019, 4:32pm UTC](https://discourse.processing.org/t/getting-a-strange-error-while-using-shader/12522 "2019-07-11T16:32:29Z")

</div>

Am getting a very strange error when I use shader in my sketch. Uncaught TypeError: Cannot read property 'isP3D' of undefined (sketch: line 5) and this is the code let img; function preload(){ img = loadImage('htt…

---

## [Fonts not loading](https://discourse.processing.org/t/fonts-not-loading/12663)

<div class="topic-metadata">

**Author:** [@edor97](https://discourse.processing.org/u/edor97)\
**Replies:** 5\
**Last updated:** [July 11, 2019, 1:20pm UTC](https://discourse.processing.org/t/fonts-not-loading/12663 "2019-07-11T13:20:05Z")

</div>

Hello, I don’t know why but I can’t use fonts in my project: I keep creating and loading fonts from processing but it gives me the same error every time: "GeorgiaPro-Light-48.vlw0" is not available, so another font will…

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

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