# Latest

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

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

**Page:** 289

---

## [How P5.js use the Box2D of Processing?](https://discourse.processing.org/t/how-p5-js-use-the-box2d-of-processing/25272)

<div class="topic-metadata">

**Author:** [@NeoRei](https://discourse.processing.org/u/NeoRei)\
**Replies:** 2\
**Last updated:** [November 8, 2020, 5:22am UTC](https://discourse.processing.org/t/how-p5-js-use-the-box2d-of-processing/25272 "2020-11-08T05:22:27Z")

</div>

i can’t use the Box2D !Help

---

## [Generate random](https://discourse.processing.org/t/generate-random/25235)

<div class="topic-metadata">

**Author:** [@millionish](https://discourse.processing.org/u/millionish)\
**Replies:** 10\
**Last updated:** [November 7, 2020, 11:07pm UTC](https://discourse.processing.org/t/generate-random/25235 "2020-11-07T23:07:37Z")

</div>

My code as of now is as below: width = 200 class G:

---

## [Flash Action Script](https://discourse.processing.org/t/flash-action-script/25181)

<div class="topic-metadata">

**Author:** [@markcosmic](https://discourse.processing.org/u/markcosmic)\
**Replies:** 4\
**Last updated:** [November 7, 2020, 6:52pm UTC](https://discourse.processing.org/t/flash-action-script/25181 "2020-11-07T18:52:14Z")

</div>

Hello everyone, A few tear back I made the mistake of writing my website in Flash Actionscript. Many of you are aware that Apple hasn’t supported it in years and soon FlashPlayer will be gone and no longer supported by …

---

## [Why does my sketch look pixelated in Chrome?](https://discourse.processing.org/t/why-does-my-sketch-look-pixelated-in-chrome/25237)

<div class="topic-metadata">

**Author:** [@zenglenn](https://discourse.processing.org/u/zenglenn)\
**Replies:** 3\
**Last updated:** [November 7, 2020, 5:32pm UTC](https://discourse.processing.org/t/why-does-my-sketch-look-pixelated-in-chrome/25237 "2020-11-07T17:32:44Z")

</div>

Hi The sketch I’m working on has text and images that display perfectly in Safari - but in Chrome everything is pixelated. When I download the image from Chrome and open it up - it looks fine - is there anyway of fixin…

---

## [Function for a still camera? WEBGL](https://discourse.processing.org/t/function-for-a-still-camera-webgl/25249)

<div class="topic-metadata">

**Author:** [@WTnick](https://discourse.processing.org/u/WTnick)\
**Replies:** 1\
**Last updated:** [November 7, 2020, 5:01pm UTC](https://discourse.processing.org/t/function-for-a-still-camera-webgl/25249 "2020-11-07T17:01:48Z")

</div>

Hello! I started programming about a month ago. Anyways I was working on a first-person demo and decided to make it so the mouse would move the camera. To test it out I used cam.pan and made it follow mouseX and mouseY. …

---

## ["Small Universes" : Pattern hunting with the Wolfram Physics Project](https://discourse.processing.org/t/small-universes-pattern-hunting-with-the-wolfram-physics-project/24001)

<div class="topic-metadata">

**Author:** [@solub](https://discourse.processing.org/u/solub)\
**Replies:** 13\
**Last updated:** [November 7, 2020, 4:18pm UTC](https://discourse.processing.org/t/small-universes-pattern-hunting-with-the-wolfram-physics-project/24001 "2020-11-07T16:18:13Z")

</div>

Hi everyone, A couple of days ago I came across this fascinating interview of Stephen Wolfram where he addressed the different concepts arising from his latest and most promising project: the Wolfram Physics Project. If…

---

## [Get() Problems - Pro3 - Fr/Eng](https://discourse.processing.org/t/get-problems-pro3-fr-eng/25245)

<div class="topic-metadata">

**Author:** [@Eli0kYd](https://discourse.processing.org/u/Eli0kYd)\
**Replies:** 4\
**Last updated:** [November 7, 2020, 12:14pm UTC](https://discourse.processing.org/t/get-problems-pro3-fr-eng/25245 "2020-11-07T12:14:10Z")

</div>

Hello ! I’m new to processing and I need your help :slight\_smile: I need to select pixel’s area from my original image and to transpose it in rectangles. I learned that -get()( could help me but I do not know where to …

---

## [Processing on an Amazon Fire](https://discourse.processing.org/t/processing-on-an-amazon-fire/24689)

<div class="topic-metadata">

**Author:** [@Dr.Quark](https://discourse.processing.org/u/Dr.Quark)\
**Replies:** 1\
**Last updated:** [November 7, 2020, 11:47am UTC](https://discourse.processing.org/t/processing-on-an-amazon-fire/24689 "2020-11-07T11:47:21Z")

</div>

I’m running 3.5.4 in Android mode under Win10. I want to run a sketch on a Fire tablet, but for starters I can’t find a way to get the tablet into debugging mode. When I click run in the PDE, it get a message “can’t find…

---

## [Where can I find the p5.js library folder for basic sketches to download?](https://discourse.processing.org/t/where-can-i-find-the-p5-js-library-folder-for-basic-sketches-to-download/25239)

<div class="topic-metadata">

**Author:** [@anna\_rose](https://discourse.processing.org/u/anna_rose)\
**Replies:** 2\
**Last updated:** [November 7, 2020, 9:10am UTC](https://discourse.processing.org/t/where-can-i-find-the-p5-js-library-folder-for-basic-sketches-to-download/25239 "2020-11-07T09:10:25Z")

</div>

Hi, I was wondering if someone could help me because whenever I download p5.js complete, the example folder doesn’t include the library. This means that when I edit the text in Brackets(my editor) it doesn’t have any de…

---

## [Any physics library for force distribution visualization?](https://discourse.processing.org/t/any-physics-library-for-force-distribution-visualization/25236)

<div class="topic-metadata">

**Author:** [@weijie](https://discourse.processing.org/u/weijie)\
**Replies:** 3\
**Last updated:** [November 7, 2020, 7:15am UTC](https://discourse.processing.org/t/any-physics-library-for-force-distribution-visualization/25236 "2020-11-07T07:15:53Z")

</div>

I’m currently finding a library for visualization of force distribution between 2D objects. Example, Below is an image of 3 boxes on a trolley. When the trolley is accelerating to the right, how will the force act fro…

---

## [Want to suggest reflected light using shapes3d](https://discourse.processing.org/t/want-to-suggest-reflected-light-using-shapes3d/25095)

<div class="topic-metadata">

**Author:** [@HackinHarry](https://discourse.processing.org/u/HackinHarry)\
**Replies:** 4\
**Last updated:** [November 7, 2020, 1:28am UTC](https://discourse.processing.org/t/want-to-suggest-reflected-light-using-shapes3d/25095 "2020-11-07T01:28:26Z")

</div>

I’m working on a program that reads data over USB(solved those problems) and displays it as instruments. Specifically, I have a compass and an attitude indicator. I borrowed the compass and it’s really pretty. It uses…

---

## [Crossfade multiple movies](https://discourse.processing.org/t/crossfade-multiple-movies/25160)

<div class="topic-metadata">

**Author:** [@petermakesnoise](https://discourse.processing.org/u/petermakesnoise)\
**Replies:** 1\
**Last updated:** [November 7, 2020, 12:27am UTC](https://discourse.processing.org/t/crossfade-multiple-movies/25160 "2020-11-07T00:27:09Z")

</div>

Hi, Is it possible to crossfade across an array of movies? I’m aware of the code below which crossfades from one movie to a second and remains there, using tint() but if there are multiple movies “stacked” how is is pos…

---

## [How to create a transparent background in Processing 4](https://discourse.processing.org/t/how-to-create-a-transparent-background-in-processing-4/25246)

<div class="topic-metadata">

**Author:** [@Java.SourceForger](https://discourse.processing.org/u/Java.SourceForger)\
**Replies:** 0\
**Last updated:** [November 6, 2020, 10:05pm UTC](https://discourse.processing.org/t/how-to-create-a-transparent-background-in-processing-4/25246 "2020-11-06T22:05:48Z")

</div>

Hi. How do I make a window in processing that you can see the screen on the other side? I have seen code examples and they always use AWTUtilities that apparently does not exist anymore in processing. Any help?

---

## [Write MIDI file](https://discourse.processing.org/t/write-midi-file/25225)

<div class="topic-metadata">

**Author:** [@prokophapala](https://discourse.processing.org/u/prokophapala)\
**Replies:** 2\
**Last updated:** [November 6, 2020, 9:13pm UTC](https://discourse.processing.org/t/write-midi-file/25225 "2020-11-06T21:13:27Z")

</div>

inside Minim library I found nice example of reading and playing MIDI file. I was thinking to make some algoritmic MIDI generator. But I cannot find any functioonality or example how to write MIDI file using Minim or ot…

---

## [Made a platformer game with processing.js](https://discourse.processing.org/t/made-a-platformer-game-with-processing-js/25243)

<div class="topic-metadata">

**Author:** [@LeviathanProgramming](https://discourse.processing.org/u/LeviathanProgramming)\
**Replies:** 2\
**Last updated:** [November 6, 2020, 8:38pm UTC](https://discourse.processing.org/t/made-a-platformer-game-with-processing-js/25243 "2020-11-06T20:38:25Z")

</div>

Hello, everyone. I present to you my best project so far: IMPORTANT! Click the “edit on Codepen” link. Don’t run the pen here. I made the game from Processing.js because of its unique image caching abilities (I di…

---

## [Ellipse bounce from window](https://discourse.processing.org/t/ellipse-bounce-from-window/25157)

<div class="topic-metadata">

**Author:** [@Ellie98](https://discourse.processing.org/u/Ellie98)\
**Replies:** 2\
**Last updated:** [November 6, 2020, 8:35pm UTC](https://discourse.processing.org/t/ellipse-bounce-from-window/25157 "2020-11-06T20:35:13Z")

</div>

Hello, I’m trying to get the ellipse bounce from the edge of the window but two sides aren’t working. The right vertical side and the bottom horizontal side. Could someone help me out? float damping = 0.97; float gravi…

---

## [mousePressed() and MouseDragged() pressed key in println](https://discourse.processing.org/t/mousepressed-and-mousedragged-pressed-key-in-println/25241)

<div class="topic-metadata">

**Author:** [@Ellie98](https://discourse.processing.org/u/Ellie98)\
**Replies:** 6\
**Last updated:** [November 6, 2020, 6:29pm UTC](https://discourse.processing.org/t/mousepressed-and-mousedragged-pressed-key-in-println/25241 "2020-11-06T18:29:08Z")

</div>

Hello, I have to show the keys with println that I pressed if I use the functions keyPressed(), mousePressed() and mouseDragged(). I used println and key. It’s showing up the keys I clicked on my keyboard for keyPressed…

---

## [Random Name Generator](https://discourse.processing.org/t/random-name-generator/25008)

<div class="topic-metadata">

**Author:** [@HumanoidX](https://discourse.processing.org/u/HumanoidX)\
**Replies:** 20\
**Last updated:** [October 30, 2020, 1:02pm UTC](https://discourse.processing.org/t/random-name-generator/25008 "2020-10-30T13:02:17Z")

</div>

How should I properly initialize char variables? My code: String randomPlanetName(){ String name = ""; int dimension = int(random(3,12)); int repetitions = 0; boolean lastType; for(int i = 0;i == dimension…

---

## [Set Window's Minimum size when using P2D](https://discourse.processing.org/t/set-windows-minimum-size-when-using-p2d/1192)

<div class="topic-metadata">

**Author:** [@VansiusProductions](https://discourse.processing.org/u/VansiusProductions)\
**Replies:** 9\
**Last updated:** [November 6, 2020, 11:29am UTC](https://discourse.processing.org/t/set-windows-minimum-size-when-using-p2d/1192 "2020-11-06T11:29:29Z")

</div>

Hi, How do i Set Window’s Minimum size when using the P2D renderer? I know for the default Java renderer I would do this: PSurfaceAWT.SmoothCanvas sc = (PSurfaceAWT.SmoothCanvas) getSurface().getNative(); JFrame jf = (…

---

## [Paint program using hands or touch](https://discourse.processing.org/t/paint-program-using-hands-or-touch/25213)

<div class="topic-metadata">

**Author:** [@amsbcn](https://discourse.processing.org/u/amsbcn)\
**Replies:** 2\
**Last updated:** [November 6, 2020, 7:31am UTC](https://discourse.processing.org/t/paint-program-using-hands-or-touch/25213 "2020-11-06T07:31:17Z")

</div>

Hey! I’m fairly new to processing and am trying to workout a project that I have in mind. I created a simple paint program where I can pick a color using the mouse and paint with that color in a rectangle. Now that is wo…

---

## [Collision detection ball catching game](https://discourse.processing.org/t/collision-detection-ball-catching-game/25200)

<div class="topic-metadata">

**Author:** [@FabsFabs](https://discourse.processing.org/u/FabsFabs)\
**Replies:** 17\
**Last updated:** [November 6, 2020, 6:31am UTC](https://discourse.processing.org/t/collision-detection-ball-catching-game/25200 "2020-11-06T06:31:28Z")

</div>

Main code float playerWidth; float playerX; float playerY; float number; float\[\] circleY = new float\[10\]; float circleRadius = 25; float headRadius = 15; Player player; //========================================…

---

## [Want to make an array but it doesn't work](https://discourse.processing.org/t/want-to-make-an-array-but-it-doesnt-work/25208)

<div class="topic-metadata">

**Author:** [@MaxMax](https://discourse.processing.org/u/MaxMax)\
**Replies:** 1\
**Last updated:** [November 5, 2020, 5:18pm UTC](https://discourse.processing.org/t/want-to-make-an-array-but-it-doesnt-work/25208 "2020-11-05T17:18:19Z")

</div>

I want to make an array list for my obstacles. This is my full code: StripeMovement\[\] stripes = new StripeMovement\[10\]; ObstacleMovement obstacle1 = new ObstacleMovement(100, 200, 10, 6); ObstacleMovement obstacle2 …

---

## [How to rotate around a sphere?](https://discourse.processing.org/t/how-to-rotate-around-a-sphere/25072)

<div class="topic-metadata">

**Author:** [@raboytniksings](https://discourse.processing.org/u/raboytniksings)\
**Replies:** 24\
**Last updated:** [November 1, 2020, 10:21am UTC](https://discourse.processing.org/t/how-to-rotate-around-a-sphere/25072 "2020-11-01T10:21:25Z")

</div>

I spawn a sphere not at the center of the space, and I would like the “camera” to rotate around that sphere, always looking towards the sphere’s center. According to https://gist.github.com/atduskgreg/1516424, it should …

---

## [Color click game](https://discourse.processing.org/t/color-click-game/25207)

<div class="topic-metadata">

**Author:** [@jeremy](https://discourse.processing.org/u/jeremy)\
**Replies:** 1\
**Last updated:** [November 5, 2020, 3:41pm UTC](https://discourse.processing.org/t/color-click-game/25207 "2020-11-05T15:41:14Z")

</div>

I want to let it wrong when the mouse clicked wrong place so I use the if-else , mouse X and Y in right range and clicked it get score, But now I clicked the first color ,it input twice clicked , then, it appear the in…

---

## [Create Arc with curves/bezier](https://discourse.processing.org/t/create-arc-with-curves-bezier/25178)

<div class="topic-metadata">

**Author:** [@nktlst](https://discourse.processing.org/u/nktlst)\
**Replies:** 6\
**Last updated:** [November 5, 2020, 10:12am UTC](https://discourse.processing.org/t/create-arc-with-curves-bezier/25178 "2020-11-05T10:12:30Z")

</div>

Hello. I created for-loop for generating ARCs with random angles… using build in arc function. Here some issues with controlling this arcs because they based on circles, and overlays each other (my arc is quarter of circ…

---

## [Drawing, duplicating wireframe](https://discourse.processing.org/t/drawing-duplicating-wireframe/25099)

<div class="topic-metadata">

**Author:** [@slashwreck](https://discourse.processing.org/u/slashwreck)\
**Replies:** 4\
**Last updated:** [November 5, 2020, 9:05am UTC](https://discourse.processing.org/t/drawing-duplicating-wireframe/25099 "2020-11-05T09:05:03Z")

</div>

I want to draw an arbitrary number of wireframe cubes over each top of each other. I’ll do this in processing python mode. I’m wondering what the most ‘pythonic’ way to do this is. I suspect at the very least, I mak…

---

## [Bezier editor with data from serial port](https://discourse.processing.org/t/bezier-editor-with-data-from-serial-port/25184)

<div class="topic-metadata">

**Author:** [@myramoons](https://discourse.processing.org/u/myramoons)\
**Replies:** 1\
**Last updated:** [November 5, 2020, 9:03am UTC](https://discourse.processing.org/t/bezier-editor-with-data-from-serial-port/25184 "2020-11-05T09:03:29Z")

</div>

Hello! Im doing a project for school, where I’m using a pixy camera to track and send coordinates to processing so that it draws a smooth curve. I stumbled upon @Chrisir 's bezier editor, and have been trying to change t…

---

## [Fractal zoom with text](https://discourse.processing.org/t/fractal-zoom-with-text/25140)

<div class="topic-metadata">

**Author:** [@M.Payne](https://discourse.processing.org/u/M.Payne)\
**Replies:** 6\
**Last updated:** [November 3, 2020, 2:19pm UTC](https://discourse.processing.org/t/fractal-zoom-with-text/25140 "2020-11-03T14:19:44Z")

</div>

I was wondering if its possible to create a fractal zoom with text instead of shapes or lines. If so, can someone please point me in the right direction. I’m currently learning Processing for my Major Project and this …

---

## [Memory card game](https://discourse.processing.org/t/memory-card-game/7160)

<div class="topic-metadata">

**Author:** [@roeludh](https://discourse.processing.org/u/roeludh)\
**Replies:** 18\
**Last updated:** [November 5, 2020, 12:43am UTC](https://discourse.processing.org/t/memory-card-game/7160 "2020-11-05T00:43:15Z")

</div>

Hi, I have to make this memory card game in processing and Im a little stuck somewhere. I have three screens and on the third screen the game is displayed based on the selected number of cards in the second screen. This…

---

## [Slow render in WebGL](https://discourse.processing.org/t/slow-render-in-webgl/25051)

<div class="topic-metadata">

**Author:** [@Tahsin](https://discourse.processing.org/u/Tahsin)\
**Replies:** 4\
**Last updated:** [November 5, 2020, 4:01am UTC](https://discourse.processing.org/t/slow-render-in-webgl/25051 "2020-11-05T04:01:54Z")

</div>

Hey, I want to make a terrain generator in p5. So, I need WebGL to rotate the canvas on X axis. But, even trying to render 500 lines makes the whole sketch extremely slow. If I remove the WEBGL, the sketch runs pretty fa…

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

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