# Processing

**URL:** https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=346

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

**Page:** 347

---

## [How to use Processing on 4k displays?](https://discourse.processing.org/t/how-to-use-processing-on-4k-displays/5550)

<div class="topic-metadata">

**Author:** [@codrutp](https://discourse.processing.org/u/codrutp)\
**Replies:** 10\
**Last updated:** [November 17, 2018, 10:08pm UTC](https://discourse.processing.org/t/how-to-use-processing-on-4k-displays/5550 "2018-11-17T22:08:07Z")

</div>

I am using Processing in WSL/Ubuntu with X410 server. It works, but the text and the menus are tiny, tiny, I can barely read. How can I adjust the menu and the text?

---

## [Using the "matrix" controler from the ControlP5 library](https://discourse.processing.org/t/using-the-matrix-controler-from-the-controlp5-library/5572)

<div class="topic-metadata">

**Author:** [@solub](https://discourse.processing.org/u/solub)\
**Replies:** 2\
**Last updated:** [November 17, 2018, 3:38pm UTC](https://discourse.processing.org/t/using-the-matrix-controler-from-the-controlp5-library/5572 "2018-11-17T15:38:52Z")

</div>

Hi, Does anyone know how to remove the “moving line” (don’t know how to call it) embeded in the matrix controller from the ControlP5 library ? By default the matrix is displayed as a (music) sequencer but I’d like to u…

---

## [Processing will not start](https://discourse.processing.org/t/processing-will-not-start/5623)

<div class="topic-metadata">

**Author:** [@dds](https://discourse.processing.org/u/dds)\
**Replies:** 0\
**Last updated:** [November 17, 2018, 12:54pm UTC](https://discourse.processing.org/t/processing-will-not-start/5623 "2018-11-17T12:54:32Z")

</div>

Description When I double-click on processing.exe, the logo window of Processing shows up for a couple of seconds and then it disappears. My Environment Processing version: 3.4 Operating System and OS version: Windows …

---

## [Rotate image implementation](https://discourse.processing.org/t/rotate-image-implementation/5615)

<div class="topic-metadata">

**Author:** [@molo32](https://discourse.processing.org/u/molo32)\
**Replies:** 2\
**Last updated:** [November 17, 2018, 11:17am UTC](https://discourse.processing.org/t/rotate-image-implementation/5615 "2018-11-17T11:17:32Z")

</div>

I’m implementing the matrix rotation from here My code works but the rotated image has holes, I guess it’s because of the rounding of the values of sin () and cos () How to fill the holes in the rotated image? …

---

## [How to make a switch in a circuit?](https://discourse.processing.org/t/how-to-make-a-switch-in-a-circuit/5603)

<div class="topic-metadata">

**Author:** [@saotome](https://discourse.processing.org/u/saotome)\
**Replies:** 5\
**Last updated:** [November 17, 2018, 11:07am UTC](https://discourse.processing.org/t/how-to-make-a-switch-in-a-circuit/5603 "2018-11-17T11:07:32Z")

</div>

Hello. I have this "circuit! void setup() { size(600, 600); } void draw() { ellipse (300, 150, 40, 40); line (280, 150, 120, 150); line (120, 150, 120, 220); line (120, 220, 120, 290); //closed circuit line (1…

---

## [Using FastNoise](https://discourse.processing.org/t/using-fastnoise/5587)

<div class="topic-metadata">

**Author:** [@drc](https://discourse.processing.org/u/drc)\
**Replies:** 4\
**Last updated:** [November 17, 2018, 10:28am UTC](https://discourse.processing.org/t/using-fastnoise/5587 "2018-11-17T10:28:13Z")

</div>

Hi, I’d like to use the FastNoise library. I drag&dropped the FastNoise.java to a new sketch, and with the following code: FastNoise myNoise; void setup() { myNoise.SetNoiseType(FastNoise.NoiseType.SimplexFractal); …

---

## [Hosting A Processing.net server](https://discourse.processing.org/t/hosting-a-processing-net-server/5578)

<div class="topic-metadata">

**Author:** [@Quillbert1](https://discourse.processing.org/u/Quillbert1)\
**Replies:** 4\
**Last updated:** [November 17, 2018, 9:38am UTC](https://discourse.processing.org/t/hosting-a-processing-net-server/5578 "2018-11-17T09:38:02Z")

</div>

I have a program that uses processing.net to send and receive data. I was wondering if there is a website where i could host this server for free. For the sake of example, I will use Shiffman’s basic chat server. Server…

---

## [G4P library - Is there a way to make big letters on numbers?](https://discourse.processing.org/t/g4p-library-is-there-a-way-to-make-big-letters-on-numbers/4350)

<div class="topic-metadata">

**Author:** [@laptophead](https://discourse.processing.org/u/laptophead)\
**Replies:** 19\
**Last updated:** [November 16, 2018, 10:51pm UTC](https://discourse.processing.org/t/g4p-library-is-there-a-way-to-make-big-letters-on-numbers/4350 "2018-11-16T22:51:43Z")

</div>

I am building a touch tablet interface for a robotic arm. It seems that the G4P library is the only one to respond to touch as a mouse click. That is nice, thank you author. However the buttons have very small writing …

---

## [mousePressed always true](https://discourse.processing.org/t/mousepressed-always-true/5594)

<div class="topic-metadata">

**Author:** [@FerrariLuigi](https://discourse.processing.org/u/FerrariLuigi)\
**Replies:** 2\
**Last updated:** [November 16, 2018, 9:37pm UTC](https://discourse.processing.org/t/mousepressed-always-true/5594 "2018-11-16T21:37:53Z")

</div>

Dear all I developed a Processing sketch that handle mouse and its buttons. It works but, after a while, the mousePressed attribute becomes always true. Did you have any similar problem ? How did you fix it ? Thank …

---

## [Problem with saving PImage with transparency](https://discourse.processing.org/t/problem-with-saving-pimage-with-transparency/5566)

<div class="topic-metadata">

**Author:** [@Spu7Nix](https://discourse.processing.org/u/Spu7Nix)\
**Replies:** 4\
**Last updated:** [November 16, 2018, 6:09pm UTC](https://discourse.processing.org/t/problem-with-saving-pimage-with-transparency/5566 "2018-11-16T18:09:07Z")

</div>

Hi, i have written this little program to cut a spritesheet for me, but it doesn’t work with transparency. Anybody know a fix? PImage sheet = loadImage("dirtTiles.png"); PImage\[\] tiles = new PImage\[25\]; int s = 16; bac…

---

## [Send 3 variable to Arduino?](https://discourse.processing.org/t/send-3-variable-to-arduino/5467)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 12\
**Last updated:** [November 16, 2018, 12:00pm UTC](https://discourse.processing.org/t/send-3-variable-to-arduino/5467 "2018-11-16T12:00:48Z")

</div>

Hi, I’m trying to send 3 variable w1, w2 and phiV which are 3 parameter changing with the mouse tracking. I was trying to place those variable in 3 arrays and add it in a string but it didn’t work. I think there is on…

---

## [About BezierSQL and MySQL 8.0](https://discourse.processing.org/t/about-beziersql-and-mysql-8-0/5534)

<div class="topic-metadata">

**Author:** [@fabwoj](https://discourse.processing.org/u/fabwoj)\
**Replies:** 2\
**Last updated:** [November 16, 2018, 9:38am UTC](https://discourse.processing.org/t/about-beziersql-and-mysql-8-0/5534 "2018-11-16T09:38:03Z")

</div>

Hi, It seems for me that the library BezierSQL doesn’t work anymore with MySQL 8.0. Did someone noticed that ? Something wrong around authentification. Thank you for your help. Fabrice

---

## [Aim Game coding help](https://discourse.processing.org/t/aim-game-coding-help/5562)

<div class="topic-metadata">

**Author:** [@SpeedKillerX](https://discourse.processing.org/u/SpeedKillerX)\
**Replies:** 1\
**Last updated:** [November 15, 2018, 7:15pm UTC](https://discourse.processing.org/t/aim-game-coding-help/5562 "2018-11-15T19:15:47Z")

</div>

I need help with my code in processing, which is an easy code but since I am new to coding I will be needing some help with My code is sort of like an aim game where different boxes pop up and you will have to click (Sh…

---

## [Can Mouse Coordinates Change with Translate and Rotate?](https://discourse.processing.org/t/can-mouse-coordinates-change-with-translate-and-rotate/5580)

<div class="topic-metadata">

**Author:** [@Erit1566](https://discourse.processing.org/u/Erit1566)\
**Replies:** 1\
**Last updated:** [November 16, 2018, 6:14am UTC](https://discourse.processing.org/t/can-mouse-coordinates-change-with-translate-and-rotate/5580 "2018-11-16T06:14:56Z")

</div>

Hi, I am trying to be able to change where the mouse cursor is so it would be easier to see if I am hovering over one of my objects without looking at every pixel by pixel. Thanks in advance, Eric

---

## [Tracer Library - Cannot Composite Smooth Path](https://discourse.processing.org/t/tracer-library-cannot-composite-smooth-path/5515)

<div class="topic-metadata">

**Author:** [@ychen53](https://discourse.processing.org/u/ychen53)\
**Replies:** 2\
**Last updated:** [November 16, 2018, 5:46am UTC](https://discourse.processing.org/t/tracer-library-cannot-composite-smooth-path/5515 "2018-11-16T05:46:32Z")

</div>

Hi there, I am working on an art project and trying to create a path made of Bezier curves and then mapping text on it. The path is like this: bezier1a = new CubicBezier (1400, 179, 1150, 50 , 810, 140, 700, 190); …

---

## [Use Processing on the Jetson TX1](https://discourse.processing.org/t/use-processing-on-the-jetson-tx1/5577)

<div class="topic-metadata">

**Author:** [@Joe](https://discourse.processing.org/u/Joe)\
**Replies:** 0\
**Last updated:** [November 16, 2018, 2:05am UTC](https://discourse.processing.org/t/use-processing-on-the-jetson-tx1/5577 "2018-11-16T02:05:55Z")

</div>

Hello, I am new here and I am working on a project at the moment. Is it possible for me to use a Jetson TX1 development board with processing software? The overall goal for me is to use Kinect V2 with a Jetson TX1 on Ub…

---

## [Serial Processing](https://discourse.processing.org/t/serial-processing/5573)

<div class="topic-metadata">

**Author:** [@vtrivedi](https://discourse.processing.org/u/vtrivedi)\
**Replies:** 0\
**Last updated:** [November 15, 2018, 9:22pm UTC](https://discourse.processing.org/t/serial-processing/5573 "2018-11-15T21:22:36Z")

</div>

Hi Team, I am trying to read the data from the Serial port that is sent by the micro-pulser attached to the USART pin on the PC com port. The sequence of data to be received is based on the command sent to the micro pu…

---

## [Amazing spiral! Help?](https://discourse.processing.org/t/amazing-spiral-help/5570)

<div class="topic-metadata">

**Author:** [@Msandoval](https://discourse.processing.org/u/Msandoval)\
**Replies:** 1\
**Last updated:** [November 16, 2018, 1:01am UTC](https://discourse.processing.org/t/amazing-spiral-help/5570 "2018-11-16T01:01:48Z")

</div>

float m = 0; void setup(){ fullScreen(P3D); } void draw(){ background(250); rotateX(frameCount \* 0.01); translate(400,500); for(float m = 0; m \< 5; m++){ pushMatrix(); for(float i = 0; i \< 80; i++){ translate(…

---

## [Changing video speed smoothly](https://discourse.processing.org/t/changing-video-speed-smoothly/5568)

<div class="topic-metadata">

**Author:** [@trpnnr](https://discourse.processing.org/u/trpnnr)\
**Replies:** 4\
**Last updated:** [November 15, 2018, 9:57pm UTC](https://discourse.processing.org/t/changing-video-speed-smoothly/5568 "2018-11-15T21:57:53Z")

</div>

Hello, I am wondering if it may be possible to change the speed of a video file dynamically without the result having a choppy appearance - ie to speed up to or slow down smoothly to a specified rate.

---

## [Random Numbers Generator](https://discourse.processing.org/t/random-numbers-generator/5563)

<div class="topic-metadata">

**Author:** [@SpeedKillerX](https://discourse.processing.org/u/SpeedKillerX)\
**Replies:** 3\
**Last updated:** [November 15, 2018, 8:31pm UTC](https://discourse.processing.org/t/random-numbers-generator/5563 "2018-11-15T20:31:02Z")

</div>

I am making a random number generator using the code: void setup(){ size(600,600); textSize(40); } void draw(){ background(0); text(random(20),100,200); frameRate(1); } But I want the numbers to stop when I cli…

---

## [Hello, I am trying to make the balls go up continuously when holding a key 1,2,3](https://discourse.processing.org/t/hello-i-am-trying-to-make-the-balls-go-up-continuously-when-holding-a-key-1-2-3/5557)

<div class="topic-metadata">

**Author:** [@alexism2022](https://discourse.processing.org/u/alexism2022)\
**Replies:** 1\
**Last updated:** [November 15, 2018, 6:56pm UTC](https://discourse.processing.org/t/hello-i-am-trying-to-make-the-balls-go-up-continuously-when-holding-a-key-1-2-3/5557 "2018-11-15T18:56:32Z")

</div>

Hello, this is my code. I am currently trying to do what is said in this picture. I basically have 3 holes and want to make balls pop out of hole 1 when pressing 1, etc… So when you hold 1 on the keyboard, balls will…

---

## [Getting current unix time](https://discourse.processing.org/t/getting-current-unix-time/5545)

<div class="topic-metadata">

**Author:** [@JustACoder](https://discourse.processing.org/u/JustACoder)\
**Replies:** 2\
**Last updated:** [November 15, 2018, 9:50am UTC](https://discourse.processing.org/t/getting-current-unix-time/5545 "2018-11-15T09:50:23Z")

</div>

Okay I know that you can use millis() to get the time since your program started but how can I get the exact unix time?

---

## [How to access actual vertex coordinates for transformed PShape in a Group](https://discourse.processing.org/t/how-to-access-actual-vertex-coordinates-for-transformed-pshape-in-a-group/5520)

<div class="topic-metadata">

**Author:** [@ddownn](https://discourse.processing.org/u/ddownn)\
**Replies:** 4\
**Last updated:** [November 15, 2018, 9:11am UTC](https://discourse.processing.org/t/how-to-access-actual-vertex-coordinates-for-transformed-pshape-in-a-group/5520 "2018-11-15T09:11:30Z")

</div>

I’ve got this PShape Group composed of four sided polygons which have been arranged in a circle and I’m trying to access their coordinates so I can check if the mouse is over each one individually. The problem is that ea…

---

## [I'm getting a NullPointerException](https://discourse.processing.org/t/im-getting-a-nullpointerexception/5529)

<div class="topic-metadata">

**Author:** [@Str1XHyper](https://discourse.processing.org/u/Str1XHyper)\
**Replies:** 3\
**Last updated:** [November 15, 2018, 8:59am UTC](https://discourse.processing.org/t/im-getting-a-nullpointerexception/5529 "2018-11-15T08:59:41Z")

</div>

Can someone help me fix this problem. when I run this code I get a NullPointerException at rockets\[i\].update(), and even if I comment that out I get the same error but on rockets\[i\].display() and I don’t know why I have …

---

## [How to animate a multiple connected shape](https://discourse.processing.org/t/how-to-animate-a-multiple-connected-shape/5532)

<div class="topic-metadata">

**Author:** [@Ingo](https://discourse.processing.org/u/Ingo)\
**Replies:** 2\
**Last updated:** [November 15, 2018, 8:41am UTC](https://discourse.processing.org/t/how-to-animate-a-multiple-connected-shape/5532 "2018-11-15T08:41:09Z")

</div>

Hi everyone, I have some questions, because I cannot figure out how to start my projects best. First of all, I would like to program a selfbalancing (binary) tree. Daniel Shiffman tried it too, but the solution was not…

---

## [Question about mouse2DTransformations library](https://discourse.processing.org/t/question-about-mouse2dtransformations-library/5363)

<div class="topic-metadata">

**Author:** [@ddownn](https://discourse.processing.org/u/ddownn)\
**Replies:** 5\
**Last updated:** [November 15, 2018, 2:14am UTC](https://discourse.processing.org/t/question-about-mouse2dtransformations-library/5363 "2018-11-15T02:14:33Z")

</div>

I was hoping to use this library, but I must be doing something wrong. Can someone let me know what I am not doing right? The idea is that clicking on the slider bar changes its color, but it only works when clicking on…

---

## [lerpColor triggered by event](https://discourse.processing.org/t/lerpcolor-triggered-by-event/5541)

<div class="topic-metadata">

**Author:** [@eduzal](https://discourse.processing.org/u/eduzal)\
**Replies:** 3\
**Last updated:** [November 14, 2018, 10:49pm UTC](https://discourse.processing.org/t/lerpcolor-triggered-by-event/5541 "2018-11-14T22:49:59Z")

</div>

hello i’m having some trouble to smoothly change a color from a triggered event, initially mousePressed, then i will move to a timer. I’m loading a .svg file, adding each child in a separate custom object stored in an …

---

## [Initial orientation needed on 3d models](https://discourse.processing.org/t/initial-orientation-needed-on-3d-models/5530)

<div class="topic-metadata">

**Author:** [@wrcstewart](https://discourse.processing.org/u/wrcstewart)\
**Replies:** 2\
**Last updated:** [November 14, 2018, 5:37pm UTC](https://discourse.processing.org/t/initial-orientation-needed-on-3d-models/5530 "2018-11-14T17:37:35Z")

</div>

I wonder if someone could tell me how I access the underlying 3d model. For example I can see from the doc how to import a \*.OBJ file - but then how could I for example edit it? Or, how can i set up a structure with a li…

---

## [dataPath() problem under Mac OS X](https://discourse.processing.org/t/datapath-problem-under-mac-os-x/5486)

<div class="topic-metadata">

**Author:** [@dtmr](https://discourse.processing.org/u/dtmr)\
**Replies:** 4\
**Last updated:** [November 14, 2018, 9:49am UTC](https://discourse.processing.org/t/datapath-problem-under-mac-os-x/5486 "2018-11-14T09:49:37Z")

</div>

A user of my app has reported that it fails to save to dataPath(“settings.xml”) when it is still in the download folder, due to permissions. Apparently dataPath() points to an odd directory. Ideas? App saves settings t…

---

## [Can u help me with this interesting game?](https://discourse.processing.org/t/can-u-help-me-with-this-interesting-game/5519)

<div class="topic-metadata">

**Author:** [@Fabboy17](https://discourse.processing.org/u/Fabboy17)\
**Replies:** 2\
**Last updated:** [November 14, 2018, 4:50am UTC](https://discourse.processing.org/t/can-u-help-me-with-this-interesting-game/5519 "2018-11-14T04:50:05Z")

</div>

Hi, I’m trying to make a game which consists of joining two points without touching the bombs that were generated. I have advanced a lot in the game, I have to do that when the player wins everything is restarted and th…

[Previous page](https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=345)

[Next page](https://discourse.processing.org/c/processing/6.md?no_subcategories=false&page=347)
