# Latest

**URL:** https://discourse.processing.org/latest.md?no_subcategories=false&page=307

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

**Page:** 308

---

## [\[SOLVED\] Running a sketch at a low resolution in fullscreen](https://discourse.processing.org/t/solved-running-a-sketch-at-a-low-resolution-in-fullscreen/2461)

<div class="topic-metadata">

**Author:** [@Upow](https://discourse.processing.org/u/Upow)\
**Replies:** 18\
**Last updated:** [September 14, 2020, 9:59am UTC](https://discourse.processing.org/t/solved-running-a-sketch-at-a-low-resolution-in-fullscreen/2461 "2020-09-14T09:59:25Z")

</div>

Hello everyone, Is there a good way to run a sketch at a low resolution, say with size(640, 480), but then run that low resolution size at a full screen size? In addition it would be important to be able to run on a sec…

---

## [Checking if all elements in an array are the same](https://discourse.processing.org/t/checking-if-all-elements-in-an-array-are-the-same/23708)

<div class="topic-metadata">

**Author:** [@TheEternalDragon](https://discourse.processing.org/u/TheEternalDragon)\
**Replies:** 5\
**Last updated:** [September 14, 2020, 5:59am UTC](https://discourse.processing.org/t/checking-if-all-elements-in-an-array-are-the-same/23708 "2020-09-14T05:59:42Z")

</div>

So I have been trying to get a program to work, the point of the program is to display every image in an arraylist in a random order (taking the mouse as input to go to the next image) and then reset and repeat to do thi…

---

## [\[Help\] g4p library window related to new window](https://discourse.processing.org/t/help-g4p-library-window-related-to-new-window/23499)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 2\
**Last updated:** [September 14, 2020, 1:46am UTC](https://discourse.processing.org/t/help-g4p-library-window-related-to-new-window/23499 "2020-09-14T01:46:37Z")

</div>

\[Help\] g4p library window related to new window Hello. Thank you for your interest in my problem. I made a new window through the’g4p’ library. It would be nice if the created new window was above the’MAIN Windows prog…

---

## [New p5py category](https://discourse.processing.org/t/new-p5py-category/23847)

<div class="topic-metadata">

**Author:** [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Replies:** 1\
**Last updated:** [September 14, 2020, 12:36am UTC](https://discourse.processing.org/t/new-p5py-category/23847 "2020-09-14T00:36:02Z")

</div>

We have created a new category for questions related to p5py, as distinct from Processing.py / Python mode. https://discourse.processing.org/c/p5py/27 Until now our Processing.py category contains most python-related t…

---

## [Not reuse function!](https://discourse.processing.org/t/not-reuse-function/23353)

<div class="topic-metadata">

**Author:** [@Mayarch](https://discourse.processing.org/u/Mayarch)\
**Replies:** 3\
**Last updated:** [August 21, 2020, 8:27pm UTC](https://discourse.processing.org/t/not-reuse-function/23353 "2020-08-21T20:27:28Z")

</div>

tileCountX=2 tileCountY=10 colorsLeft=\[\] colorsRight=\[\] interpolateShortest=True def setup(): size(800,800) colorMode(HSB) noStroke() shakeColors() def draw(): tileCountX=int(map(mous…

---

## [Player keeps moving with the bullet](https://discourse.processing.org/t/player-keeps-moving-with-the-bullet/23320)

<div class="topic-metadata">

**Author:** [@Cybernet](https://discourse.processing.org/u/Cybernet)\
**Replies:** 3\
**Last updated:** [September 13, 2020, 10:00pm UTC](https://discourse.processing.org/t/player-keeps-moving-with-the-bullet/23320 "2020-09-13T22:00:19Z")

</div>

I have this code, and there’s a player class and a bullet class. But when I shoot a bullet, it moves the player along with it… class Bullet { PVector pos; PVector vel; float rotation; Bullet(PVector pos, PVec…

---

## [Changing color fill with keyPressed in the function](https://discourse.processing.org/t/changing-color-fill-with-keypressed-in-the-function/23828)

<div class="topic-metadata">

**Author:** [@breadstixnsalad](https://discourse.processing.org/u/breadstixnsalad)\
**Replies:** 11\
**Last updated:** [September 13, 2020, 8:31pm UTC](https://discourse.processing.org/t/changing-color-fill-with-keypressed-in-the-function/23828 "2020-09-13T20:31:28Z")

</div>

I am a noob at Processing and looking to make it so that if you press an arrow, t hebackground goes from ‘day’ color to either ‘sunset’ or ‘night’, while hiding the trails left by the moving cloud when it follows your m…

---

## [Need help correcting this converted P5.js code](https://discourse.processing.org/t/need-help-correcting-this-converted-p5-js-code/23804)

<div class="topic-metadata">

**Author:** [@coreyep](https://discourse.processing.org/u/coreyep)\
**Replies:** 3\
**Last updated:** [September 13, 2020, 5:52pm UTC](https://discourse.processing.org/t/need-help-correcting-this-converted-p5-js-code/23804 "2020-09-13T17:52:09Z")

</div>

I converted my Java processing code to P5.js, which I pasted below but my notifications box is telling me that I am missing semicolons for “static final let NUM\_LINES = 10;” and all of my “let x\_(let t) {” and “let y\_1(l…

---

## [Running old Processing app with old G4P on latest Mac](https://discourse.processing.org/t/running-old-processing-app-with-old-g4p-on-latest-mac/23792)

<div class="topic-metadata">

**Author:** [@diyoyo](https://discourse.processing.org/u/diyoyo)\
**Replies:** 7\
**Last updated:** [September 13, 2020, 2:56pm UTC](https://discourse.processing.org/t/running-old-processing-app-with-old-g4p-on-latest-mac/23792 "2020-09-13T14:56:49Z")

</div>

Hi, I am having trouble running a 5-year old code that used G4P. I tried installing the old G4P and G4P Builder inside a dedicated folder accessed by a separate install of Processing 3.4, since I also have the latest P…

---

## [Fisica Library removing body collision](https://discourse.processing.org/t/fisica-library-removing-body-collision/10691)

<div class="topic-metadata">

**Author:** [@macarrony00](https://discourse.processing.org/u/macarrony00)\
**Replies:** 2\
**Last updated:** [September 13, 2020, 2:10pm UTC](https://discourse.processing.org/t/fisica-library-removing-body-collision/10691 "2020-09-13T14:10:13Z")

</div>

Hi all, I am starting a new processing project, I need some kind of world physics, for that I am using the Fisica Library. I am trying to add a specific body that do not collide with one of the others, but can’t find a …

---

## [Drag and Drop Boolean Array](https://discourse.processing.org/t/drag-and-drop-boolean-array/23803)

<div class="topic-metadata">

**Author:** [@jaspervb](https://discourse.processing.org/u/jaspervb)\
**Replies:** 6\
**Last updated:** [September 13, 2020, 3:14am UTC](https://discourse.processing.org/t/drag-and-drop-boolean-array/23803 "2020-09-13T03:14:11Z")

</div>

Hello there, I need help with processing. I want to make a drag&drop example in a array of elements. Unfortunaly, it still does not work after struggling in processing. int num = 3; Drag\[\] element = new Drag\[int(num…

---

## [Video Cropping - Teachable Machine](https://discourse.processing.org/t/video-cropping-teachable-machine/23805)

<div class="topic-metadata">

**Author:** [@ergoego](https://discourse.processing.org/u/ergoego)\
**Replies:** 2\
**Last updated:** [September 12, 2020, 11:37pm UTC](https://discourse.processing.org/t/video-cropping-teachable-machine/23805 "2020-09-12T23:37:00Z")

</div>

So I created a model at https://teachablemachine.withgoogle.com/train/image. I generate the model, get the p5.js code, and it all works great. But there’s just one big problem. I trained all of my data on a cropped vide…

---

## [How to make a start game screen?](https://discourse.processing.org/t/how-to-make-a-start-game-screen/23776)

<div class="topic-metadata">

**Author:** [@spacecad3t](https://discourse.processing.org/u/spacecad3t)\
**Replies:** 7\
**Last updated:** [September 12, 2020, 11:03pm UTC](https://discourse.processing.org/t/how-to-make-a-start-game-screen/23776 "2020-09-12T23:03:33Z")

</div>

Hi, I was wondering if someone could point me in the right direction. I’m making an interactive snake game and I’d like to have a ‘click to start’ screen at the beginning. This is my sketch.js: var screen = 0; var x; v…

---

## [Fullscreen width and height variables returning 100](https://discourse.processing.org/t/fullscreen-width-and-height-variables-returning-100/20351)

<div class="topic-metadata">

**Author:** [@kikomali2517](https://discourse.processing.org/u/kikomali2517)\
**Replies:** 5\
**Last updated:** [September 12, 2020, 7:37pm UTC](https://discourse.processing.org/t/fullscreen-width-and-height-variables-returning-100/20351 "2020-09-12T19:37:59Z")

</div>

Hi! I have seen width and height returning 100 or incorrect values when a sketch is run in fullScreen() many times. Is there a way to get the accurate dimensions of the screen?

---

## [Limiting rotation](https://discourse.processing.org/t/limiting-rotation/23825)

<div class="topic-metadata">

**Author:** [@BACI821](https://discourse.processing.org/u/BACI821)\
**Replies:** 2\
**Last updated:** [September 12, 2020, 5:58pm UTC](https://discourse.processing.org/t/limiting-rotation/23825 "2020-09-12T17:58:36Z")

</div>

Hello Alll, Newbie programmer here (just learning the ropes). I’m trying to create a dash for a boat which runs off arduino. I’m trying to make the UI right now.I need to limit the rotation of my indicator. The indicato…

---

## [Thoroughly seeding random()](https://discourse.processing.org/t/thoroughly-seeding-random/23819)

<div class="topic-metadata">

**Author:** [@somegrue](https://discourse.processing.org/u/somegrue)\
**Replies:** 4\
**Last updated:** [September 12, 2020, 3:00pm UTC](https://discourse.processing.org/t/thoroughly-seeding-random/23819 "2020-09-12T15:00:57Z")

</div>

Hello board, so, I want to generate numbers that are random but, optionally, repeatable. What I gleaned from other threads is that the most straightforward way to do that is along these lines: By default, use random()…

---

## [IDE fails to load](https://discourse.processing.org/t/ide-fails-to-load/23796)

<div class="topic-metadata">

**Author:** [@rhole](https://discourse.processing.org/u/rhole)\
**Replies:** 0\
**Last updated:** [September 11, 2020, 3:43pm UTC](https://discourse.processing.org/t/ide-fails-to-load/23796 "2020-09-11T15:43:27Z")

</div>

I have been using Processing 3 for several years (RPi 3B). Lately I cannot start the IDE. Clicking on the desktop the splash screen flashes, disapperars, and nothing more. When I invoke it from a C program I get error…

---

## [Unrecognized Library](https://discourse.processing.org/t/unrecognized-library/23751)

<div class="topic-metadata">

**Author:** [@Yarmond15](https://discourse.processing.org/u/Yarmond15)\
**Replies:** 4\
**Last updated:** [September 12, 2020, 8:48am UTC](https://discourse.processing.org/t/unrecognized-library/23751 "2020-09-12T08:48:14Z")

</div>

I have managed my way through most the issues but am on what I believe to be the last step. I’m getting an error message that one of my libraries is not recognized. I attached two images, the first is of the error messag…

---

## [Bubble shooter game mechanics](https://discourse.processing.org/t/bubble-shooter-game-mechanics/23774)

<div class="topic-metadata">

**Author:** [@koenterheegde57](https://discourse.processing.org/u/koenterheegde57)\
**Replies:** 1\
**Last updated:** [September 12, 2020, 8:07am UTC](https://discourse.processing.org/t/bubble-shooter-game-mechanics/23774 "2020-09-12T08:07:52Z")

</div>

Hi everybody, I want to recreate the bubbleshooter game but I can’t figure out how to get a ‘bullet’ moving towards my mouse, which will be the direction of the bullet. I tried using the formula y=ax+b and also tried to…

---

## [Processing software not working](https://discourse.processing.org/t/processing-software-not-working/23784)

<div class="topic-metadata">

**Author:** [@jayvaidya](https://discourse.processing.org/u/jayvaidya)\
**Replies:** 5\
**Last updated:** [September 11, 2020, 4:04pm UTC](https://discourse.processing.org/t/processing-software-not-working/23784 "2020-09-11T16:04:57Z")

</div>

I searched but most of the people have issues like the software is crashing after the logo is displayed. But, in my case, I can open the editor and my code. But when I click on the Run button to execute the code, I see…

---

## [P3D and noSmooth(), points disappear](https://discourse.processing.org/t/p3d-and-nosmooth-points-disappear/23770)

<div class="topic-metadata">

**Author:** [@jimyoung](https://discourse.processing.org/u/jimyoung)\
**Replies:** 7\
**Last updated:** [September 11, 2020, 4:15pm UTC](https://discourse.processing.org/t/p3d-and-nosmooth-points-disappear/23770 "2020-09-11T16:15:25Z")

</div>

Hi everyone - I am having a strange bug, and I hope I’m just overlooking something really simple. I’m using the P3D renderer to do opengl-like calls, and I’m not a fan of the antialiasing. However, if I use noSmooth, poi…

---

## [Save json+image files to disk and to express-server with fetch](https://discourse.processing.org/t/save-json-image-files-to-disk-and-to-express-server-with-fetch/21439)

<div class="topic-metadata">

**Author:** [@stephanschulz](https://discourse.processing.org/u/stephanschulz)\
**Replies:** 4\
**Last updated:** [September 11, 2020, 3:19pm UTC](https://discourse.processing.org/t/save-json-image-files-to-disk-and-to-express-server-with-fetch/21439 "2020-09-11T15:19:33Z")

</div>

Coding is not easy. So when I find a solution to a problem I like to share it. Here some options on how to save json+image files to disk and to express-server with fetch. let my\_json = { "a": 1, "b": 2, "c": 3 } fu…

---

## [ImageLoader, Could not find a method to load](https://discourse.processing.org/t/imageloader-could-not-find-a-method-to-load/4867)

<div class="topic-metadata">

**Author:** [@seo](https://discourse.processing.org/u/seo)\
**Replies:** 9\
**Last updated:** [September 11, 2020, 10:19am UTC](https://discourse.processing.org/t/imageloader-could-not-find-a-method-to-load/4867 "2020-09-11T10:19:31Z")

</div>

hi! I am using imageloader very well. But sometimes I get an error like this: Could not find a method to load: https: //openclipart.org/download/279040/CigCardHoudanCock.svg. Why is there an error? And even when there …

---

## [Operating System Shell made entirely in Processing](https://discourse.processing.org/t/operating-system-shell-made-entirely-in-processing/23600)

<div class="topic-metadata">

**Author:** [@Brastin](https://discourse.processing.org/u/Brastin)\
**Replies:** 7\
**Last updated:** [September 10, 2020, 10:28pm UTC](https://discourse.processing.org/t/operating-system-shell-made-entirely-in-processing/23600 "2020-09-10T22:28:39Z")

</div>

HI! Its been a passion project of mine the past 2 years to work on an operating system shell that I call “BrastinOS”. It’s made entirely with processing, in the processing editor, and has a windowed environment a deskt…

---

## [Issues on installing Kinect - Cataline osx](https://discourse.processing.org/t/issues-on-installing-kinect-cataline-osx/23781)

<div class="topic-metadata">

**Author:** [@shade594](https://discourse.processing.org/u/shade594)\
**Replies:** 0\
**Last updated:** [September 10, 2020, 7:02pm UTC](https://discourse.processing.org/t/issues-on-installing-kinect-cataline-osx/23781 "2020-09-10T19:02:44Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hello everyone. I just started using kinect and facing some issues on install it. I tried every tutorial I’ve seen on the internet and I still…

---

## [Using the recorder and the beat detect simultaneously with minim library](https://discourse.processing.org/t/using-the-recorder-and-the-beat-detect-simultaneously-with-minim-library/23778)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 0\
**Last updated:** [September 10, 2020, 3:04pm UTC](https://discourse.processing.org/t/using-the-recorder-and-the-beat-detect-simultaneously-with-minim-library/23778 "2020-09-10T15:04:07Z")

</div>

Hello, Maybe I should ask this question the creator of minim library but maybe some can help me. I have mix both example of the minim library, the record and playback and the FrequencyEnergyBeatDetection. The last exa…

---

## [Display trouble](https://discourse.processing.org/t/display-trouble/23777)

<div class="topic-metadata">

**Author:** [@mike\_z](https://discourse.processing.org/u/mike_z)\
**Replies:** 2\
**Last updated:** [September 10, 2020, 4:14pm UTC](https://discourse.processing.org/t/display-trouble/23777 "2020-09-10T16:14:57Z")

</div>

I’m rather new at Processing. It is different from the programing that I’m used to. I’m an old timer that found Arduino and Processing as something to do during retirement. Anyway, I wrote a short routine that should dis…

---

## [Problem with Record and Playback with minim library](https://discourse.processing.org/t/problem-with-record-and-playback-with-minim-library/23680)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 1\
**Last updated:** [September 10, 2020, 12:39pm UTC](https://discourse.processing.org/t/problem-with-record-and-playback-with-minim-library/23680 "2020-09-10T12:39:03Z")

</div>

Hello I have tried the example of the minim library with a laptop MacBook Pro. The program doesn’t record anything whereas with an other software my computer can record. Do I have to set something in Processing? Than…

---

## [Controlling an array of Blinking Eyes Independently of Each Other](https://discourse.processing.org/t/controlling-an-array-of-blinking-eyes-independently-of-each-other/23761)

<div class="topic-metadata">

**Author:** [@jcser](https://discourse.processing.org/u/jcser)\
**Replies:** 3\
**Last updated:** [September 10, 2020, 8:10am UTC](https://discourse.processing.org/t/controlling-an-array-of-blinking-eyes-independently-of-each-other/23761 "2020-09-10T08:10:23Z")

</div>

Hi, I am very new to processing and I am making a program based on a Coding Train Video. I have created an Eye Class that display’s an eye and then makes it blink. At the moment I can populate the scene with an array of …

---

## [Empty-example/loading sketches/node-server](https://discourse.processing.org/t/empty-example-loading-sketches-node-server/23739)

<div class="topic-metadata">

**Author:** [@brightbeam](https://discourse.processing.org/u/brightbeam)\
**Replies:** 4\
**Last updated:** [September 10, 2020, 4:19am UTC](https://discourse.processing.org/t/empty-example-loading-sketches-node-server/23739 "2020-09-10T04:19:22Z")

</div>

Hi everyone. I just started a book on p5.js and im trying to run the empty-example included with the complete p5.js dowload and can’t seem to get it to appear in the browser. It loads somewhat because the title appears i…

[Previous page](https://discourse.processing.org/latest.md?no_subcategories=false&page=306)

[Next page](https://discourse.processing.org/latest.md?no_subcategories=false&page=308)
