# Latest

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

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

**Page:** 336

---

## [Need help to make very simple game](https://discourse.processing.org/t/need-help-to-make-very-simple-game/21857)

<div class="topic-metadata">

**Author:** [@malik2712](https://discourse.processing.org/u/malik2712)\
**Replies:** 5\
**Last updated:** [June 14, 2020, 3:18pm UTC](https://discourse.processing.org/t/need-help-to-make-very-simple-game/21857 "2020-06-14T15:18:18Z")

</div>

please format code with \</\> button \* homework policy \* asking questions I just need code made to run that game in processing It’s for an assessment due tomorrow I need to make a little game in the coding app processi…

---

## [FrameBuffer - draw directly to PImage or Texture](https://discourse.processing.org/t/framebuffer-draw-directly-to-pimage-or-texture/21864)

<div class="topic-metadata">

**Author:** [@mgood7123](https://discourse.processing.org/u/mgood7123)\
**Replies:** 0\
**Last updated:** [June 14, 2020, 1:13pm UTC](https://discourse.processing.org/t/framebuffer-draw-directly-to-pimage-or-texture/21864 "2020-06-14T13:13:25Z")

</div>

how would i set up a FrameBuffer such that, i can draw directly to some Texture or PImage and then immediatly image that to my screen for example PGraphics g2; void settings() { size(400, 400, P3D); } void setup() …

---

## [Possible bug in GTextField.isValid()? (G4P library)](https://discourse.processing.org/t/possible-bug-in-gtextfield-isvalid-g4p-library/21841)

<div class="topic-metadata">

**Author:** [@David](https://discourse.processing.org/u/David)\
**Replies:** 5\
**Last updated:** [June 14, 2020, 11:38am UTC](https://discourse.processing.org/t/possible-bug-in-gtextfield-isvalid-g4p-library/21841 "2020-06-14T11:38:41Z")

</div>

This seems to be a bug, although maybe it’s just a misunderstanding on my part. I’m initializing a text field with “0” and calling ‘setNumeric(0,16,0)’ to limit the range between 0 and 16, with a default of 0. If I just …

---

## [PGraphicsOpenGL - how to read from the framebuffer](https://discourse.processing.org/t/pgraphicsopengl-how-to-read-from-the-framebuffer/21842)

<div class="topic-metadata">

**Author:** [@mgood7123](https://discourse.processing.org/u/mgood7123)\
**Replies:** 0\
**Last updated:** [June 13, 2020, 2:45pm UTC](https://discourse.processing.org/t/pgraphicsopengl-how-to-read-from-the-framebuffer/21842 "2020-06-13T14:45:53Z")

</div>

how would i go about reading the FrameBuffer that PGraphics uses for rendering to AFTER beginDraw(); and BEFORE \`endDraw()’ as my goal is to only call beginDraw() ONCE during setup, then read LIVE pixel data in onDraw()…

---

## [Bringing a Geomerative Library 3D Text Sketch Up to Date](https://discourse.processing.org/t/bringing-a-geomerative-library-3d-text-sketch-up-to-date/21860)

<div class="topic-metadata">

**Author:** [@monkstone](https://discourse.processing.org/u/monkstone)\
**Replies:** 0\
**Last updated:** [June 14, 2020, 9:45am UTC](https://discourse.processing.org/t/bringing-a-geomerative-library-3d-text-sketch-up-to-date/21860 "2020-06-14T09:45:15Z")

</div>

There was a question in the forum about creating 3D text in processing, I found this sketch on Open Processing it needed some hacking to get it to work. But I wasn’t happy with the sketch because I hate indexing arrays.…

---

## [I have a problem with the menu of my game](https://discourse.processing.org/t/i-have-a-problem-with-the-menu-of-my-game/21826)

<div class="topic-metadata">

**Author:** [@OohYuma](https://discourse.processing.org/u/OohYuma)\
**Replies:** 5\
**Last updated:** [June 14, 2020, 9:29am UTC](https://discourse.processing.org/t/i-have-a-problem-with-the-menu-of-my-game/21826 "2020-06-14T09:29:29Z")

</div>

Hi guys, I’m a beginner with processing and others languages. I started to do a Snake game for my exam but I have a problem with my code. When I’m in the menu, I can select to play (pic.1) or to go in the setting(pic.2) …

---

## [How to control layers when exporting an SVG](https://discourse.processing.org/t/how-to-control-layers-when-exporting-an-svg/21758)

<div class="topic-metadata">

**Author:** [@slashwreck](https://discourse.processing.org/u/slashwreck)\
**Replies:** 6\
**Last updated:** [June 14, 2020, 1:05am UTC](https://discourse.processing.org/t/how-to-control-layers-when-exporting-an-svg/21758 "2020-06-14T01:05:43Z")

</div>

I export an SVG from Processing, load into Inkscape, and then send to my AxiDraw. I would like to separate the image into three separate layers, RGB, or CMY in the exported SVG. This will allow me to print different …

---

## [Ideal laptop for performances](https://discourse.processing.org/t/ideal-laptop-for-performances/16623)

<div class="topic-metadata">

**Author:** [@manu](https://discourse.processing.org/u/manu)\
**Replies:** 8\
**Last updated:** [June 14, 2020, 12:43am UTC](https://discourse.processing.org/t/ideal-laptop-for-performances/16623 "2020-06-14T00:43:27Z")

</div>

Hi Everyone! I’ve been doing processing for awhile, and I am scaling up my projects. I recently got into a group art show, and to have my code run in a gallery space for eight hours a day, 6 days a week for up to 6 mon…

---

## [Video palindrome loop / negative playback rate](https://discourse.processing.org/t/video-palindrome-loop-negative-playback-rate/21426)

<div class="topic-metadata">

**Author:** [@stephanschulz](https://discourse.processing.org/u/stephanschulz)\
**Replies:** 3\
**Last updated:** [June 4, 2020, 7:06am UTC](https://discourse.processing.org/t/video-palindrome-loop-negative-playback-rate/21426 "2020-06-04T07:06:51Z")

</div>

I am trying to get multiple dynamically loaded videos to loop back and forth without exhibiting a stutter when changing directions. Here my project example: In the sketch it works so so but is not very stable. Espe…

---

## [3d Random Walker export-as-dxf](https://discourse.processing.org/t/3d-random-walker-export-as-dxf/21847)

<div class="topic-metadata">

**Author:** [@andresobregonl](https://discourse.processing.org/u/andresobregonl)\
**Replies:** 1\
**Last updated:** [June 13, 2020, 8:24pm UTC](https://discourse.processing.org/t/3d-random-walker-export-as-dxf/21847 "2020-06-13T20:24:19Z")

</div>

Hello I am trying to write a 3d random Walker P3D But I do not achieve to export all the boxes as .dxf my goal is to be able to open the file in Rhino and export it as .stl and send it to a 3d Printing I will apprecia…

---

## [Push and pop not working in p5py?](https://discourse.processing.org/t/push-and-pop-not-working-in-p5py/21653)

<div class="topic-metadata">

**Author:** [@renec112](https://discourse.processing.org/u/renec112)\
**Replies:** 2\
**Last updated:** [June 13, 2020, 8:14pm UTC](https://discourse.processing.org/t/push-and-pop-not-working-in-p5py/21653 "2020-06-13T20:14:30Z")

</div>

I’m using the python package p5python package p5 I’m following some tutorials written in javascript, but it seems like push and pop is not the same in the python package. I’m using the push\_matrix() and the pop\_matrix(…

---

## [Shading a polygon PShape](https://discourse.processing.org/t/shading-a-polygon-pshape/21833)

<div class="topic-metadata">

**Author:** [@opheliagame](https://discourse.processing.org/u/opheliagame)\
**Replies:** 1\
**Last updated:** [June 13, 2020, 3:50pm UTC](https://discourse.processing.org/t/shading-a-polygon-pshape/21833 "2020-06-13T15:50:34Z")

</div>

I am making a custom PShape and setting different colors to the different vertices. From my experimentation, I have understod that the PShape is triangulated and the colors given to the different vertices are interpolate…

---

## [How to get c++ for eclipse working I've followed all the steps for mac](https://discourse.processing.org/t/how-to-get-c-for-eclipse-working-ive-followed-all-the-steps-for-mac/21823)

<div class="topic-metadata">

**Author:** [@AntiViral\_Builder](https://discourse.processing.org/u/AntiViral_Builder)\
**Replies:** 1\
**Last updated:** [June 13, 2020, 5:28pm UTC](https://discourse.processing.org/t/how-to-get-c-for-eclipse-working-ive-followed-all-the-steps-for-mac/21823 "2020-06-13T17:28:15Z")

</div>

Hello there, to make a library I need to get my eclipse working. I have installed xcode. I’ve set the binary parser. There is a message ‘No binary’ I do not know what this means

---

## [Wrong language or a syntax error? (axidraw)](https://discourse.processing.org/t/wrong-language-or-a-syntax-error-axidraw/21727)

<div class="topic-metadata">

**Author:** [@slashwreck](https://discourse.processing.org/u/slashwreck)\
**Replies:** 10\
**Last updated:** [June 13, 2020, 12:49pm UTC](https://discourse.processing.org/t/wrong-language-or-a-syntax-error-axidraw/21727 "2020-06-13T12:49:30Z")

</div>

As an axidraw user, I was very interested in LingDong’s procedurally-generated plotter landscape. He includes the source code at the end of the page. I believe he did this in processing. I’m using Processing v3 in pyt…

---

## [Tips for porting Processing Java code to Python mode :)](https://discourse.processing.org/t/tips-for-porting-processing-java-code-to-python-mode/21612)

<div class="topic-metadata">

**Author:** [@villares](https://discourse.processing.org/u/villares)\
**Replies:** 7\
**Last updated:** [June 13, 2020, 12:21pm UTC](https://discourse.processing.org/t/tips-for-porting-processing-java-code-to-python-mode/21612 "2020-06-13T12:21:02Z")

</div>

I had some students asking me about examples in Java mode, how to use them, and I really enjoy porting stuff into Python mode, so I wrote this, trying to collect some tips: Feedback is welcome :smiley: Maybe you have…

---

## [Display Basics program](https://discourse.processing.org/t/display-basics-program/21808)

<div class="topic-metadata">

**Author:** [@mike\_z](https://discourse.processing.org/u/mike_z)\
**Replies:** 13\
**Last updated:** [June 13, 2020, 11:30am UTC](https://discourse.processing.org/t/display-basics-program/21808 "2020-06-13T11:30:16Z")

</div>

I a beginner with processing, but have had experience with coding in other languages. I am attempting to make a block of cyan color walk across a blue back gound in three steps. For some reason the first two blocks will …

---

## [Can Processing use MacOS X's native Picture-in-Picture (PIP) mode?](https://discourse.processing.org/t/can-processing-use-macos-xs-native-picture-in-picture-pip-mode/21806)

<div class="topic-metadata">

**Author:** [@DerTarchin](https://discourse.processing.org/u/DerTarchin)\
**Replies:** 1\
**Last updated:** [June 13, 2020, 11:03am UTC](https://discourse.processing.org/t/can-processing-use-macos-xs-native-picture-in-picture-pip-mode/21806 "2020-06-13T11:03:14Z")

</div>

I’m not sure how to do it and I see no references to it in the forums. Am I able to take advantage of the native PIP with Processing? Here is an example of what I’m talking about

---

## [loadTable from object and not from url](https://discourse.processing.org/t/loadtable-from-object-and-not-from-url/21788)

<div class="topic-metadata">

**Author:** [@suvir](https://discourse.processing.org/u/suvir)\
**Replies:** 6\
**Last updated:** [June 13, 2020, 10:27am UTC](https://discourse.processing.org/t/loadtable-from-object-and-not-from-url/21788 "2020-06-13T10:27:27Z")

</div>

Hi, This is what i was doing before. p.preload = () =\> { data = (p as any).loadTable("http://127.0.0.1:3448/sample.csv", "csv", "header"); }; I would like to intiliaze the data above from a js response object. T…

---

## [Stopping the game when touching sides pong game](https://discourse.processing.org/t/stopping-the-game-when-touching-sides-pong-game/21810)

<div class="topic-metadata">

**Author:** [@mrporcessing](https://discourse.processing.org/u/mrporcessing)\
**Replies:** 3\
**Last updated:** [June 13, 2020, 10:48am UTC](https://discourse.processing.org/t/stopping-the-game-when-touching-sides-pong-game/21810 "2020-06-13T10:48:27Z")

</div>

Hi, I just need help trying to stop the game, if the ball touches the left or right side of the screen and not the paddles. here is my code: int x,y,w,h,speedX,speedY;//circle variables int paddleX, paddleY,paddlew,padd…

---

## [I need to embed processing code in my Wordpress](https://discourse.processing.org/t/i-need-to-embed-processing-code-in-my-wordpress/20944)

<div class="topic-metadata">

**Author:** [@cndae](https://discourse.processing.org/u/cndae)\
**Replies:** 16\
**Last updated:** [June 13, 2020, 1:46am UTC](https://discourse.processing.org/t/i-need-to-embed-processing-code-in-my-wordpress/20944 "2020-06-13T01:46:18Z")

</div>

Hi there! I need to insert a processing code in wordpress, but I’m going crazy and I can’t do it. Does anyone know how I can do it? Thanks

---

## [P5.js using P2D and WebGL primitives](https://discourse.processing.org/t/p5-js-using-p2d-and-webgl-primitives/21824)

<div class="topic-metadata">

**Author:** [@ylh](https://discourse.processing.org/u/ylh)\
**Replies:** 1\
**Last updated:** [June 13, 2020, 1:14am UTC](https://discourse.processing.org/t/p5-js-using-p2d-and-webgl-primitives/21824 "2020-06-13T01:14:31Z")

</div>

I have a sketch that uses straightforward draws and text boxes. I now want to add a 3D drawing. Evidently WebGL will break my current code. I only have one 3D drawing which can be in a separate area. Can I have two diff…

---

## [Scan for servers](https://discourse.processing.org/t/scan-for-servers/21814)

<div class="topic-metadata">

**Author:** [@Moritz](https://discourse.processing.org/u/Moritz)\
**Replies:** 3\
**Last updated:** [June 12, 2020, 10:11pm UTC](https://discourse.processing.org/t/scan-for-servers/21814 "2020-06-12T22:11:27Z")

</div>

Hey Guys, I’m using the Processing network library and want to search for possible Processing servers. How is that possible?

---

## [Is it possible to not have the generic windows close buttons and make your own close button?](https://discourse.processing.org/t/is-it-possible-to-not-have-the-generic-windows-close-buttons-and-make-your-own-close-button/2013)

<div class="topic-metadata">

**Author:** [@Shimo](https://discourse.processing.org/u/Shimo)\
**Replies:** 6\
**Last updated:** [June 12, 2020, 8:06pm UTC](https://discourse.processing.org/t/is-it-possible-to-not-have-the-generic-windows-close-buttons-and-make-your-own-close-button/2013 "2020-06-12T20:06:00Z")

</div>

So I’m talking about applications like discord, they don’t have that ugly windows border around their application, the league of legends client also doesn’t have it, Photoshop also has a custom one. So I know it’s possib…

---

## [Android Mode Not Accessible](https://discourse.processing.org/t/android-mode-not-accessible/21815)

<div class="topic-metadata">

**Author:** [@KAZ](https://discourse.processing.org/u/KAZ)\
**Replies:** 1\
**Last updated:** [June 12, 2020, 6:47pm UTC](https://discourse.processing.org/t/android-mode-not-accessible/21815 "2020-06-12T18:47:01Z")

</div>

Android mode is not accessible/working. Can’t link SDK to processing. Kindly help.

---

## [Sharing PImage or PGraphics between nested Applets](https://discourse.processing.org/t/sharing-pimage-or-pgraphics-between-nested-applets/21793)

<div class="topic-metadata">

**Author:** [@johnbentcope](https://discourse.processing.org/u/johnbentcope)\
**Replies:** 5\
**Last updated:** [June 12, 2020, 6:35pm UTC](https://discourse.processing.org/t/sharing-pimage-or-pgraphics-between-nested-applets/21793 "2020-06-12T18:35:39Z")

</div>

I’m attempting to write an application that will stream a single incoming video feed to both eyes using an Oculus Rift DK2. In Linux, I’ve configured the Rift as a second monitor. Thanks to another topic on here, I’m abl…

---

## [\[newbie\] How can I record output audio and/or send it to my MOTU audio interface](https://discourse.processing.org/t/newbie-how-can-i-record-output-audio-and-or-send-it-to-my-motu-audio-interface/21813)

<div class="topic-metadata">

**Author:** [@henrybirdseye](https://discourse.processing.org/u/henrybirdseye)\
**Replies:** 0\
**Last updated:** [June 12, 2020, 5:08pm UTC](https://discourse.processing.org/t/newbie-how-can-i-record-output-audio-and-or-send-it-to-my-motu-audio-interface/21813 "2020-06-12T17:08:53Z")

</div>

I’m new to Processing and have spent a lot of time on PureData this past year, with the goal of drawing on oscilloscopes. I’m, of course, using Ted Davis’ excellent XYScope library. I want to record or save to disc audi…

---

## [Output window pixels very small](https://discourse.processing.org/t/output-window-pixels-very-small/21790)

<div class="topic-metadata">

**Author:** [@R1S8K](https://discourse.processing.org/u/R1S8K)\
**Replies:** 3\
**Last updated:** [June 12, 2020, 4:30pm UTC](https://discourse.processing.org/t/output-window-pixels-very-small/21790 "2020-06-12T16:30:10Z")

</div>

Hi, I want to use processing to simulate LCD output with C code. I did a test loading a .bmp file and it worked but the output window is too small. How to increase the size of the overall output window ? I think the …

---

## [Using Geany IDE for PiCrate](https://discourse.processing.org/t/using-geany-ide-for-picrate/21809)

<div class="topic-metadata">

**Author:** [@monkstone](https://discourse.processing.org/u/monkstone)\
**Replies:** 0\
**Last updated:** [June 12, 2020, 3:45pm UTC](https://discourse.processing.org/t/using-geany-ide-for-picrate/21809 "2020-06-12T15:45:22Z")

</div>

Finally managed to translate a Voronoi Distance Shader Toy by Inigo Quilez to processing, here is a YouTube video showing it running on my RaspberryPI:- Using Geany as my PiCrate IDE - YouTube

---

## [ArrayList with boolean type crashing on use of the .get function](https://discourse.processing.org/t/arraylist-with-boolean-type-crashing-on-use-of-the-get-function/21807)

<div class="topic-metadata">

**Author:** [@TheEternalDragon](https://discourse.processing.org/u/TheEternalDragon)\
**Replies:** 2\
**Last updated:** [June 12, 2020, 3:18pm UTC](https://discourse.processing.org/t/arraylist-with-boolean-type-crashing-on-use-of-the-get-function/21807 "2020-06-12T15:18:24Z")

</div>

I am trying to use an arraylist of booleans but when using the .get function on the array the program crashes, so I figured I should have iniatilized the values however when trying to do so it simply seems to skip over t…

---

## [The first random value is always the same when using randomSeed](https://discourse.processing.org/t/the-first-random-value-is-always-the-same-when-using-randomseed/21700)

<div class="topic-metadata">

**Author:** [@Reva](https://discourse.processing.org/u/Reva)\
**Replies:** 5\
**Last updated:** [June 12, 2020, 1:21pm UTC](https://discourse.processing.org/t/the-first-random-value-is-always-the-same-when-using-randomseed/21700 "2020-06-12T13:21:41Z")

</div>

I’ve found that no matter how I change the seed, the first random value is always the same when using randomSeed(). Here is the a really simple test: void draw() { randomSeed(frameCount); println(frameCount + ": " +…

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

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