# Latest

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

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

**Page:** 149

---

## [How to make this rotating square reverse direction](https://discourse.processing.org/t/how-to-make-this-rotating-square-reverse-direction/35957)

<div class="topic-metadata">

**Author:** [@Hasse](https://discourse.processing.org/u/Hasse)\
**Replies:** 1\
**Last updated:** [March 26, 2022, 11:01pm UTC](https://discourse.processing.org/t/how-to-make-this-rotating-square-reverse-direction/35957 "2022-03-26T23:01:01Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hello! I’m quite new to this so this is probably really easy but I’ve made this rotating square that I want to, after having completed a certain…

---

## [Random functionality with SVG PShapes](https://discourse.processing.org/t/random-functionality-with-svg-pshapes/35950)

<div class="topic-metadata">

**Author:** [@MrGrizzler](https://discourse.processing.org/u/MrGrizzler)\
**Replies:** 1\
**Last updated:** [March 26, 2022, 11:43am UTC](https://discourse.processing.org/t/random-functionality-with-svg-pshapes/35950 "2022-03-26T11:43:48Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hi all, I’m trying to import multiple SVG objects and display these at random locations, random scales, also using random colours from a defined…

---

## [Latest Processing works well with Picrate](https://discourse.processing.org/t/latest-processing-works-well-with-picrate/35947)

<div class="topic-metadata">

**Author:** [@monkstone](https://discourse.processing.org/u/monkstone)\
**Replies:** 0\
**Last updated:** [March 26, 2022, 7:36am UTC](https://discourse.processing.org/t/latest-processing-works-well-with-picrate/35947 "2022-03-26T07:36:45Z")

</div>

Just tested latest processing with Picrate and a version of #jruby that claims to support M1 processor on #Mac.

---

## ['NoClassDefFoundError: com/sun/jna/Library' error with kinect v1](https://discourse.processing.org/t/noclassdeffounderror-com-sun-jna-library-error-with-kinect-v1/32167)

<div class="topic-metadata">

**Author:** [@weiterlee](https://discourse.processing.org/u/weiterlee)\
**Replies:** 3\
**Last updated:** [March 26, 2022, 9:16am UTC](https://discourse.processing.org/t/noclassdeffounderror-com-sun-jna-library-error-with-kinect-v1/32167 "2022-03-26T09:16:50Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hi, I’m using processing 4.0b1 and trying to use kinect v1 in processing. I’ve downloaded ‘Open Kinect for Processing’ Library by Daniel Shiffm…

---

## [How to output UTF8 character on screen?](https://discourse.processing.org/t/how-to-output-utf8-character-on-screen/35944)

<div class="topic-metadata">

**Author:** [@bigboss97](https://discourse.processing.org/u/bigboss97)\
**Replies:** 2\
**Last updated:** [March 26, 2022, 6:33am UTC](https://discourse.processing.org/t/how-to-output-utf8-character-on-screen/35944 "2022-03-26T06:33:52Z")

</div>

I’m using Processing 3.5.4 on Windows 10. I managed to read a UTF8 file name and write it to a text file. But when I tried to use text() command to show it on screen I only saw some squares. Also, when I tried to put s…

---

## [How can I translate this to javascript? I have tried several times but it confuses me](https://discourse.processing.org/t/how-can-i-translate-this-to-javascript-i-have-tried-several-times-but-it-confuses-me/35942)

<div class="topic-metadata">

**Author:** [@VassKenn](https://discourse.processing.org/u/VassKenn)\
**Replies:** 1\
**Last updated:** [March 26, 2022, 2:23am UTC](https://discourse.processing.org/t/how-can-i-translate-this-to-javascript-i-have-tried-several-times-but-it-confuses-me/35942 "2022-03-26T02:23:59Z")

</div>

Write a method that prompts the user for 3 different integers and display on the screen on a single line, separated by commas. If one of the values is repeated, show only the repeated value.

---

## [Como puedo pasar esto a javascript? me confunde bastante](https://discourse.processing.org/t/como-puedo-pasar-esto-a-javascript-me-confunde-bastante/35941)

<div class="topic-metadata">

**Author:** [@VassKenn](https://discourse.processing.org/u/VassKenn)\
**Replies:** 0\
**Last updated:** [March 26, 2022, 1:32am UTC](https://discourse.processing.org/t/como-puedo-pasar-esto-a-javascript-me-confunde-bastante/35941 "2022-03-26T01:32:54Z")

</div>

Escribir un método que solicite al usuario 3 números enteros diferentes y los muestre en pantalla en una sóla línea, separados con comas. Si uno de los valores se repite, mostrar solamente el valor repetido.

---

## [Issue with using PrintStream](https://discourse.processing.org/t/issue-with-using-printstream/35901)

<div class="topic-metadata">

**Author:** [@plantagenet](https://discourse.processing.org/u/plantagenet)\
**Replies:** 1\
**Last updated:** [March 25, 2022, 11:12pm UTC](https://discourse.processing.org/t/issue-with-using-printstream/35901 "2022-03-25T23:12:53Z")

</div>

I am trying to create a print stream class and store the errors/console in there, so when errors pop up they are stored in the printstream. This is because I want to send any errors to a server when they appear. I have …

---

## [Nowadays, p5.js website is supported by which Java version?](https://discourse.processing.org/t/nowadays-p5-js-website-is-supported-by-which-java-version/35908)

<div class="topic-metadata">

**Author:** [@dikshashukla455](https://discourse.processing.org/u/dikshashukla455)\
**Replies:** 5\
**Last updated:** [March 25, 2022, 7:29pm UTC](https://discourse.processing.org/t/nowadays-p5-js-website-is-supported-by-which-java-version/35908 "2022-03-25T19:29:52Z")

</div>

Hello everyone, This is Diksha shukla. I am a front-end developer and programmer. I am excited to contribute to the processing foundation. I was started to contribute to the p5.js website but got stuck in the setup part…

---

## [Self Compiling and changing code](https://discourse.processing.org/t/self-compiling-and-changing-code/35931)

<div class="topic-metadata">

**Author:** [@Skys](https://discourse.processing.org/u/Skys)\
**Replies:** 0\
**Last updated:** [March 25, 2022, 3:22am UTC](https://discourse.processing.org/t/self-compiling-and-changing-code/35931 "2022-03-25T03:22:04Z")

</div>

i heard a software i not able to compile her by self. i tryd it. https://xqskys.de/CircaLogic3.zip it do not much it creates a clone pde with some changes starts the clone via cmd processing-java end her self the …

---

## [Getting null pointer exception error in class using PVector](https://discourse.processing.org/t/getting-null-pointer-exception-error-in-class-using-pvector/35932)

<div class="topic-metadata">

**Author:** [@animanoir](https://discourse.processing.org/u/animanoir)\
**Replies:** 3\
**Last updated:** [March 25, 2022, 5:49am UTC](https://discourse.processing.org/t/getting-null-pointer-exception-error-in-class-using-pvector/35932 "2022-03-25T05:49:29Z")

</div>

I don’t understand why I’m getting NPE error. Processing points me to: Walker(PVector \_location) { location.set(\_location); } Here is all my code: PVector location; PVector velocity; Walker walker1; void set…

---

## [Store the console/error log of the Processing IDE](https://discourse.processing.org/t/store-the-console-error-log-of-the-processing-ide/35918)

<div class="topic-metadata">

**Author:** [@plantagenet](https://discourse.processing.org/u/plantagenet)\
**Replies:** 3\
**Last updated:** [March 24, 2022, 4:39pm UTC](https://discourse.processing.org/t/store-the-console-error-log-of-the-processing-ide/35918 "2022-03-24T16:39:41Z")

</div>

I am trying to store the console to store errors when they occur in processing ide. I am making a custom library and using eclipse to make it. I was trying to use print streams to and store errors messages in them. Which…

---

## [Copy() bug, pixel bleeding lower half of the screen](https://discourse.processing.org/t/copy-bug-pixel-bleeding-lower-half-of-the-screen/35917)

<div class="topic-metadata">

**Author:** [@rroarrg](https://discourse.processing.org/u/rroarrg)\
**Replies:** 1\
**Last updated:** [March 24, 2022, 10:57pm UTC](https://discourse.processing.org/t/copy-bug-pixel-bleeding-lower-half-of-the-screen/35917 "2022-03-24T22:57:17Z")

</div>

Hi, i’m trying to make some analog-like video feedback effects using the copy() function. copy(sx, sy, sw, sh, dx, dy, dw, dh) s=source, d=destination When copying the screen and scaling it by some pixels, making a s…

---

## [Writing to a txt file from library in Processing](https://discourse.processing.org/t/writing-to-a-txt-file-from-library-in-processing/35927)

<div class="topic-metadata">

**Author:** [@plantagenet](https://discourse.processing.org/u/plantagenet)\
**Replies:** 1\
**Last updated:** [March 24, 2022, 3:48pm UTC](https://discourse.processing.org/t/writing-to-a-txt-file-from-library-in-processing/35927 "2022-03-24T15:48:46Z")

</div>

I am creating a custom library for processing, and I am trying to create a txt file to store some basic txt. In eclipse I have been using: PrintWriter writer = new PrintWriter("storage.txt", "UTF-8"); writer.println("S…

---

## [Alternative to background()](https://discourse.processing.org/t/alternative-to-background/35923)

<div class="topic-metadata">

**Author:** [@Raul](https://discourse.processing.org/u/Raul)\
**Replies:** 0\
**Last updated:** [March 24, 2022, 2:11pm UTC](https://discourse.processing.org/t/alternative-to-background/35923 "2022-03-24T14:11:14Z")

</div>

Hi there, It would be long to explain, but I can’t use background() in my sketch (something related with P3D sketches whose windows are bigger than your display). So, I though this code would do the same as background(…

---

## [Access to a class variable](https://discourse.processing.org/t/access-to-a-class-variable/35883)

<div class="topic-metadata">

**Author:** [@Cthulhu](https://discourse.processing.org/u/Cthulhu)\
**Replies:** 1\
**Last updated:** [March 24, 2022, 1:23pm UTC](https://discourse.processing.org/t/access-to-a-class-variable/35883 "2022-03-24T13:23:10Z")

</div>

Hello, I want to acess to a class variable but I can´t. How do I do it? \</if (dist(xpos,ypos,balls.xpost,balls.ypost)\<=0){ } Class name is Ball

---

## [Can’t find the Syphon in the library 😭](https://discourse.processing.org/t/can-t-find-the-syphon-in-the-library/35871)

<div class="topic-metadata">

**Author:** [@ZenyonLee](https://discourse.processing.org/u/ZenyonLee)\
**Replies:** 1\
**Last updated:** [March 24, 2022, 11:58am UTC](https://discourse.processing.org/t/can-t-find-the-syphon-in-the-library/35871 "2022-03-24T11:58:29Z")

</div>

My processing version is 3.5.4. I can find other libraries, but I don’t know why I can’t see the syphon

---

## [Idea for subclassing java.awt.Paint in order to use a sketch as a raster implementation of the pure Java Paint class](https://discourse.processing.org/t/idea-for-subclassing-java-awt-paint-in-order-to-use-a-sketch-as-a-raster-implementation-of-the-pure-java-paint-class/35807)

<div class="topic-metadata">

**Author:** [@istinn](https://discourse.processing.org/u/istinn)\
**Replies:** 0\
**Last updated:** [March 18, 2022, 1:35am UTC](https://discourse.processing.org/t/idea-for-subclassing-java-awt-paint-in-order-to-use-a-sketch-as-a-raster-implementation-of-the-pure-java-paint-class/35807 "2022-03-18T01:35:34Z")

</div>

I would like to make some notes and expose an idea about the possible use of the paint java class along side with processing. The idea is to create a “new java class that implements Paint” and use it as a graphics2d cap…

---

## [Help with Using Processing 4 on Raspberry Pi 4](https://discourse.processing.org/t/help-with-using-processing-4-on-raspberry-pi-4/35885)

<div class="topic-metadata">

**Author:** [@rdcmole](https://discourse.processing.org/u/rdcmole)\
**Replies:** 3\
**Last updated:** [March 23, 2022, 10:11pm UTC](https://discourse.processing.org/t/help-with-using-processing-4-on-raspberry-pi-4/35885 "2022-03-23T22:11:39Z")

</div>

I have used Processing running on Windows to develop a digital version of one of my wooden skeleton clocks (www.CedarClocks.com). It works beautifully. My goal is to create a stand-alone digital clock that runs alongsi…

---

## [Proce55ing graphics don't last longer than a blink](https://discourse.processing.org/t/proce55ing-graphics-dont-last-longer-than-a-blink/35857)

<div class="topic-metadata">

**Author:** [@Nomamesse](https://discourse.processing.org/u/Nomamesse)\
**Replies:** 8\
**Last updated:** [March 23, 2022, 9:58pm UTC](https://discourse.processing.org/t/proce55ing-graphics-dont-last-longer-than-a-blink/35857 "2022-03-23T21:58:20Z")

</div>

Hi everyone, here’s a small code that I’ve tried on Python with Processing vizualisation. #coding:utf-8 from turtle import \* forward(100) shape('turtle') My problem is that vizualisation lasts shorter than a blink of …

---

## [Chromakey with shadertoy example](https://discourse.processing.org/t/chromakey-with-shadertoy-example/17378)

<div class="topic-metadata">

**Author:** [@hbarone](https://discourse.processing.org/u/hbarone)\
**Replies:** 1\
**Last updated:** [March 23, 2022, 4:42pm UTC](https://discourse.processing.org/t/chromakey-with-shadertoy-example/17378 "2022-03-23T16:42:13Z")

</div>

I’m try to addapt the shadertoy chromakey example to p5 with webcam as video source. After many time reading documentations of shaders my code seems not working. I need some help ShaderToy Chroma Key My test

---

## [Anyone encounter the issue with fullScreen(); not span across all monitor in Pde4?](https://discourse.processing.org/t/anyone-encounter-the-issue-with-fullscreen-not-span-across-all-monitor-in-pde4/35909)

<div class="topic-metadata">

**Author:** [@teemee](https://discourse.processing.org/u/teemee)\
**Replies:** 0\
**Last updated:** [March 23, 2022, 2:48pm UTC](https://discourse.processing.org/t/anyone-encounter-the-issue-with-fullscreen-not-span-across-all-monitor-in-pde4/35909 "2022-03-23T14:48:25Z")

</div>

I’m working on Pde 4 and my Macbook Pro is Catalina 10.15.7 I found that the basic SPAN tutorial does not work for me int x = 0; void setup() { fullScreen(P2D, SPAN); background(0); noStroke(); fill(102); } v…

---

## [Local network - animate text on remote machine](https://discourse.processing.org/t/local-network-animate-text-on-remote-machine/35388)

<div class="topic-metadata">

**Author:** [@petemanzel](https://discourse.processing.org/u/petemanzel)\
**Replies:** 1\
**Last updated:** [March 23, 2022, 9:14am UTC](https://discourse.processing.org/t/local-network-animate-text-on-remote-machine/35388 "2022-03-23T09:14:24Z")

</div>

Hello, i would like to setup two raspberry pis connected over ethernet via a switch. On the first one i would like to have a localy running website with a text input field and a submit button. I would like to save the…

---

## [Array Index Out of Bounds Exception when Inserting an image](https://discourse.processing.org/t/array-index-out-of-bounds-exception-when-inserting-an-image/35881)

<div class="topic-metadata">

**Author:** [@gameworn](https://discourse.processing.org/u/gameworn)\
**Replies:** 12\
**Last updated:** [March 23, 2022, 7:58am UTC](https://discourse.processing.org/t/array-index-out-of-bounds-exception-when-inserting-an-image/35881 "2022-03-23T07:58:59Z")

</div>

Hi to all So I messed up the first step being, trying to get my code in a readable format. I saw the link to Processing.js Template, but had no idea what to do with it once my code was in there. Then there was the oppor…

---

## [Draw a dotted line with the mouse using if statements](https://discourse.processing.org/t/draw-a-dotted-line-with-the-mouse-using-if-statements/35888)

<div class="topic-metadata">

**Author:** [@onyx88](https://discourse.processing.org/u/onyx88)\
**Replies:** 9\
**Last updated:** [March 23, 2022, 12:34am UTC](https://discourse.processing.org/t/draw-a-dotted-line-with-the-mouse-using-if-statements/35888 "2022-03-23T00:34:13Z")

</div>

Hi everyone im a beginner and im not sure how to approach this question. The hint part of the question is confusing me and everything ive tried hasn’t given me a dotted line. Does it want us to draw two different line…

---

## [Can someone help by making my code into a SVG file?](https://discourse.processing.org/t/can-someone-help-by-making-my-code-into-a-svg-file/35874)

<div class="topic-metadata">

**Author:** [@C.J](https://discourse.processing.org/u/C.J)\
**Replies:** 1\
**Last updated:** [March 21, 2022, 10:18am UTC](https://discourse.processing.org/t/can-someone-help-by-making-my-code-into-a-svg-file/35874 "2022-03-21T10:18:20Z")

</div>

Hey! I’m a student CS at a Highschool in the Netherlands and I need some help. I’ve been making a code but I can’t seem to make it into a SVG file. Could someone help me with that? Here’s the code: //code made by C.J …

---

## [Audio Visualizer with multiple midi channels](https://discourse.processing.org/t/audio-visualizer-with-multiple-midi-channels/35898)

<div class="topic-metadata">

**Author:** [@Douix](https://discourse.processing.org/u/Douix)\
**Replies:** 0\
**Last updated:** [March 22, 2022, 6:55pm UTC](https://discourse.processing.org/t/audio-visualizer-with-multiple-midi-channels/35898 "2022-03-22T18:55:22Z")

</div>

Hi everyone, I’m a beginner with Processing and I lack the vocabulary of coding, but I challenged myself to create an audio viewer from .midi files that would give graphic renderings on different levels according to the…

---

## [Discussions about GSoC '22](https://discourse.processing.org/t/discussions-about-gsoc-22/35528)

<div class="topic-metadata">

**Author:** [@anirudhlakhotia](https://discourse.processing.org/u/anirudhlakhotia)\
**Replies:** 3\
**Last updated:** [March 22, 2022, 7:06am UTC](https://discourse.processing.org/t/discussions-about-gsoc-22/35528 "2022-03-22T07:06:50Z")

</div>

I came across the project list, and I loved a few ideas. How do I get in touch with a mentor, and discuss their view on the project, and learn more about their expectations and requirements?

---

## [Virtual Juggling animation web app with remote control to change colours - P5.js with Flask back end](https://discourse.processing.org/t/virtual-juggling-animation-web-app-with-remote-control-to-change-colours-p5-js-with-flask-back-end/35890)

<div class="topic-metadata">

**Author:** [@tomjuggler](https://discourse.processing.org/u/tomjuggler)\
**Replies:** 0\
**Last updated:** [March 22, 2022, 8:59am UTC](https://discourse.processing.org/t/virtual-juggling-animation-web-app-with-remote-control-to-change-colours-p5-js-with-flask-back-end/35890 "2022-03-22T08:59:11Z")

</div>

Choose your juggling pattern and press the remote buttons to change the colours. Emulation of real-life K8 juggling equipment. Web app (Flask back-end, P5.js front end) http://k8.circusscientist.com/ Blog post: https…

---

## [Discussion regarding "Native Python and Processing" GSoC 2022 Idea](https://discourse.processing.org/t/discussion-regarding-native-python-and-processing-gsoc-2022-idea/35876)

<div class="topic-metadata">

**Author:** [@Geeky](https://discourse.processing.org/u/Geeky)\
**Replies:** 1\
**Last updated:** [March 22, 2022, 7:27am UTC](https://discourse.processing.org/t/discussion-regarding-native-python-and-processing-gsoc-2022-idea/35876 "2022-03-22T07:27:42Z")

</div>

Hi everyone, I’m a junior computer graphics and research engineer. With gsoc 2022 giving a chance to non-student developers to get connected with open source communities, I want to contribute to Processing Foundation an…

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

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