# Latest

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

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

**Page:** 566

---

## [Problem with jump function in GlVideo](https://discourse.processing.org/t/problem-with-jump-function-in-glvideo/5119)

<div class="topic-metadata">

**Author:** [@slow](https://discourse.processing.org/u/slow)\
**Replies:** 0\
**Last updated:** [November 2, 2018, 1:47pm UTC](https://discourse.processing.org/t/problem-with-jump-function-in-glvideo/5119 "2018-11-02T13:47:04Z")

</div>

Hi, I’m building a video player based on GlVideo (Ubunut Linux 16.04 Processing 3.4) and I encounter a problem with the video.jump(float) function. The video seems to strangely fall down to fixed positions (8,3s, 16,6s,…

---

## [Filling window with points](https://discourse.processing.org/t/filling-window-with-points/5108)

<div class="topic-metadata">

**Author:** [@techMatt](https://discourse.processing.org/u/techMatt)\
**Replies:** 2\
**Last updated:** [November 2, 2018, 11:15am UTC](https://discourse.processing.org/t/filling-window-with-points/5108 "2018-11-02T11:15:57Z")

</div>

Hello guys, i’m here with my first processing issue. I don’t know why this code doesn’t work. My purpose was filling the entire window with points but i don’t see no points at all. Why?:frowning\_face::frowning\_face: Thi…

---

## [Como usar p5.js en el ide de processing y cambiar el theme](https://discourse.processing.org/t/como-usar-p5-js-en-el-ide-de-processing-y-cambiar-el-theme/5059)

<div class="topic-metadata">

**Author:** [@hokuto](https://discourse.processing.org/u/hokuto)\
**Replies:** 3\
**Last updated:** [November 2, 2018, 10:24am UTC](https://discourse.processing.org/t/como-usar-p5-js-en-el-ide-de-processing-y-cambiar-el-theme/5059 "2018-11-02T10:24:11Z")

</div>

Hola de nuevo,me gustaria saber si puedo usar p5.js en en ide oficial de processing y si se puede agradeceria que me explicarais como hacerlo. La otra preguntas es,como puedo cambiar el tema de color blanco que trae pro…

---

## [Processing Community Day @ Sharjah](https://discourse.processing.org/t/processing-community-day-sharjah/5112)

<div class="topic-metadata">

**Author:** [@WakeMeAtThree](https://discourse.processing.org/u/WakeMeAtThree)\
**Replies:** 0\
**Last updated:** [November 2, 2018, 10:16am UTC](https://discourse.processing.org/t/processing-community-day-sharjah/5112 "2018-11-02T10:16:29Z")

</div>

Hello all! Processing Community Day will take place in Sharjah, United Arab Emirates at Fikra Campus on February 2nd, 2019. It will be co-organized by Salem Al Qassimi (Founder and Principal of Fikra), Eleanora Cervelle…

---

## [Particles moving away from center, how?](https://discourse.processing.org/t/particles-moving-away-from-center-how/5082)

<div class="topic-metadata">

**Author:** [@evievdm](https://discourse.processing.org/u/evievdm)\
**Replies:** 8\
**Last updated:** [November 2, 2018, 7:38am UTC](https://discourse.processing.org/t/particles-moving-away-from-center-how/5082 "2018-11-02T07:38:14Z")

</div>

Hello everyone! First of all, I am quite a newby to Processing and coding in general, so my code might not look very 'professional. I have created a program that has particles moving around. When the mouse is pressed,…

---

## [How to do serial without setting up new port?](https://discourse.processing.org/t/how-to-do-serial-without-setting-up-new-port/5076)

<div class="topic-metadata">

**Author:** [@GBry](https://discourse.processing.org/u/GBry)\
**Replies:** 4\
**Last updated:** [November 2, 2018, 5:29am UTC](https://discourse.processing.org/t/how-to-do-serial-without-setting-up-new-port/5076 "2018-11-02T05:29:43Z")

</div>

Hi, I’m trying to send a simple on/off command to Arduino, but the thing is, the serial port setup takes exactly 1561ms (so I had to add a delay of 1561 prior to sending the command) The question is, can I get one Proce…

---

## [Realtime 2D radiosity shader implementation](https://discourse.processing.org/t/realtime-2d-radiosity-shader-implementation/4257)

<div class="topic-metadata">

**Author:** [@solub](https://discourse.processing.org/u/solub)\
**Replies:** 4\
**Last updated:** [October 22, 2018, 9:31am UTC](https://discourse.processing.org/t/realtime-2d-radiosity-shader-implementation/4257 "2018-10-22T09:31:47Z")

</div>

Hi all, I was wondering if some of you could help me make this 2D radiosity shader work with Processing. By “work”, I mean being able: to apply the shader to basic shape primitives (rect, ellipse, triangle, arc) draw…

---

## [Conditional Logic - Simple Game Moves Manual?](https://discourse.processing.org/t/conditional-logic-simple-game-moves-manual/5004)

<div class="topic-metadata">

**Author:** [@mnoble](https://discourse.processing.org/u/mnoble)\
**Replies:** 5\
**Last updated:** [November 2, 2018, 3:46am UTC](https://discourse.processing.org/t/conditional-logic-simple-game-moves-manual/5004 "2018-11-02T03:46:45Z")

</div>

Hello Fellow Educators and All, I keep running into the same classroom project needs of rearranging conditions and variables to create new situations students want for simple games (no OOP or fancy stuff) - just the bas…

---

## [Serial Processing does not read or write anything to controller](https://discourse.processing.org/t/serial-processing-does-not-read-or-write-anything-to-controller/5094)

<div class="topic-metadata">

**Author:** [@vtrivedi](https://discourse.processing.org/u/vtrivedi)\
**Replies:** 2\
**Last updated:** [November 2, 2018, 3:36am UTC](https://discourse.processing.org/t/serial-processing-does-not-read-or-write-anything-to-controller/5094 "2018-11-02T03:36:37Z")

</div>

Hi Team, I have written a processing software for the first time for my project. The concept is to read data from and write commands to pulser controller over the serial port. However, even though I see the COM port g…

---

## [How should I structure the Main loop for my game?](https://discourse.processing.org/t/how-should-i-structure-the-main-loop-for-my-game/5009)

<div class="topic-metadata">

**Author:** [@Angle](https://discourse.processing.org/u/Angle)\
**Replies:** 4\
**Last updated:** [November 1, 2018, 11:23pm UTC](https://discourse.processing.org/t/how-should-i-structure-the-main-loop-for-my-game/5009 "2018-11-01T23:23:16Z")

</div>

Should I just use the draw() method from processing? Or should I use noLoop() and write my own main loop code instead? I want to implement dt (deltaTime, used to keep gameplay smooth) and all that jazz, so it seems like …

---

## [Black Box Behind Letters (how to eliminate)](https://discourse.processing.org/t/black-box-behind-letters-how-to-eliminate/5043)

<div class="topic-metadata">

**Author:** [@sirianth](https://discourse.processing.org/u/sirianth)\
**Replies:** 8\
**Last updated:** [November 1, 2018, 11:13pm UTC](https://discourse.processing.org/t/black-box-behind-letters-how-to-eliminate/5043 "2018-11-01T23:13:11Z")

</div>

I have some black boxes behind my text. What causes this and how do I elminate it? I can past my code, but my code is really long…

---

## [Changing stroke colour using recursion](https://discourse.processing.org/t/changing-stroke-colour-using-recursion/4951)

<div class="topic-metadata">

**Author:** [@greg500](https://discourse.processing.org/u/greg500)\
**Replies:** 9\
**Last updated:** [November 1, 2018, 10:51pm UTC](https://discourse.processing.org/t/changing-stroke-colour-using-recursion/4951 "2018-11-01T22:51:38Z")

</div>

I am struggling with the error of which throw me once I am trying to recursively change a colour. The error is: “Uncaught TypeError Cannot read property ‘map’ of undefined (sketch: line 18)” and reference to this piece o…

---

## [How to turn this code into a simple loop?](https://discourse.processing.org/t/how-to-turn-this-code-into-a-simple-loop/5098)

<div class="topic-metadata">

**Author:** [@rollbon](https://discourse.processing.org/u/rollbon)\
**Replies:** 1\
**Last updated:** [November 1, 2018, 10:27pm UTC](https://discourse.processing.org/t/how-to-turn-this-code-into-a-simple-loop/5098 "2018-11-01T22:27:08Z")

</div>

How can I turn this code into a simple loop using ‘for’ command? The first circle is the smallest circle, each circle, fill subtracts 30 and size grows by 10. The x and y stay the same. void setup(){ size(500, 500); …

---

## [NullPointerException](https://discourse.processing.org/t/nullpointerexception/5079)

<div class="topic-metadata">

**Author:** [@rohmat](https://discourse.processing.org/u/rohmat)\
**Replies:** 20\
**Last updated:** [November 1, 2018, 9:05pm UTC](https://discourse.processing.org/t/nullpointerexception/5079 "2018-11-01T21:05:21Z")

</div>

when i run my program, the message error say NullPointed Exception. could someone help me to fix my program? I’m still beginer with Processing Benda\[\] bola = new Benda\[20\]; color warna; PVector gravitasi; PVector angi…

---

## [Centered dot not centered?!](https://discourse.processing.org/t/centered-dot-not-centered/5077)

<div class="topic-metadata">

**Author:** [@dtmr](https://discourse.processing.org/u/dtmr)\
**Replies:** 11\
**Last updated:** [November 1, 2018, 8:37pm UTC](https://discourse.processing.org/t/centered-dot-not-centered/5077 "2018-11-01T20:37:11Z")

</div>

The code below renders rectangular checkboxes: Dots centered in frames. I think the code should produce a symmetrical result (prefectly centered dot; equal distance between frame and dot on all sides) but it doesn’t: T…

---

## [Not sure how to code this Random/shuffling image effect](https://discourse.processing.org/t/not-sure-how-to-code-this-random-shuffling-image-effect/5073)

<div class="topic-metadata">

**Author:** [@Damo](https://discourse.processing.org/u/Damo)\
**Replies:** 4\
**Last updated:** [November 1, 2018, 7:39pm UTC](https://discourse.processing.org/t/not-sure-how-to-code-this-random-shuffling-image-effect/5073 "2018-11-01T19:39:21Z")

</div>

I want to code a random shuffling array of images, where each square pulls from a separate folder of images and every time it refreshes its another random array of images. I’m not sure how difficult this is any help …

---

## [Automatically scraping images/text/content from a website and posting them to Tumblr?](https://discourse.processing.org/t/automatically-scraping-images-text-content-from-a-website-and-posting-them-to-tumblr/5036)

<div class="topic-metadata">

**Author:** [@snacks](https://discourse.processing.org/u/snacks)\
**Replies:** 2\
**Last updated:** [November 1, 2018, 5:44pm UTC](https://discourse.processing.org/t/automatically-scraping-images-text-content-from-a-website-and-posting-them-to-tumblr/5036 "2018-11-01T17:44:59Z")

</div>

Hi all, I’m new to Javascript and to programming code in general. I’m wondering if there’s a way to automatically collect random images and text from a url, and then automatically posting them to a site like Tumblr or Wo…

---

## [STOP the explosion](https://discourse.processing.org/t/stop-the-explosion/5071)

<div class="topic-metadata">

**Author:** [@kornFusion](https://discourse.processing.org/u/kornFusion)\
**Replies:** 4\
**Last updated:** [November 1, 2018, 5:36pm UTC](https://discourse.processing.org/t/stop-the-explosion/5071 "2018-11-01T17:36:43Z")

</div>

Hey Guys, I have the following code which I want to stop the particles before they leave the screen… So I dont know how to stop them near the edges of the screen… Please advice… Thanks Particle \[\] pickles = new Part…

---

## [Arc radius uglyness](https://discourse.processing.org/t/arc-radius-uglyness/4999)

<div class="topic-metadata">

**Author:** [@kll](https://discourse.processing.org/u/kll)\
**Replies:** 3\
**Last updated:** [November 1, 2018, 5:21pm UTC](https://discourse.processing.org/t/arc-radius-uglyness/4999 "2018-11-01T17:21:02Z")

</div>

in my arc i see a radial pixel jump, ( processing 3.4 , win7 ) any trick to avoid that? int m = 150, r = 200; float w =TAU/60; void setup() { size(300, 300); noFill(); strokeWeight(3); } void draw() { backgro…

---

## [What's the right approach to draw in / overlay PGraphics with transparency?](https://discourse.processing.org/t/whats-the-right-approach-to-draw-in-overlay-pgraphics-with-transparency/5060)

<div class="topic-metadata">

**Author:** [@hamoid](https://discourse.processing.org/u/hamoid)\
**Replies:** 4\
**Last updated:** [November 1, 2018, 2:11pm UTC](https://discourse.processing.org/t/whats-the-right-approach-to-draw-in-overlay-pgraphics-with-transparency/5060 "2018-11-01T14:11:50Z")

</div>

Hi! What would be the right way to have multiple PGraphics with transparency and draw them on top of each other to avoid tinting? I’ll try to show the issue with some images and code: PGraphics pg; int mode = 0; …

---

## [Does changing colorMode affect performance?](https://discourse.processing.org/t/does-changing-colormode-affect-performance/5032)

<div class="topic-metadata">

**Author:** [@inersha](https://discourse.processing.org/u/inersha)\
**Replies:** 9\
**Last updated:** [November 1, 2018, 9:47am UTC](https://discourse.processing.org/t/does-changing-colormode-affect-performance/5032 "2018-11-01T09:47:13Z")

</div>

Hello there! Does changing colorMode() from RGB to HSB affect performance in any way? In other words, does it require more processing power to convert everything back to RGB if you switch to using HSB? I’ve switched to…

---

## [Trying to turn static collage image into animation](https://discourse.processing.org/t/trying-to-turn-static-collage-image-into-animation/5066)

<div class="topic-metadata">

**Author:** [@chisholmem](https://discourse.processing.org/u/chisholmem)\
**Replies:** 1\
**Last updated:** [November 1, 2018, 4:15am UTC](https://discourse.processing.org/t/trying-to-turn-static-collage-image-into-animation/5066 "2018-11-01T04:15:32Z")

</div>

Hi there, I am new to processing and trying to figure out an assignment for class. I am currently trying to figure out how to incorporate millis() into this code, to scale/descale the images I have and to add a colored s…

---

## [Issue with loading images](https://discourse.processing.org/t/issue-with-loading-images/5061)

<div class="topic-metadata">

**Author:** [@Quillbert1](https://discourse.processing.org/u/Quillbert1)\
**Replies:** 9\
**Last updated:** [November 1, 2018, 3:05am UTC](https://discourse.processing.org/t/issue-with-loading-images/5061 "2018-11-01T03:05:12Z")

</div>

When I run this program with the editor, it works fine. But when I download the files and try to use Chrome to run the program, it just says “Loading…” but it never loads. It works fine in other browsers. https://editor…

---

## [quadraticVertex function not working properly](https://discourse.processing.org/t/quadraticvertex-function-not-working-properly/4938)

<div class="topic-metadata">

**Author:** [@cbroney](https://discourse.processing.org/u/cbroney)\
**Replies:** 6\
**Last updated:** [November 1, 2018, 1:59am UTC](https://discourse.processing.org/t/quadraticvertex-function-not-working-properly/4938 "2018-11-01T01:59:45Z")

</div>

when I load this shape i created it doesnt draw with the curves unless I remove the “b1” from each line. can someone please tell me why PShape b1; PShape b2; PShape b3; void setup() { size(1600,1200); background(25…

---

## [Dimension of the display window](https://discourse.processing.org/t/dimension-of-the-display-window/5063)

<div class="topic-metadata">

**Author:** [@ACT](https://discourse.processing.org/u/ACT)\
**Replies:** 4\
**Last updated:** [November 1, 2018, 1:28am UTC](https://discourse.processing.org/t/dimension-of-the-display-window/5063 "2018-11-01T01:28:18Z")

</div>

What are the sizes of the window display?

---

## [Help with a computer science 10 "Red Square" assignment](https://discourse.processing.org/t/help-with-a-computer-science-10-red-square-assignment/5008)

<div class="topic-metadata">

**Author:** [@zstrei](https://discourse.processing.org/u/zstrei)\
**Replies:** 16\
**Last updated:** [November 1, 2018, 1:22am UTC](https://discourse.processing.org/t/help-with-a-computer-science-10-red-square-assignment/5008 "2018-11-01T01:22:55Z")

</div>

I have to create a game similar to the game in the link provided below. http://www.hypedup.co.uk/games/redsquare.html I am only in Grade Ten, so it doesn’t need to be fancy or with any hard code. The Marking rubric is …

---

## [Arduino, Adafruit board help](https://discourse.processing.org/t/arduino-adafruit-board-help/4964)

<div class="topic-metadata">

**Author:** [@tefa](https://discourse.processing.org/u/tefa)\
**Replies:** 2\
**Last updated:** [November 1, 2018, 1:16am UTC](https://discourse.processing.org/t/arduino-adafruit-board-help/4964 "2018-11-01T01:16:31Z")

</div>

Hello dear processors, so I have bought this pulse-room kit. I followed all the steps that appear here and when I verify the code an error appears that says : invalid conversion from ‘void ()(tc\_module)’ to ‘void (\*)()’ …

---

## [Using Millis() to scale an animation](https://discourse.processing.org/t/using-millis-to-scale-an-animation/5064)

<div class="topic-metadata">

**Author:** [@chisholmem](https://discourse.processing.org/u/chisholmem)\
**Replies:** 1\
**Last updated:** [November 1, 2018, 12:59am UTC](https://discourse.processing.org/t/using-millis-to-scale-an-animation/5064 "2018-11-01T00:59:55Z")

</div>

I’m really confused as to how I can add millis() to animation I’ve already made. If you run the code I have below, it shows yellow stars on a blue background, moving from side to side. What I want to do is to change it i…

---

## [Help a newbie with polymorphic particles](https://discourse.processing.org/t/help-a-newbie-with-polymorphic-particles/5068)

<div class="topic-metadata">

**Author:** [@jbr123](https://discourse.processing.org/u/jbr123)\
**Replies:** 5\
**Last updated:** [November 1, 2018, 12:40am UTC](https://discourse.processing.org/t/help-a-newbie-with-polymorphic-particles/5068 "2018-11-01T00:40:01Z")

</div>

Hi there, I am working on a university project with processing. This is a first time for me, so bear with me… We are creating a particle system (of sorts) that will eventually trigger sounds etc. The code I have attache…

---

## [RSS Feed to print through receipt printer](https://discourse.processing.org/t/rss-feed-to-print-through-receipt-printer/4945)

<div class="topic-metadata">

**Author:** [@Lili](https://discourse.processing.org/u/Lili)\
**Replies:** 2\
**Last updated:** [October 31, 2018, 10:54pm UTC](https://discourse.processing.org/t/rss-feed-to-print-through-receipt-printer/4945 "2018-10-31T22:54:47Z")

</div>

Hi! I’m very new to Processing and coding but I’m trying to print the content of an RSS Feed to print through a receipt/ thermal printer. I can print text through the MyPort.Write function but it’d be great if it would …

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

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