# Latest

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

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

**Page:** 257

---

## [Oblique text using CSS directly in P5](https://discourse.processing.org/t/oblique-text-using-css-directly-in-p5/27458)

<div class="topic-metadata">

**Author:** [@holytypo](https://discourse.processing.org/u/holytypo)\
**Replies:** 2\
**Last updated:** [February 8, 2021, 12:08am UTC](https://discourse.processing.org/t/oblique-text-using-css-directly-in-p5/27458 "2021-02-08T00:08:31Z")

</div>

Hey guys, I want to change the font weight and oblique angle directly in p5. I’ve managed to change the weight this way: p.style('font-weight', map(mouseX, 0, width, 1, 999)) but cannot find a way to change the slant…

---

## [Codecember 2020 showreel](https://discourse.processing.org/t/codecember-2020-showreel/27655)

<div class="topic-metadata">

**Author:** [@josephh](https://discourse.processing.org/u/josephh)\
**Replies:** 0\
**Last updated:** [February 7, 2021, 7:17pm UTC](https://discourse.processing.org/t/codecember-2020-showreel/27655 "2021-02-07T19:17:15Z")

</div>

Hi everyone, I wanted to share with you the work I made during the codecember event last december created by @octref (About | Pine's Blog) and Anthony Fu. (go check out their websites they are amazing! :wink: ) Quoting…

---

## [Question about TexttoPoint()](https://discourse.processing.org/t/question-about-texttopoint/27627)

<div class="topic-metadata">

**Author:** [@kmn063836](https://discourse.processing.org/u/kmn063836)\
**Replies:** 7\
**Last updated:** [February 7, 2021, 4:47pm UTC](https://discourse.processing.org/t/question-about-texttopoint/27627 "2021-02-07T16:47:48Z")

</div>

Hi, I have a question about TexttoPoint() in p5.js. Is there a way to set/limit the number of points that draw the letter? For example, I’d like to draw both letters ‘A’ and ‘B’ only with 10 points but not sure how… (U…

---

## [Multiple values for incoming data being printed](https://discourse.processing.org/t/multiple-values-for-incoming-data-being-printed/27591)

<div class="topic-metadata">

**Author:** [@saaqib.m](https://discourse.processing.org/u/saaqib.m)\
**Replies:** 9\
**Last updated:** [February 7, 2021, 4:11pm UTC](https://discourse.processing.org/t/multiple-values-for-incoming-data-being-printed/27591 "2021-02-07T16:11:31Z")

</div>

Hi, I had a problem with my Processing data collection: essentially when my data comes in from the Arduino and to Processing, I save it onto a csv file. However, on the csv file it so happens that a value for one time s…

---

## [Multiple print values from Arduino and Processing](https://discourse.processing.org/t/multiple-print-values-from-arduino-and-processing/27545)

<div class="topic-metadata">

**Author:** [@saaqib.m](https://discourse.processing.org/u/saaqib.m)\
**Replies:** 1\
**Last updated:** [February 7, 2021, 3:20pm UTC](https://discourse.processing.org/t/multiple-print-values-from-arduino-and-processing/27545 "2021-02-07T15:20:47Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hi, I am trying to send multiple print statements from my arduino to processing but I cant seem to obtain it properly in the processing. Could s…

---

## ['Util' bad, but 'Utility' good?!](https://discourse.processing.org/t/util-bad-but-utility-good/27649)

<div class="topic-metadata">

**Author:** [@Aleksi](https://discourse.processing.org/u/Aleksi)\
**Replies:** 2\
**Last updated:** [February 7, 2021, 2:16pm UTC](https://discourse.processing.org/t/util-bad-but-utility-good/27649 "2021-02-07T14:16:45Z")

</div>

Can someone please help me understand why the constructor of a class name Util doesn’t work, yet it does for a class named Utility? I’m still wrapping my head around Eclipse. For a simple get to know how to use Eclipse …

---

## [QUAD\_STRIP not working in WEBGL](https://discourse.processing.org/t/quad-strip-not-working-in-webgl/27638)

<div class="topic-metadata">

**Author:** [@KeirMeDear](https://discourse.processing.org/u/KeirMeDear)\
**Replies:** 2\
**Last updated:** [February 7, 2021, 9:37am UTC](https://discourse.processing.org/t/quad-strip-not-working-in-webgl/27638 "2021-02-07T09:37:38Z")

</div>

So I’m trying to create a grid, with each row being a single beginShape() object using QUAD\_STRIP. My code uses a nested for loop to generate the x and y values, and then runs through these values per row, with each xy …

---

## [getURLParams() returning undefined](https://discourse.processing.org/t/geturlparams-returning-undefined/27631)

<div class="topic-metadata">

**Author:** [@toby](https://discourse.processing.org/u/toby)\
**Replies:** 2\
**Last updated:** [February 7, 2021, 9:20am UTC](https://discourse.processing.org/t/geturlparams-returning-undefined/27631 "2021-02-07T09:20:49Z")

</div>

Hi, I’m trying to use getURLParams() but get undefined, tested in Chrome and Firefox. Code below and online. Can anyone see what is wrong, please? thanks! // test with https://editor.p5js.org/tobyhoward/sketches/TJeGFhQ…

---

## [Revisiting the Handy library in JRubyArt](https://discourse.processing.org/t/revisiting-the-handy-library-in-jrubyart/4100)

<div class="topic-metadata">

**Author:** [@monkstone](https://discourse.processing.org/u/monkstone)\
**Replies:** 6\
**Last updated:** [February 6, 2021, 9:28pm UTC](https://discourse.processing.org/t/revisiting-the-handy-library-in-jrubyart/4100 "2021-02-06T21:28:33Z")

</div>

The handy library is very useful if you like that hand-drawn look:- Here is a JRubyArt sketch using the handy library load\_library :handy java\_import 'org.gicentre.handy.HandyRenderer' BALL\_NUM = 6 BALL\_COLORS = \[\[255,…

---

## [.mov and .mp4 files won't run w/ Video Library](https://discourse.processing.org/t/mov-and-mp4-files-wont-run-w-video-library/27597)

<div class="topic-metadata">

**Author:** [@Hassan0987](https://discourse.processing.org/u/Hassan0987)\
**Replies:** 1\
**Last updated:** [February 6, 2021, 7:46pm UTC](https://discourse.processing.org/t/mov-and-mp4-files-wont-run-w-video-library/27597 "2021-02-06T19:46:27Z")

</div>

Well Hello! I’m beginning in Arduino and Processing which I think is a PERFECT alliance for me. I don’t know about you but for me it’s a dream come true to be able to make our own robot and make our own app to control …

---

## [Android Bluetooth native code](https://discourse.processing.org/t/android-bluetooth-native-code/27586)

<div class="topic-metadata">

**Author:** [@jafal](https://discourse.processing.org/u/jafal)\
**Replies:** 12\
**Last updated:** [February 6, 2021, 7:42pm UTC](https://discourse.processing.org/t/android-bluetooth-native-code/27586 "2021-02-06T19:42:30Z")

</div>

hi this code for member was helping what i need how to send 6 controlp5 sliders values to raduino any one can help??? import android.Manifest; import android.content.pm.PackageManager; import android.os.Build; imp…

---

## [How do I move a point along a line, starting from (mouseX, mouseY), to a target](https://discourse.processing.org/t/how-do-i-move-a-point-along-a-line-starting-from-mousex-mousey-to-a-target/27637)

<div class="topic-metadata">

**Author:** [@mario60](https://discourse.processing.org/u/mario60)\
**Replies:** 7\
**Last updated:** [February 6, 2021, 7:17pm UTC](https://discourse.processing.org/t/how-do-i-move-a-point-along-a-line-starting-from-mousex-mousey-to-a-target/27637 "2021-02-06T19:17:13Z")

</div>

Hello given the code below, do you see a simple way to modify it as keep the blue ball to move along the line, when the starting point is given by (mouseX, mouseY)? thanks cheers m. float xi=50; float yi=50; float x …

---

## [Add song to sketch in Processing p5-Mode](https://discourse.processing.org/t/add-song-to-sketch-in-processing-p5-mode/27580)

<div class="topic-metadata">

**Author:** [@myCatIsAwesome](https://discourse.processing.org/u/myCatIsAwesome)\
**Replies:** 6\
**Last updated:** [February 6, 2021, 6:17pm UTC](https://discourse.processing.org/t/add-song-to-sketch-in-processing-p5-mode/27580 "2021-02-06T18:17:29Z")

</div>

I am using Processing in p5 Mode. I added a songfile to my sketch via sketch-\> add file (I hope that add file is the correct english translation). The thing is I tried all various ways to make it work code wise (preload…

---

## [Curve density over an image](https://discourse.processing.org/t/curve-density-over-an-image/3210)

<div class="topic-metadata">

**Author:** [@stirman](https://discourse.processing.org/u/stirman)\
**Replies:** 27\
**Last updated:** [February 6, 2021, 5:42pm UTC](https://discourse.processing.org/t/curve-density-over-an-image/3210 "2021-02-06T17:42:38Z")

</div>

I’m curious how I might approach loading a high-contrast image and then creating lines/curves to that are more densely overlapped in the dark areas, to recreate something like this… I’m fairly adept at understanding t…

---

## [Bouncing Ball Velocity Problem](https://discourse.processing.org/t/bouncing-ball-velocity-problem/27620)

<div class="topic-metadata">

**Author:** [@Akiraishido](https://discourse.processing.org/u/Akiraishido)\
**Replies:** 2\
**Last updated:** [February 6, 2021, 11:51am UTC](https://discourse.processing.org/t/bouncing-ball-velocity-problem/27620 "2021-02-06T11:51:10Z")

</div>

I’m new to Processing (I programmed in C# before) and I tried to make a bouncing ball with vectors but when I run the program, the ball goes a little bit to the right. This is my code: Ball b; void setup() { size(12…

---

## [Unexpected Error for a macOS application made with Processing](https://discourse.processing.org/t/unexpected-error-for-a-macos-application-made-with-processing/23047)

<div class="topic-metadata">

**Author:** [@graysonh](https://discourse.processing.org/u/graysonh)\
**Replies:** 5\
**Last updated:** [February 6, 2021, 10:10am UTC](https://discourse.processing.org/t/unexpected-error-for-a-macos-application-made-with-processing/23047 "2021-02-06T10:10:19Z")

</div>

I just finished a project I have been working on and exported it to a macOS application. When I tried to run it the app didn’t open and the system threw the following error: Process: DungeonCrawler \[21042…

---

## [Dc motor position control](https://discourse.processing.org/t/dc-motor-position-control/27482)

<div class="topic-metadata">

**Author:** [@r0x15](https://discourse.processing.org/u/r0x15)\
**Replies:** 22\
**Last updated:** [February 6, 2021, 7:41am UTC](https://discourse.processing.org/t/dc-motor-position-control/27482 "2021-02-06T07:41:41Z")

</div>

Good evening I would need to check the position of an engine via android (mobile phone) everything is managed by arduino uno, with a motor driver, an encoder and dc motor connected, the code should have a text box wher…

---

## [Looking for simple examples of A\* pathfinding algorithm](https://discourse.processing.org/t/looking-for-simple-examples-of-a-pathfinding-algorithm/27616)

<div class="topic-metadata">

**Author:** [@jensemand](https://discourse.processing.org/u/jensemand)\
**Replies:** 1\
**Last updated:** [February 6, 2021, 12:56am UTC](https://discourse.processing.org/t/looking-for-simple-examples-of-a-pathfinding-algorithm/27616 "2021-02-06T00:56:31Z")

</div>

Hi, as the title says I’m looking for a simple example of the A\* algorithm as shown in the following link down below: I have also looked at the example made by Peter Lager, however it was way to hard for so…

---

## [Problems with cursor()](https://discourse.processing.org/t/problems-with-cursor/27584)

<div class="topic-metadata">

**Author:** [@jensemand](https://discourse.processing.org/u/jensemand)\
**Replies:** 2\
**Last updated:** [February 6, 2021, 12:27am UTC](https://discourse.processing.org/t/problems-with-cursor/27584 "2021-02-06T00:27:30Z")

</div>

Hi, I have a little project and i am trying to change the normal cursor with an image and it works for a little while, however after 1 minute it stops working (the cursor just changes back to the arrow and won’t change a…

---

## [Combining Multiple SVG Elements](https://discourse.processing.org/t/combining-multiple-svg-elements/27615)

<div class="topic-metadata">

**Author:** [@BeneBeats](https://discourse.processing.org/u/BeneBeats)\
**Replies:** 0\
**Last updated:** [February 5, 2021, 11:59pm UTC](https://discourse.processing.org/t/combining-multiple-svg-elements/27615 "2021-02-05T23:59:59Z")

</div>

I’m creating SVGs in Processing for pen plotting. Everything is going great until I start plotting. The test Truchet tiles I’ve created end up as separate arcs. I’ll attach some example pictures. The output SVG looks so…

---

## [None of the sound libraries working under Linux Mint](https://discourse.processing.org/t/none-of-the-sound-libraries-working-under-linux-mint/27558)

<div class="topic-metadata">

**Author:** [@cartocopia](https://discourse.processing.org/u/cartocopia)\
**Replies:** 5\
**Last updated:** [February 5, 2021, 10:50pm UTC](https://discourse.processing.org/t/none-of-the-sound-libraries-working-under-linux-mint/27558 "2021-02-05T22:50:26Z")

</div>

None of the sound libraries work for me under with Processing 3.5.4 on Linux Mint 20. The basic Sound , Beads and Minim all give the same error when trying to run any of their included demo sketches : javax.sound.samp…

---

## [P2D P3D causing core dump](https://discourse.processing.org/t/p2d-p3d-causing-core-dump/27610)

<div class="topic-metadata">

**Author:** [@cartocopia](https://discourse.processing.org/u/cartocopia)\
**Replies:** 6\
**Last updated:** [February 5, 2021, 10:47pm UTC](https://discourse.processing.org/t/p2d-p3d-causing-core-dump/27610 "2021-02-05T22:47:42Z")

</div>

Running Linux Mint 20.1 with latest proprietary NVIDIA drivers, Processing 3.5.4. I have installed Processing just by unpacking the tgz and running it. Any sketch that tries to use the openGL P2D or P3D modes causes a…

---

## [Get width/height of text("Hello world!", x, y)?](https://discourse.processing.org/t/get-width-height-of-text-hello-world-x-y/27611)

<div class="topic-metadata">

**Author:** [@Bassam](https://discourse.processing.org/u/Bassam)\
**Replies:** 2\
**Last updated:** [February 5, 2021, 7:48pm UTC](https://discourse.processing.org/t/get-width-height-of-text-hello-world-x-y/27611 "2021-02-05T19:48:00Z")

</div>

Is there someway to ascertain the width and height of text printed via text("Hello world!", 100, 100);? Thanks!

---

## [P5.js Createfileinput custom text](https://discourse.processing.org/t/p5-js-createfileinput-custom-text/27602)

<div class="topic-metadata">

**Author:** [@nxmusic](https://discourse.processing.org/u/nxmusic)\
**Replies:** 1\
**Last updated:** [February 5, 2021, 6:27pm UTC](https://discourse.processing.org/t/p5-js-createfileinput-custom-text/27602 "2021-02-05T18:27:48Z")

</div>

When I create a input = createFileInput(handleFile); appears the text ‘seleccionar archivo’ and the name of file near. I can change this messages with .style or .attribute? Thanks

---

## [Text manipulation](https://discourse.processing.org/t/text-manipulation/27408)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 0\
**Last updated:** [January 27, 2021, 1:53pm UTC](https://discourse.processing.org/t/text-manipulation/27408 "2021-01-27T13:53:22Z")

</div>

there have been a few text manipulation in processing requests recently, so I thought I’d give it a go. Here is my attempt. the vertices are all sorted in order and trimmed to remove singular points. …

---

## [Noel you are a school](https://discourse.processing.org/t/noel-you-are-a-school/27601)

<div class="topic-metadata">

**Author:** [@jafal](https://discourse.processing.org/u/jafal)\
**Replies:** 0\
**Last updated:** [February 5, 2021, 10:53am UTC](https://discourse.processing.org/t/noel-you-are-a-school/27601 "2021-02-05T10:53:32Z")

</div>

noel You are a complete school person and deserve all the best You have a distinctive style of communicating information, and you add to it many simplifications to provide an excellent way to enter the mind I apprecia…

---

## ['cannot find symbol'](https://discourse.processing.org/t/cannot-find-symbol/27594)

<div class="topic-metadata">

**Author:** [@Aleksi](https://discourse.processing.org/u/Aleksi)\
**Replies:** 2\
**Last updated:** [February 5, 2021, 4:23am UTC](https://discourse.processing.org/t/cannot-find-symbol/27594 "2021-02-05T04:23:23Z")

</div>

I figure it’s about time to compile my own libraries. I was able to follow the processing library template instructions for using eclipse to create the example HelloLibrary class. It compiled. The library showed up as …

---

## [G4P - Placing a GView Within a GWindow](https://discourse.processing.org/t/g4p-placing-a-gview-within-a-gwindow/27575)

<div class="topic-metadata">

**Author:** [@MauiMana](https://discourse.processing.org/u/MauiMana)\
**Replies:** 2\
**Last updated:** [February 5, 2021, 1:44am UTC](https://discourse.processing.org/t/g4p-placing-a-gview-within-a-gwindow/27575 "2021-02-05T01:44:40Z")

</div>

Using the latest version of Processing 3 as well as the latest version of G4P, I’m trying to have a rotating box animating within a popup form. To do this I am using a GWindow (for the ‘popup from’) that has a GView with…

---

## [Loop gif n number of times?](https://discourse.processing.org/t/loop-gif-n-number-of-times/27449)

<div class="topic-metadata">

**Author:** [@mweinberg](https://discourse.processing.org/u/mweinberg)\
**Replies:** 2\
**Last updated:** [February 5, 2021, 12:35am UTC](https://discourse.processing.org/t/loop-gif-n-number-of-times/27449 "2021-02-05T00:35:16Z")

</div>

Hi everyone! I’m trying to figure out how to loop a gif a specific number of times, after which it stops at the first frame. I know that I can stop and pause a gif with play() (https://p5js.org/reference/#/p5.Image/play)…

---

## [Editor feature request: Edit\>Select All](https://discourse.processing.org/t/editor-feature-request-edit-select-all/27588)

<div class="topic-metadata">

**Author:** [@GeorgeRoland](https://discourse.processing.org/u/GeorgeRoland)\
**Replies:** 2\
**Last updated:** [February 4, 2021, 9:11pm UTC](https://discourse.processing.org/t/editor-feature-request-edit-select-all/27588 "2021-02-04T21:11:53Z")

</div>

It would be nice to add this feature. I like to select code and copy it to the Clipboard for use elsewhere. Using a Mac Trackpad, it’s very difficult to click-drag through an entire document.

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

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