# Processing

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

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

**Page:** 390

---

## [3D interactivity](https://discourse.processing.org/t/3d-interactivity/639)

<div class="topic-metadata">

**Author:** [@Cuchis](https://discourse.processing.org/u/Cuchis)\
**Replies:** 1\
**Last updated:** [June 4, 2018, 6:06am UTC](https://discourse.processing.org/t/3d-interactivity/639 "2018-06-04T06:06:26Z")

</div>

Im working on a project with processing, im struggling in programing a globe to be interactive. I want to click on a country and make it give me information about it. For example, if i click on Spain (on the 3D globe) i …

---

## [Making a Sinus Scroller](https://discourse.processing.org/t/making-a-sinus-scroller/580)

<div class="topic-metadata">

**Author:** [@RevDave31337](https://discourse.processing.org/u/RevDave31337)\
**Replies:** 7\
**Last updated:** [June 4, 2018, 1:28am UTC](https://discourse.processing.org/t/making-a-sinus-scroller/580 "2018-06-04T01:28:39Z")

</div>

Hi Guys, Wondering if anyone can help me. Just started with Processing and tryign to make a Demoscene style app. I am in the process of tryign to add in a sinus scroller like was often seen on C64 Demos (example here) H…

---

## [On Specifying the Renderer, sketch is taking too much time to open the Sketch](https://discourse.processing.org/t/on-specifying-the-renderer-sketch-is-taking-too-much-time-to-open-the-sketch/609)

<div class="topic-metadata">

**Author:** [@Vivek](https://discourse.processing.org/u/Vivek)\
**Replies:** 2\
**Last updated:** [June 4, 2018, 1:15am UTC](https://discourse.processing.org/t/on-specifying-the-renderer-sketch-is-taking-too-much-time-to-open-the-sketch/609 "2018-06-04T01:15:42Z")

</div>

I’m currently using Processing 3, version 3.3.7. PC Specs : Windows 10 Home Core i5 7200u 4GB RAM Intel Graphics 620 I’m beginner to Processing 3, so, I don’t know much about it now but the size function has three …

---

## [Best way to run processing sketch in webpage](https://discourse.processing.org/t/best-way-to-run-processing-sketch-in-webpage/537)

<div class="topic-metadata">

**Author:** [@Birb](https://discourse.processing.org/u/Birb)\
**Replies:** 15\
**Last updated:** [June 3, 2018, 2:48am UTC](https://discourse.processing.org/t/best-way-to-run-processing-sketch-in-webpage/537 "2018-06-03T02:48:26Z")

</div>

Is processingJS the best way to run processing on a webpage? I want the fastest/most convenient way to make an interactive visual element, such as a banner or an animated canvas background - and possibly experiment with …

---

## [PGraphics text is pixelated](https://discourse.processing.org/t/pgraphics-text-is-pixelated/586)

<div class="topic-metadata">

**Author:** [@VansiusProductions](https://discourse.processing.org/u/VansiusProductions)\
**Replies:** 6\
**Last updated:** [June 4, 2018, 1:03am UTC](https://discourse.processing.org/t/pgraphics-text-is-pixelated/586 "2018-06-04T01:03:20Z")

</div>

Hi, When I use PGraphics.text() the text is very pixelated and low quality, below is a comparison of PApplet.text() and PGraphics.text() using the same .ttf and same font size: Click me Why is this happening?

---

## [How to make balls in an array bounce of each other?](https://discourse.processing.org/t/how-to-make-balls-in-an-array-bounce-of-each-other/583)

<div class="topic-metadata">

**Author:** [@Eshad](https://discourse.processing.org/u/Eshad)\
**Replies:** 2\
**Last updated:** [June 4, 2018, 12:57am UTC](https://discourse.processing.org/t/how-to-make-balls-in-an-array-bounce-of-each-other/583 "2018-06-04T00:57:11Z")

</div>

I just started coding and I’m sorry if i made your eyes bleed this my collison detection class Collisions { float dir; Collisions () { } void BallCollide(float x, float y, float d) { for (int i = 0; i \< Bal…

---

## [Look under the hood - methods](https://discourse.processing.org/t/look-under-the-hood-methods/592)

<div class="topic-metadata">

**Author:** [@greenleafvolatile](https://discourse.processing.org/u/greenleafvolatile)\
**Replies:** 2\
**Last updated:** [June 4, 2018, 12:19am UTC](https://discourse.processing.org/t/look-under-the-hood-methods/592 "2018-06-04T00:19:01Z")

</div>

Hey, Newb here. Is it possible to see the code that makes up different methods such as rect(), ellipse() etc.? Cheers,

---

## [Looking for advice/feedback on my Schoolproject](https://discourse.processing.org/t/looking-for-advice-feedback-on-my-schoolproject/679)

<div class="topic-metadata">

**Author:** [@WindJammer](https://discourse.processing.org/u/WindJammer)\
**Replies:** 2\
**Last updated:** [June 3, 2018, 10:31pm UTC](https://discourse.processing.org/t/looking-for-advice-feedback-on-my-schoolproject/679 "2018-06-03T22:31:03Z")

</div>

Hello everyone, this will be my first post here. Sorry for the length, but you can scan through most of it. If you’re really low on patience just jump to “THE ISSUES”. I’m an Art&Technology student and i’m working on …

---

## [How to make a 3D shape interactive in processing](https://discourse.processing.org/t/how-to-make-a-3d-shape-interactive-in-processing/629)

<div class="topic-metadata">

**Author:** [@Cuchis](https://discourse.processing.org/u/Cuchis)\
**Replies:** 3\
**Last updated:** [June 3, 2018, 7:41pm UTC](https://discourse.processing.org/t/how-to-make-a-3d-shape-interactive-in-processing/629 "2018-06-03T19:41:09Z")

</div>

Im working on a project with processing, im struggling in programing a globe to be interactive. I want to click on a country and make it give me information about it. For example, if i click on Spain (on the 3D globe) i …

---

## [I am completely lost - changing size according to Mouse position](https://discourse.processing.org/t/i-am-completely-lost-changing-size-according-to-mouse-position/682)

<div class="topic-metadata">

**Author:** [@the-junk](https://discourse.processing.org/u/the-junk)\
**Replies:** 1\
**Last updated:** [June 3, 2018, 7:28pm UTC](https://discourse.processing.org/t/i-am-completely-lost-changing-size-according-to-mouse-position/682 "2018-06-03T19:28:11Z")

</div>

Hello, I need some serious help… I want my tennis racquet in this code to change size according to the mouse position. When my mouse is at the bottom of the canvas, I want it to be double the size and when the mouse is …

---

## [Very new to processing - Working with Text](https://discourse.processing.org/t/very-new-to-processing-working-with-text/670)

<div class="topic-metadata">

**Author:** [@Jsabo97](https://discourse.processing.org/u/Jsabo97)\
**Replies:** 3\
**Last updated:** [June 3, 2018, 6:47pm UTC](https://discourse.processing.org/t/very-new-to-processing-working-with-text/670 "2018-06-03T18:47:13Z")

</div>

Hi I’m very new to processing and am stuck on how to go about doing what I want. Attached is what i have so far but i’d like to make it so that the “you are here” text remains at one instance while a secondary “here” is …

---

## [Trigger the video player when processing read a defined number](https://discourse.processing.org/t/trigger-the-video-player-when-processing-read-a-defined-number/559)

<div class="topic-metadata">

**Author:** [@CaptainNik](https://discourse.processing.org/u/CaptainNik)\
**Replies:** 14\
**Last updated:** [June 3, 2018, 3:54pm UTC](https://discourse.processing.org/t/trigger-the-video-player-when-processing-read-a-defined-number/559 "2018-06-03T15:54:25Z")

</div>

Hello everybody. I am very new to processing and i would like any help possible to make a project working. What i want to do is make processing read the serial port of an Arduino Uno that sends data from a sonar sensor. …

---

## [Changing shape size based on loaded data](https://discourse.processing.org/t/changing-shape-size-based-on-loaded-data/588)

<div class="topic-metadata">

**Author:** [@claudibird](https://discourse.processing.org/u/claudibird)\
**Replies:** 2\
**Last updated:** [June 3, 2018, 4:00am UTC](https://discourse.processing.org/t/changing-shape-size-based-on-loaded-data/588 "2018-06-03T04:00:14Z")

</div>

I’m trying to create an image with 7 flowers - 1 for each day. Each flower has 5 petals and i would like for them to change in size based on 5 sets of data (all as a proportion) - time spent asleep, time spent doing sede…

---

## [Implementing PBox2D in a Processing sketch](https://discourse.processing.org/t/implementing-pbox2d-in-a-processing-sketch/521)

<div class="topic-metadata">

**Author:** [@maddyna](https://discourse.processing.org/u/maddyna)\
**Replies:** 10\
**Last updated:** [June 3, 2018, 1:57am UTC](https://discourse.processing.org/t/implementing-pbox2d-in-a-processing-sketch/521 "2018-06-03T01:57:32Z")

</div>

I am following tutorials to implement box2d in my sketch but having problems in implementing the box2d in processing sketch. Am I on the rt track? please suggest whr I am going horribly wrong? import shiffman.box2d.\*;…

---

## [Create bugs inside of an ellipse](https://discourse.processing.org/t/create-bugs-inside-of-an-ellipse/599)

<div class="topic-metadata">

**Author:** [@RafaelAzevedo](https://discourse.processing.org/u/RafaelAzevedo)\
**Replies:** 12\
**Last updated:** [June 2, 2018, 7:13pm UTC](https://discourse.processing.org/t/create-bugs-inside-of-an-ellipse/599 "2018-06-02T19:13:10Z")

</div>

So, i have an array of “bugs” and want to make them appear inside of an ellipse and constrain them there until i release them (mouse click, probably). My struggle right now is to make them appear inside of the ellipse. …

---

## [The type of the expression must be an array type but it resolved to int](https://discourse.processing.org/t/the-type-of-the-expression-must-be-an-array-type-but-it-resolved-to-int/632)

<div class="topic-metadata">

**Author:** [@PeWy](https://discourse.processing.org/u/PeWy)\
**Replies:** 8\
**Last updated:** [June 2, 2018, 5:06pm UTC](https://discourse.processing.org/t/the-type-of-the-expression-must-be-an-array-type-but-it-resolved-to-int/632 "2018-06-02T17:06:17Z")

</div>

Hello. I need to convert content of int array to String and put it in to String array. I was try to use method “String.valueOf(pozitionX)” , but processing give me message: “The type of the expression must be an array t…

---

## [Processing and Kinect 360: gesture and fullscreen scaling](https://discourse.processing.org/t/processing-and-kinect-360-gesture-and-fullscreen-scaling/572)

<div class="topic-metadata">

**Author:** [@grood](https://discourse.processing.org/u/grood)\
**Replies:** 1\
**Last updated:** [June 2, 2018, 12:28pm UTC](https://discourse.processing.org/t/processing-and-kinect-360-gesture-and-fullscreen-scaling/572 "2018-06-02T12:28:57Z")

</div>

Hi, im a newbie in Processing and need some help or advice. i just found free to share code by one guys(is just painting with stroke and random colors) and i add fews feature with minim lib. Basically u can paint with k…

---

## [Problem with PApllet when trying to use PApplet with unfolding map, in applet can't produce a map](https://discourse.processing.org/t/problem-with-papllet-when-trying-to-use-papplet-with-unfolding-map-in-applet-cant-produce-a-map/566)

<div class="topic-metadata">

**Author:** [@mamun](https://discourse.processing.org/u/mamun)\
**Replies:** 7\
**Last updated:** [June 2, 2018, 9:29am UTC](https://discourse.processing.org/t/problem-with-papllet-when-trying-to-use-papplet-with-unfolding-map-in-applet-cant-produce-a-map/566 "2018-06-02T09:29:59Z")

</div>

Hello, I’m following a course on Coursera where we’re trying to visualize the geospatial data on map. Earlier I have gone through the code and executed properly, in Windows and in Linux and had the all function working…

---

## [Send different uniform values to a single shader](https://discourse.processing.org/t/send-different-uniform-values-to-a-single-shader/568)

<div class="topic-metadata">

**Author:** [@vjjv](https://discourse.processing.org/u/vjjv)\
**Replies:** 1\
**Last updated:** [June 2, 2018, 7:34am UTC](https://discourse.processing.org/t/send-different-uniform-values-to-a-single-shader/568 "2018-06-02T07:34:20Z")

</div>

hey everybody. this time ive a problem sending invididual mensajes to a fragment shader. Ive an array of spheres, and i want that every sphere have a different size of blur, witch is a uniform of the fragment. The main c…

---

## [How to make an object go past another with PVectors?](https://discourse.processing.org/t/how-to-make-an-object-go-past-another-with-pvectors/605)

<div class="topic-metadata">

**Author:** [@orin635](https://discourse.processing.org/u/orin635)\
**Replies:** 3\
**Last updated:** [June 2, 2018, 3:43am UTC](https://discourse.processing.org/t/how-to-make-an-object-go-past-another-with-pvectors/605 "2018-06-02T03:43:45Z")

</div>

Hi guys, last night I posted about making an object move in the direction of my mouse and I finally got that! I’m so pleased but now I need to make the object continue past the marker I make. I’m terrible at explaining…

---

## [Vague error on enums at runtime](https://discourse.processing.org/t/vague-error-on-enums-at-runtime/614)

<div class="topic-metadata">

**Author:** [@StrawberrEclair](https://discourse.processing.org/u/StrawberrEclair)\
**Replies:** 2\
**Last updated:** [June 2, 2018, 1:23am UTC](https://discourse.processing.org/t/vague-error-on-enums-at-runtime/614 "2018-06-02T01:23:01Z")

</div>

Note: this is Processing 3.3.6 I’ve just started a project, and part of it requires enums. I’ve done my research and found that in order to have enums, they need to be in a seperate .java file. I’ve done that, but at ru…

---

## [Server to client: how to transmit ellipse coordinates](https://discourse.processing.org/t/server-to-client-how-to-transmit-ellipse-coordinates/570)

<div class="topic-metadata">

**Author:** [@imaginitiveCODE](https://discourse.processing.org/u/imaginitiveCODE)\
**Replies:** 5\
**Last updated:** [June 1, 2018, 1:14pm UTC](https://discourse.processing.org/t/server-to-client-how-to-transmit-ellipse-coordinates/570 "2018-06-01T13:14:35Z")

</div>

How would i send the x and y coordinates of an ellipse from one computer to another. Any help would be great thanks.

---

## [How do I create an executable including various files?](https://discourse.processing.org/t/how-do-i-create-an-executable-including-various-files/567)

<div class="topic-metadata">

**Author:** [@CrispyCabot](https://discourse.processing.org/u/CrispyCabot)\
**Replies:** 6\
**Last updated:** [June 1, 2018, 12:57pm UTC](https://discourse.processing.org/t/how-do-i-create-an-executable-including-various-files/567 "2018-06-01T12:57:48Z")

</div>

Yes I know to do File \> Export Application but it just doesn’t work when I run the executable. I am guessing it is probably a problem with one of the files I am using. This includes a .ttf font and a .txt file. I also us…

---

## [Shapes 3D Library: How can i get the color of a shape?](https://discourse.processing.org/t/shapes-3d-library-how-can-i-get-the-color-of-a-shape/590)

<div class="topic-metadata">

**Author:** [@\_ther](https://discourse.processing.org/u/_ther)\
**Replies:** 0\
**Last updated:** [June 1, 2018, 5:56am UTC](https://discourse.processing.org/t/shapes-3d-library-how-can-i-get-the-color-of-a-shape/590 "2018-06-01T05:56:35Z")

</div>

Box test = new Box(this, 300); test.stroke(255); test.drawMode(Shape3D.SOLID); test.draw(); // this is where I'm stuck color c = test.getColor();

---

## [Problem with using functions on a string array of videos](https://discourse.processing.org/t/problem-with-using-functions-on-a-string-array-of-videos/561)

<div class="topic-metadata">

**Author:** [@inseinse](https://discourse.processing.org/u/inseinse)\
**Replies:** 1\
**Last updated:** [June 1, 2018, 5:50am UTC](https://discourse.processing.org/t/problem-with-using-functions-on-a-string-array-of-videos/561 "2018-06-01T05:50:37Z")

</div>

Hello! I guess my problem isn’t so hard to solve, but I really need some help with this. I have an array of videos and I’m playing a random video everytime a key is pressed. Now with pressing another key I want to use …

---

## [Centering circles on the screen](https://discourse.processing.org/t/centering-circles-on-the-screen/557)

<div class="topic-metadata">

**Author:** [@Code\_Hunter](https://discourse.processing.org/u/Code_Hunter)\
**Replies:** 10\
**Last updated:** [June 1, 2018, 12:09am UTC](https://discourse.processing.org/t/centering-circles-on-the-screen/557 "2018-06-01T00:09:10Z")

</div>

I am new to this processing language, and java, but not new to programming. I am trying to convert a program I made in another language to processing, but it isn’t working properly. It is supposed to center the circles…

---

## [Making a ball move in the direction of the mouse](https://discourse.processing.org/t/making-a-ball-move-in-the-direction-of-the-mouse/573)

<div class="topic-metadata">

**Author:** [@orin635](https://discourse.processing.org/u/orin635)\
**Replies:** 3\
**Last updated:** [May 31, 2018, 10:13pm UTC](https://discourse.processing.org/t/making-a-ball-move-in-the-direction-of-the-mouse/573 "2018-05-31T22:13:55Z")

</div>

Hello guys! I’ve been looking at this forum for multiple days now and it has been so helpful but I don’t know if I’m not looking up the right thing but I just can’t find out how to do this. So I’m making a basic game t…

---

## [How to display a picture immediately after taking it on a DSLR](https://discourse.processing.org/t/how-to-display-a-picture-immediately-after-taking-it-on-a-dslr/563)

<div class="topic-metadata">

**Author:** [@Truqar](https://discourse.processing.org/u/Truqar)\
**Replies:** 4\
**Last updated:** [May 31, 2018, 3:45pm UTC](https://discourse.processing.org/t/how-to-display-a-picture-immediately-after-taking-it-on-a-dslr/563 "2018-05-31T15:45:22Z")

</div>

Hello people, I am working on my final project and I can’t figure something out… I have already figured out how to code and connect a button to trigger the shutter of the camera. That is done by connecting the Arduino …

---

## [Display OpenCV face detection controlled by MIDI](https://discourse.processing.org/t/display-opencv-face-detection-controlled-by-midi/505)

<div class="topic-metadata">

**Author:** [@snaphaan](https://discourse.processing.org/u/snaphaan)\
**Replies:** 7\
**Last updated:** [May 31, 2018, 3:14pm UTC](https://discourse.processing.org/t/display-opencv-face-detection-controlled-by-midi/505 "2018-05-31T15:14:10Z")

</div>

Hello everybody, Im a artist and new to processing en coding in general. Im trying to make a code that captures a image of a face and use that to make a dynamic Image composed of the faces that watches it. it uses Ope…

---

## [Appearing and Disappearing Text](https://discourse.processing.org/t/appearing-and-disappearing-text/509)

<div class="topic-metadata">

**Author:** [@I7rag0n](https://discourse.processing.org/u/I7rag0n)\
**Replies:** 4\
**Last updated:** [May 31, 2018, 8:44am UTC](https://discourse.processing.org/t/appearing-and-disappearing-text/509 "2018-05-31T08:44:26Z")

</div>

Hello there. I am trying to make a game that requires a couple of text to appear and disappear after a couple of seconds. I wanted it to say “Ready?” on screen for a few seconds then disappear. Then “Get set!” appears fo…

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

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