# Latest

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

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

**Page:** 606

---

## [Color blending oddly on PGraphics](https://discourse.processing.org/t/color-blending-oddly-on-pgraphics/1844)

<div class="topic-metadata">

**Author:** [@RobS](https://discourse.processing.org/u/RobS)\
**Replies:** 2\
**Last updated:** [July 17, 2018, 6:31am UTC](https://discourse.processing.org/t/color-blending-oddly-on-pgraphics/1844 "2018-07-17T06:31:16Z")

</div>

Blending colors with a PGraphcs object gives odd, undesirable colors: In this example I’m blending the same shades of red of and blue, and getting two completely different results… Here’s my code: PGraphics merged; …

---

## [Retrieve real wood fiber structure from image](https://discourse.processing.org/t/retrieve-real-wood-fiber-structure-from-image/1731)

<div class="topic-metadata">

**Author:** [@Han](https://discourse.processing.org/u/Han)\
**Replies:** 4\
**Last updated:** [July 17, 2018, 2:22am UTC](https://discourse.processing.org/t/retrieve-real-wood-fiber-structure-from-image/1731 "2018-07-17T02:22:37Z")

</div>

I am going to write a program to process an image with very fine wood fibers in it. Please have a look at this for a quick idea - http://alturl.com/7jnuh What I want to do is keep only the fiber lines in a black and whi…

---

## [Using Qscript in java](https://discourse.processing.org/t/using-qscript-in-java/1833)

<div class="topic-metadata">

**Author:** [@ctrembla](https://discourse.processing.org/u/ctrembla)\
**Replies:** 17\
**Last updated:** [July 17, 2018, 12:21am UTC](https://discourse.processing.org/t/using-qscript-in-java/1833 "2018-07-17T00:21:19Z")

</div>

I am trying to use Qscript in my page, but cant find a tutorial saying how to use it? I’m thinking it does the math stuff I’m looking for in my Neural Network, but when I look for tutorials for java QScript I only gettin…

---

## [Drawing an image with icons](https://discourse.processing.org/t/drawing-an-image-with-icons/1828)

<div class="topic-metadata">

**Author:** [@Moe](https://discourse.processing.org/u/Moe)\
**Replies:** 4\
**Last updated:** [July 16, 2018, 8:47pm UTC](https://discourse.processing.org/t/drawing-an-image-with-icons/1828 "2018-07-16T20:47:48Z")

</div>

Hey Everyone, just a quick question… If I want to draw an image with a set of icons that I have, and I want the image to analize the colors in the icons and use the appropriate icon when it matches the color of the area …

---

## [Connect a function to a button created in an object (ControlP5)](https://discourse.processing.org/t/connect-a-function-to-a-button-created-in-an-object-controlp5/1821)

<div class="topic-metadata">

**Author:** [@jb4x](https://discourse.processing.org/u/jb4x)\
**Replies:** 6\
**Last updated:** [July 16, 2018, 8:26pm UTC](https://discourse.processing.org/t/connect-a-function-to-a-button-created-in-an-object-controlp5/1821 "2018-07-16T20:26:27Z")

</div>

Hello all, I have a class named “Interface” in witch I’m creating some buttons. I want to execute a function when a button is pressed. The problem is since I want my class to be generic, I can’t write that peace of co…

---

## [Finding pixels inside a shape](https://discourse.processing.org/t/finding-pixels-inside-a-shape/1829)

<div class="topic-metadata">

**Author:** [@talisman](https://discourse.processing.org/u/talisman)\
**Replies:** 4\
**Last updated:** [July 16, 2018, 8:30pm UTC](https://discourse.processing.org/t/finding-pixels-inside-a-shape/1829 "2018-07-16T20:30:53Z")

</div>

Hi all , I have a ‘bouncing ball’ , of sorts . If you have followed Dan Shiffmans’ tutorials you must have encountered one. I want to show the underlying captured video only within the bouncing ball, like a spotlight. …

---

## [Unanswered Topics Button](https://discourse.processing.org/t/unanswered-topics-button/1789)

<div class="topic-metadata">

**Author:** [@TheWizardBear](https://discourse.processing.org/u/TheWizardBear)\
**Replies:** 5\
**Last updated:** [July 16, 2018, 8:27pm UTC](https://discourse.processing.org/t/unanswered-topics-button/1789 "2018-07-16T20:27:28Z")

</div>

“Unanswered” Button This would be like the “Latest” and “Top” headers at the top of the page except it would say something like “Unanswered”. It would link to a page listing all topics without replies. This would be u…

---

## [P5.js Asteroid Game Question](https://discourse.processing.org/t/p5-js-asteroid-game-question/1817)

<div class="topic-metadata">

**Author:** [@BlitzBane](https://discourse.processing.org/u/BlitzBane)\
**Replies:** 16\
**Last updated:** [July 16, 2018, 7:01pm UTC](https://discourse.processing.org/t/p5-js-asteroid-game-question/1817 "2018-07-16T19:01:41Z")

</div>

How to move the Bullet into the side of the Ship? Not the angle but on where is the bullet is coming from. I want to create guns on each side because I want to be more creative. But the problem is that everytime the ship…

---

## [Run processing sketch without window?](https://discourse.processing.org/t/run-processing-sketch-without-window/1826)

<div class="topic-metadata">

**Author:** [@cumulus](https://discourse.processing.org/u/cumulus)\
**Replies:** 1\
**Last updated:** [July 16, 2018, 6:44pm UTC](https://discourse.processing.org/t/run-processing-sketch-without-window/1826 "2018-07-16T18:44:50Z")

</div>

Is it possible to run a processing sketch without having the applet window appear? This would be very useful for extensively testing non-processing functionality inside the draw call. The draw function should still be …

---

## [My first Javascript game: ZomBalls](https://discourse.processing.org/t/my-first-javascript-game-zomballs/830)

<div class="topic-metadata">

**Author:** [@FishMissile](https://discourse.processing.org/u/FishMissile)\
**Replies:** 3\
**Last updated:** [July 16, 2018, 12:25pm UTC](https://discourse.processing.org/t/my-first-javascript-game-zomballs/830 "2018-07-16T12:25:26Z")

</div>

This is the first Javascript game I’ve ever made as well as my first project using p5. I’ve been working pretty consistently for the last week making this and I think it’s coming along really well. If anyone has any idea…

---

## [Reproduction behavior](https://discourse.processing.org/t/reproduction-behavior/1740)

<div class="topic-metadata">

**Author:** [@vincentstrebelle](https://discourse.processing.org/u/vincentstrebelle)\
**Replies:** 4\
**Last updated:** [July 16, 2018, 10:16am UTC](https://discourse.processing.org/t/reproduction-behavior/1740 "2018-07-16T10:16:26Z")

</div>

hi im new in programing and in processing and i use it with java in oracle, so sorry if my question is dumb or not clear. so here is my question, i want to make a reproduction mechanisme for my herbivor (herb3m for mal…

---

## [ProcessBuilder ByteBuffer error](https://discourse.processing.org/t/processbuilder-bytebuffer-error/1799)

<div class="topic-metadata">

**Author:** [@lmccandless](https://discourse.processing.org/u/lmccandless)\
**Replies:** 0\
**Last updated:** [July 15, 2018, 9:48pm UTC](https://discourse.processing.org/t/processbuilder-bytebuffer-error/1799 "2018-07-15T21:48:57Z")

</div>

I’ve been playing a game that’s written in Java. I host a custom modified dedicated server for it, which is a java command line program. I’m making a wrapper and GUI for it in processing, which has mostly worked out wel…

---

## [Gap bewteen frame title and top of frame](https://discourse.processing.org/t/gap-bewteen-frame-title-and-top-of-frame/1772)

<div class="topic-metadata">

**Author:** [@jeffmarc](https://discourse.processing.org/u/jeffmarc)\
**Replies:** 4\
**Last updated:** [July 15, 2018, 5:31pm UTC](https://discourse.processing.org/t/gap-bewteen-frame-title-and-top-of-frame/1772 "2018-07-15T17:31:47Z")

</div>

OK, so i have frame.setUndecorated(true); frame.setTitle(“NAME OF PROGRAM”); Also i set frame location to 0,0 on first iteration of draw loop to make sure the frame is orientated to the upper left corner of the displa…

---

## [Rotating Lines Around A circle](https://discourse.processing.org/t/rotating-lines-around-a-circle/1791)

<div class="topic-metadata">

**Author:** [@AnthonyMG](https://discourse.processing.org/u/AnthonyMG)\
**Replies:** 1\
**Last updated:** [July 15, 2018, 4:58pm UTC](https://discourse.processing.org/t/rotating-lines-around-a-circle/1791 "2018-07-15T16:58:26Z")

</div>

Hello, I am trying to rotate 15 lines around the center point of a circle in unison. The lines start at the correct positions, but they rotate at different speeds. Thanks for any help! // GLOBAL VARIABLES final int SUN…

---

## [Retrieve web page from remote browser](https://discourse.processing.org/t/retrieve-web-page-from-remote-browser/1784)

<div class="topic-metadata">

**Author:** [@jorgeeduardojonas](https://discourse.processing.org/u/jorgeeduardojonas)\
**Replies:** 1\
**Last updated:** [July 15, 2018, 4:43pm UTC](https://discourse.processing.org/t/retrieve-web-page-from-remote-browser/1784 "2018-07-15T16:43:20Z")

</div>

Hello! I was wondering if it is possible to “grab” a web page direction from different computers, smartphones, etc. and open in it in a target computer or server computer…Is this possible? Could someone please point me…

---

## [Iterate throw JSON array values](https://discourse.processing.org/t/iterate-throw-json-array-values/1710)

<div class="topic-metadata">

**Author:** [@mloiz](https://discourse.processing.org/u/mloiz)\
**Replies:** 3\
**Last updated:** [July 15, 2018, 2:38pm UTC](https://discourse.processing.org/t/iterate-throw-json-array-values/1710 "2018-07-15T14:38:08Z")

</div>

Hello, I have those JSON data and I would like to iterate throw the lines who stars with 527157\_FacetSep\_ { "response":{"numFound":1587807,"start":0,"docs":\[\] }, "facet\_counts":{ "facet\_queries":{}, "face…

---

## [Unable to install library](https://discourse.processing.org/t/unable-to-install-library/1769)

<div class="topic-metadata">

**Author:** [@Cai](https://discourse.processing.org/u/Cai)\
**Replies:** 1\
**Last updated:** [July 15, 2018, 7:52am UTC](https://discourse.processing.org/t/unable-to-install-library/1769 "2018-07-15T07:52:55Z")

</div>

im using the latest processing … and im a mac user im facing a few problems - my 'add library ’ tool does not work (not for open kinect , nor for other libs) so wen i downloaded open kinect from github and copied it in t…

---

## [Run shader multiple times on an image?](https://discourse.processing.org/t/run-shader-multiple-times-on-an-image/1749)

<div class="topic-metadata">

**Author:** [@jeffthompson](https://discourse.processing.org/u/jeffthompson)\
**Replies:** 3\
**Last updated:** [July 15, 2018, 7:43am UTC](https://discourse.processing.org/t/run-shader-multiple-times-on-an-image/1749 "2018-07-15T07:43:40Z")

</div>

I’d like to run a single shader several times on an image (to build up the effect), but if I stick the basic shader code in a for loop it doesn’t seem to work: for (int i=0; i\<10; i++) { shader(doSomething); image(i…

---

## [Dynamic casting example](https://discourse.processing.org/t/dynamic-casting-example/1775)

<div class="topic-metadata">

**Author:** [@bontempos](https://discourse.processing.org/u/bontempos)\
**Replies:** 2\
**Last updated:** [July 15, 2018, 1:28am UTC](https://discourse.processing.org/t/dynamic-casting-example/1775 "2018-07-15T01:28:38Z")

</div>

I would like some help to understand why casting Object to Object returns true on Output #5 and false on Output #7 if eventually I think both are comparing same object being casted by same class. Thanks you class Test …

---

## [Network Client Always Null](https://discourse.processing.org/t/network-client-always-null/1753)

<div class="topic-metadata">

**Author:** [@Quillbert1](https://discourse.processing.org/u/Quillbert1)\
**Replies:** 9\
**Last updated:** [July 15, 2018, 1:09am UTC](https://discourse.processing.org/t/network-client-always-null/1753 "2018-07-15T01:09:37Z")

</div>

I am trying to make pong online, but the client on the server side is always null. What can I do to fix this? import processing.net.\*; Server pong; int bounceTimer = 0; int startTimer = 165; int score1 = 0; int score2…

---

## [Calculate layers of NEAT](https://discourse.processing.org/t/calculate-layers-of-neat/1763)

<div class="topic-metadata">

**Author:** [@Nath7009](https://discourse.processing.org/u/Nath7009)\
**Replies:** 1\
**Last updated:** [July 14, 2018, 8:48pm UTC](https://discourse.processing.org/t/calculate-layers-of-neat/1763 "2018-07-14T20:48:08Z")

</div>

Hi, I’m trying to do my own implementation of a NEAT using processing, to be able to show my neural network, I have to order the different nodes in layers. The problem is that when I add a new node in the network, the l…

---

## [Rotation based on Mouse](https://discourse.processing.org/t/rotation-based-on-mouse/1766)

<div class="topic-metadata">

**Author:** [@Sapphire](https://discourse.processing.org/u/Sapphire)\
**Replies:** 1\
**Last updated:** [July 14, 2018, 8:17pm UTC](https://discourse.processing.org/t/rotation-based-on-mouse/1766 "2018-07-14T20:17:36Z")

</div>

(What I am asking is at the bottom, these are the assets I am expecting you will need.) I am currently working on a .io game project. Here is my code for the player: function Snipe(img, x, y) { this.pos = createVect…

---

## [Trying to Register pressing ALT outside of the application window](https://discourse.processing.org/t/trying-to-register-pressing-alt-outside-of-the-application-window/1758)

<div class="topic-metadata">

**Author:** [@Thealonic](https://discourse.processing.org/u/Thealonic)\
**Replies:** 0\
**Last updated:** [July 14, 2018, 8:51am UTC](https://discourse.processing.org/t/trying-to-register-pressing-alt-outside-of-the-application-window/1758 "2018-07-14T08:51:37Z")

</div>

Currently trying to make a over complicated software to run alongside other software and I’m currrently trying to get something to register colour changes in pixels while holding down a key. However, after trying to figu…

---

## [Earth to move in it's orbit](https://discourse.processing.org/t/earth-to-move-in-its-orbit/1379)

<div class="topic-metadata">

**Author:** [@akash](https://discourse.processing.org/u/akash)\
**Replies:** 9\
**Last updated:** [July 14, 2018, 4:24pm UTC](https://discourse.processing.org/t/earth-to-move-in-its-orbit/1379 "2018-07-14T16:24:01Z")

</div>

I have two ellipse. one is larger ellipse and another is smaller ellipse. i want smaller ellipse to follow the path of the larger ellipse. Your suggestions are needed?. ( i am a beginner).

---

## [Where is the main documentation?](https://discourse.processing.org/t/where-is-the-main-documentation/1757)

<div class="topic-metadata">

**Author:** [@micuat](https://discourse.processing.org/u/micuat)\
**Replies:** 2\
**Last updated:** [July 14, 2018, 2:41pm UTC](https://discourse.processing.org/t/where-is-the-main-documentation/1757 "2018-07-14T14:41:30Z")

</div>

Hi, I sometimes use Processing for Pi and I really appreciate so much contribution from the community. However, I found that the documentations are scattered and I had hard time figuring out opengl error I had. First I …

---

## [Don't understand the camera() function](https://discourse.processing.org/t/dont-understand-the-camera-function/1760)

<div class="topic-metadata">

**Author:** [@MCCreeper8890](https://discourse.processing.org/u/MCCreeper8890)\
**Replies:** 2\
**Last updated:** [July 14, 2018, 12:46pm UTC](https://discourse.processing.org/t/dont-understand-the-camera-function/1760 "2018-07-14T12:46:43Z")

</div>

Hi! I like to use the QueasyCam library for 3D games I develop in this wonderful IDE, it’s useful for first-person camera control, and I basically completely understand its inner workings. However, it uses the camera() f…

---

## [Audio Visualisation](https://discourse.processing.org/t/audio-visualisation/1576)

<div class="topic-metadata">

**Author:** [@rioma7](https://discourse.processing.org/u/rioma7)\
**Replies:** 7\
**Last updated:** [July 13, 2018, 11:47pm UTC](https://discourse.processing.org/t/audio-visualisation/1576 "2018-07-13T23:47:17Z")

</div>

Hi FOLKS… I am super sad because I am struggling a lot with a program I am trying to code it since long…but I cannot figure out how to do it!!! So what I want to do is: When I press the R (keypressed) it records the a…

---

## [What is the right term for this task - blurring or edge smoothing](https://discourse.processing.org/t/what-is-the-right-term-for-this-task-blurring-or-edge-smoothing/1729)

<div class="topic-metadata">

**Author:** [@Han](https://discourse.processing.org/u/Han)\
**Replies:** 1\
**Last updated:** [July 13, 2018, 6:59pm UTC](https://discourse.processing.org/t/what-is-the-right-term-for-this-task-blurring-or-edge-smoothing/1729 "2018-07-13T18:59:30Z")

</div>

I am new to image processing, so please bear with me for this basic question. I have done some searches but still not sure about the best keyword for finding more help. What I want to achieve is this: An image of wood …

---

## [Audio Problem with .app Processing](https://discourse.processing.org/t/audio-problem-with-app-processing/1741)

<div class="topic-metadata">

**Author:** [@KeremTurkyilmaz](https://discourse.processing.org/u/KeremTurkyilmaz)\
**Replies:** 2\
**Last updated:** [July 13, 2018, 5:06pm UTC](https://discourse.processing.org/t/audio-problem-with-app-processing/1741 "2018-07-13T17:06:04Z")

</div>

Hi Guys, I’m trying to make a native App for work, where people can drag the sound file into data folder and run the AudioWaveform.app. The problem is: When I launch for the first time the application it’s works, but …

---

## [Problems with width from class within class](https://discourse.processing.org/t/problems-with-width-from-class-within-class/1742)

<div class="topic-metadata">

**Author:** [@sensn](https://discourse.processing.org/u/sensn)\
**Replies:** 3\
**Last updated:** [July 13, 2018, 5:03pm UTC](https://discourse.processing.org/t/problems-with-width-from-class-within-class/1742 "2018-07-13T17:03:15Z")

</div>

Hello, I’m having problems with getting the correct value for screenwidth using width from a class within a class. I modified the example code that I found on this forum to illustrate the problem. If i call width from …

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

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