# Latest

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

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

**Page:** 209

---

## [How do i add characters in a string, i have 11 digits in my string and i am supposed to add the odd number positions](https://discourse.processing.org/t/how-do-i-add-characters-in-a-string-i-have-11-digits-in-my-string-and-i-am-supposed-to-add-the-odd-number-positions/31174)

<div class="topic-metadata">

**Author:** [@Tay](https://discourse.processing.org/u/Tay)\
**Replies:** 10\
**Last updated:** [July 12, 2021, 4:00am UTC](https://discourse.processing.org/t/how-do-i-add-characters-in-a-string-i-have-11-digits-in-my-string-and-i-am-supposed-to-add-the-odd-number-positions/31174 "2021-07-12T04:00:14Z")

</div>

please format code with \</\> button \* homework policy \* asking questions How do i add characters in a string, i have 11 digits in my string and i am supposed to add the odd number positions

---

## [Help with for(SOLVED)](https://discourse.processing.org/t/help-with-for-solved/31184)

<div class="topic-metadata">

**Author:** [@ultimakey](https://discourse.processing.org/u/ultimakey)\
**Replies:** 5\
**Last updated:** [July 11, 2021, 10:54pm UTC](https://discourse.processing.org/t/help-with-for-solved/31184 "2021-07-11T22:54:06Z")

</div>

thank you TfGuy44 for helping me out!! (SOLVED)

---

## [How to say: if the result is zero then the digit is zero otherwise it is 600](https://discourse.processing.org/t/how-to-say-if-the-result-is-zero-then-the-digit-is-zero-otherwise-it-is-600/31180)

<div class="topic-metadata">

**Author:** [@Tay](https://discourse.processing.org/u/Tay)\
**Replies:** 4\
**Last updated:** [July 11, 2021, 8:53pm UTC](https://discourse.processing.org/t/how-to-say-if-the-result-is-zero-then-the-digit-is-zero-otherwise-it-is-600/31180 "2021-07-11T20:53:38Z")

</div>

I am trying to use the if function to say if the result is zero then the digit is equals to zero otherwise it is 600 but its giving me a boolean error no matter what I try. This is my code so far int result= mult%10;…

---

## [Drawing chains using loops](https://discourse.processing.org/t/drawing-chains-using-loops/31182)

<div class="topic-metadata">

**Author:** [@matto](https://discourse.processing.org/u/matto)\
**Replies:** 3\
**Last updated:** [July 11, 2021, 8:43pm UTC](https://discourse.processing.org/t/drawing-chains-using-loops/31182 "2021-07-11T20:43:52Z")

</div>

Am working on a code using loops, basically what I want to do is draw a chain of circles that stretches from the center of the screen to the mouse position. but I can’t make the chain follow the mouse this is my code so…

---

## [Set Image as Android wallpaper](https://discourse.processing.org/t/set-image-as-android-wallpaper/31177)

<div class="topic-metadata">

**Author:** [@khzuber](https://discourse.processing.org/u/khzuber)\
**Replies:** 0\
**Last updated:** [July 11, 2021, 6:00pm UTC](https://discourse.processing.org/t/set-image-as-android-wallpaper/31177 "2021-07-11T18:00:27Z")

</div>

Hello. I just finished my first live wallpaper using Calsign’s APDE. Now i wonder how to simply set a jpg as a wallpaper for home/lock screen with APDE or Android Mode (not live wallpaper!). I found some rather complex e…

---

## [Why does the street view not work?](https://discourse.processing.org/t/why-does-the-street-view-not-work/31167)

<div class="topic-metadata">

**Author:** [@MoonAlien822](https://discourse.processing.org/u/MoonAlien822)\
**Replies:** 3\
**Last updated:** [July 11, 2021, 10:24am UTC](https://discourse.processing.org/t/why-does-the-street-view-not-work/31167 "2021-07-11T10:24:19Z")

</div>

Why does the street view not work? everything works exept for the first line package com.app.maps1.fragments; import android.content.Intent; import android.location.Address; import android.location.Geocoder; import an…

---

## [loadStrings function not as reference?](https://discourse.processing.org/t/loadstrings-function-not-as-reference/31149)

<div class="topic-metadata">

**Author:** [@RichardDL](https://discourse.processing.org/u/RichardDL)\
**Replies:** 6\
**Last updated:** [July 11, 2021, 1:54pm UTC](https://discourse.processing.org/t/loadstrings-function-not-as-reference/31149 "2021-07-11T13:54:05Z")

</div>

I’ve just tried the first example on the \[loadStrings reference\](file:///C:/Programs/Processing/modes/java/reference/loadStrings\_.html) page. It works perfectly loading list.txt from the sketch’s folder, but not from th…

---

## [Get() returns an empty pixels array](https://discourse.processing.org/t/get-returns-an-empty-pixels-array/31132)

<div class="topic-metadata">

**Author:** [@k5221](https://discourse.processing.org/u/k5221)\
**Replies:** 3\
**Last updated:** [July 11, 2021, 8:13am UTC](https://discourse.processing.org/t/get-returns-an-empty-pixels-array/31132 "2021-07-11T08:13:52Z")

</div>

Hi, I want to show the cropped picture created by shuffling the certain portion of the original videocam image. “capture.get()” function in draw() works correctly, but because the returning object has an empty array as t…

---

## [Changing the location of sketch on screen](https://discourse.processing.org/t/changing-the-location-of-sketch-on-screen/31158)

<div class="topic-metadata">

**Author:** [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Replies:** 0\
**Last updated:** [July 10, 2021, 9:24pm UTC](https://discourse.processing.org/t/changing-the-location-of-sketch-on-screen/31158 "2021-07-10T21:24:43Z")

</div>

Hi, I’ve spent a good bit of time reading through the posts on the forum and on Google and could not find a previous topic on the issue. Is there any way to achieve this. To clarify I would like to be able to move the s…

---

## [Spin rectangles in place](https://discourse.processing.org/t/spin-rectangles-in-place/31145)

<div class="topic-metadata">

**Author:** [@seldomcoder](https://discourse.processing.org/u/seldomcoder)\
**Replies:** 5\
**Last updated:** [July 10, 2021, 7:46pm UTC](https://discourse.processing.org/t/spin-rectangles-in-place/31145 "2021-07-10T19:46:50Z")

</div>

I have created a spiral of rectangles. Now, I want those rectangles to spin in their respective places. How do I go about it? I have attached the code here: \< // import the library import com.hamoid.\*; // create a new…

---

## [Rotating 3D-objects in PGraphics for hires output](https://discourse.processing.org/t/rotating-3d-objects-in-pgraphics-for-hires-output/31155)

<div class="topic-metadata">

**Author:** [@ArjanBytez](https://discourse.processing.org/u/ArjanBytez)\
**Replies:** 2\
**Last updated:** [July 10, 2021, 7:02pm UTC](https://discourse.processing.org/t/rotating-3d-objects-in-pgraphics-for-hires-output/31155 "2021-07-10T19:02:37Z")

</div>

I’m trying to achieve something which should be fairly easy, but after checking the forums I still can’t get it to work: making 3D-objects to rotate in hires imagery in Processing (v3 in this case, v4 doesn’t seem to wor…

---

## [Pre-3.0 Releases Work, but 3.0+ Crashes on Startup With No Error](https://discourse.processing.org/t/pre-3-0-releases-work-but-3-0-crashes-on-startup-with-no-error/31115)

<div class="topic-metadata">

**Author:** [@krakuu42](https://discourse.processing.org/u/krakuu42)\
**Replies:** 6\
**Last updated:** [July 10, 2021, 3:51pm UTC](https://discourse.processing.org/t/pre-3-0-releases-work-but-3-0-crashes-on-startup-with-no-error/31115 "2021-07-10T15:51:40Z")

</div>

Hey everyone, I used to have Processing a couple of years ago, and just wanted to get back into. Before I get into it, I should start by saying I have been scouring the forum and github looking at similar issues and tryi…

---

## [What does the % mean in the following code below](https://discourse.processing.org/t/what-does-the-mean-in-the-following-code-below/31143)

<div class="topic-metadata">

**Author:** [@bopStu77](https://discourse.processing.org/u/bopStu77)\
**Replies:** 9\
**Last updated:** [July 10, 2021, 12:55pm UTC](https://discourse.processing.org/t/what-does-the-mean-in-the-following-code-below/31143 "2021-07-10T12:55:41Z")

</div>

int x = 35; int cols, rows; void setup() { size(280,280); strokeWeight(2); cols = width/x; rows = height/x; } void draw() { for (int m = 0; m \< cols; m++) { for (int n = 0; n \< rows; n++) { \*\*\*if ((m % 2 == …

---

## [Single rectangle button](https://discourse.processing.org/t/single-rectangle-button/30948)

<div class="topic-metadata">

**Author:** [@PARINAZ129](https://discourse.processing.org/u/PARINAZ129)\
**Replies:** 4\
**Last updated:** [July 10, 2021, 11:30am UTC](https://discourse.processing.org/t/single-rectangle-button/30948 "2021-07-10T11:30:36Z")

</div>

Dear As you or your co-workers suggested to me,I tried to change my code.at this time I want to make a single rect button that has been filled with multiple colors as it being pressed however it doesn’t work. may I ask …

---

## [Parabolic Curve](https://discourse.processing.org/t/parabolic-curve/31122)

<div class="topic-metadata">

**Author:** [@bopStu77](https://discourse.processing.org/u/bopStu77)\
**Replies:** 10\
**Last updated:** [July 10, 2021, 2:37am UTC](https://discourse.processing.org/t/parabolic-curve/31122 "2021-07-10T02:37:06Z")

</div>

I’m new to coding and processing. I have no idea how to begin this code, I wonder how I should start? This what I need to get below. please format code with \</\> button \* homework policy \* asking questions

---

## [Clone canvas to p5 creategraphics()](https://discourse.processing.org/t/clone-canvas-to-p5-creategraphics/31142)

<div class="topic-metadata">

**Author:** [@atagger](https://discourse.processing.org/u/atagger)\
**Replies:** 2\
**Last updated:** [July 9, 2021, 8:09pm UTC](https://discourse.processing.org/t/clone-canvas-to-p5-creategraphics/31142 "2021-07-09T20:09:14Z")

</div>

Is there a way to clone the entire p5 canvas to creategraphics? I’m trying to render a SVG using the p5.js-svg library, but I don’t want to set the entire canvas renderer to “SVG”, because I only need the output to happe…

---

## [Julia Set with Numpy and py5](https://discourse.processing.org/t/julia-set-with-numpy-and-py5/30992)

<div class="topic-metadata">

**Author:** [@monkstone](https://discourse.processing.org/u/monkstone)\
**Replies:** 6\
**Last updated:** [July 9, 2021, 5:41pm UTC](https://discourse.processing.org/t/julia-set-with-numpy-and-py5/30992 "2021-07-09T17:41:48Z")

</div>

I’ve been doing some more experimenting with py5 (and remember I’m a rubyist at heart) so I was very pleased when I was able to create a julia set with py5 and numpy. @solub, @villares and @tabreturn will certainly do be…

---

## [2 random points on the circumference of a circle](https://discourse.processing.org/t/2-random-points-on-the-circumference-of-a-circle/31129)

<div class="topic-metadata">

**Author:** [@gentle\_ben](https://discourse.processing.org/u/gentle_ben)\
**Replies:** 4\
**Last updated:** [July 9, 2021, 1:09pm UTC](https://discourse.processing.org/t/2-random-points-on-the-circumference-of-a-circle/31129 "2021-07-09T13:09:21Z")

</div>

Hi, hope you can help me. I’m sure this is simple. I’ve found many references to getting random point on the edge of circle using (cos(angle)\*radius, sin(angle)\*radius) but what i have come up with generates points that…

---

## [Updating packages inside VisualStudio editor](https://discourse.processing.org/t/updating-packages-inside-visualstudio-editor/31102)

<div class="topic-metadata">

**Author:** [@WhiteSte](https://discourse.processing.org/u/WhiteSte)\
**Replies:** 1\
**Last updated:** [July 9, 2021, 12:05pm UTC](https://discourse.processing.org/t/updating-packages-inside-visualstudio-editor/31102 "2021-07-09T12:05:10Z")

</div>

Hi i’m trying to execute a code but i’m incurring into some problems. The first problem is the rendering execution of the GUI’s text (controlP5) of my big program. To fix that, i’m trying to execute a little code, but it…

---

## [I'm trying to make an Agar.io copy](https://discourse.processing.org/t/im-trying-to-make-an-agar-io-copy/7327)

<div class="topic-metadata">

**Author:** [@Krokido](https://discourse.processing.org/u/Krokido)\
**Replies:** 7\
**Last updated:** [January 9, 2019, 9:37am UTC](https://discourse.processing.org/t/im-trying-to-make-an-agar-io-copy/7327 "2019-01-09T09:37:08Z")

</div>

I am new in programming and I wanted to try to make Agar.io copy, but I do not know how to create food. My code

---

## [Frame count delay in showing button](https://discourse.processing.org/t/frame-count-delay-in-showing-button/31116)

<div class="topic-metadata">

**Author:** [@fleshcircuit](https://discourse.processing.org/u/fleshcircuit)\
**Replies:** 2\
**Last updated:** [July 9, 2021, 7:04am UTC](https://discourse.processing.org/t/frame-count-delay-in-showing-button/31116 "2021-07-09T07:04:00Z")

</div>

Hello, I would like to make a button appear after a delay using frame count. When I put the button in the setup, it appears at the bottom of the screen and only moves to correct place later. let phrase = \['Time' ,'is' …

---

## [Open console instead of window](https://discourse.processing.org/t/open-console-instead-of-window/31040)

<div class="topic-metadata">

**Author:** [@CodeMasterX](https://discourse.processing.org/u/CodeMasterX)\
**Replies:** 11\
**Last updated:** [July 9, 2021, 6:43am UTC](https://discourse.processing.org/t/open-console-instead-of-window/31040 "2021-07-09T06:43:32Z")

</div>

Hi! Is it possible to open a console window instead of default window? C++ style, where you can input text / values into it? How does that affect the setup() and draw()? How simple can you make it? I am planning to teac…

---

## [Create Multiple Diagonal Lines](https://discourse.processing.org/t/create-multiple-diagonal-lines/31121)

<div class="topic-metadata">

**Author:** [@bopStu77](https://discourse.processing.org/u/bopStu77)\
**Replies:** 2\
**Last updated:** [July 9, 2021, 1:28am UTC](https://discourse.processing.org/t/create-multiple-diagonal-lines/31121 "2021-07-09T01:28:15Z")

</div>

I’m new to processing and coding. I’m wondering how you get this done.

---

## [Download Videos from websites for example "animefrenzy"](https://discourse.processing.org/t/download-videos-from-websites-for-example-animefrenzy/31106)

<div class="topic-metadata">

**Author:** [@Flolo](https://discourse.processing.org/u/Flolo)\
**Replies:** 11\
**Last updated:** [July 8, 2021, 8:32pm UTC](https://discourse.processing.org/t/download-videos-from-websites-for-example-animefrenzy/31106 "2021-07-08T20:32:20Z")

</div>

Hey, I want to write a program with which you can download and watch the series hunter x hunter. I just need help with the download as I just can’t find a solution. I know I need “more” java for this problem. That’s why …

---

## [Repeat text x times](https://discourse.processing.org/t/repeat-text-x-times/31032)

<div class="topic-metadata">

**Author:** [@MoonAlien822](https://discourse.processing.org/u/MoonAlien822)\
**Replies:** 25\
**Last updated:** [July 8, 2021, 11:34am UTC](https://discourse.processing.org/t/repeat-text-x-times/31032 "2021-07-08T11:34:41Z")

</div>

how do i print a letter, x times? for example, an a repeated 6 times would be aaaaaa

---

## [ICan you change 'Page Unresponsive' time setting?](https://discourse.processing.org/t/ican-you-change-page-unresponsive-time-setting/31105)

<div class="topic-metadata">

**Author:** [@BigBigRed](https://discourse.processing.org/u/BigBigRed)\
**Replies:** 2\
**Last updated:** [July 7, 2021, 10:58pm UTC](https://discourse.processing.org/t/ican-you-change-page-unresponsive-time-setting/31105 "2021-07-07T22:58:06Z")

</div>

I have an idea that I am trying to implement in a sketch. so I am running a loop to calculate the value of each pixel in a 300 \* 300 canvas. So I get the ‘Page Unresponsive: Wait or Cancel’ pop up before the sketch draw…

---

## [HELP : can´t remove sliders from home page](https://discourse.processing.org/t/help-can-t-remove-sliders-from-home-page/31072)

<div class="topic-metadata">

**Author:** [@axelen](https://discourse.processing.org/u/axelen)\
**Replies:** 2\
**Last updated:** [July 7, 2021, 8:04pm UTC](https://discourse.processing.org/t/help-can-t-remove-sliders-from-home-page/31072 "2021-07-07T20:04:29Z")

</div>

I can’t remove sliders from the home page. They should only be visible and working when you press “Start Mixing”. Help please!! Thanks! let myFont let relleno let data let r let b let g let ariana let billie let…

---

## [Displaying text letter by letter](https://discourse.processing.org/t/displaying-text-letter-by-letter/31099)

<div class="topic-metadata">

**Author:** [@Polo](https://discourse.processing.org/u/Polo)\
**Replies:** 3\
**Last updated:** [July 7, 2021, 3:34pm UTC](https://discourse.processing.org/t/displaying-text-letter-by-letter/31099 "2021-07-07T15:34:37Z")

</div>

Hello everyone, I’m a school-level beginner programmer and I’m trying to display text letter by letter. There is something that I don’t understand about my code, because it works perfectly on a console but just doesn’t u…

---

## [Random Achievement system](https://discourse.processing.org/t/random-achievement-system/31063)

<div class="topic-metadata">

**Author:** [@Gyrosis](https://discourse.processing.org/u/Gyrosis)\
**Replies:** 2\
**Last updated:** [July 7, 2021, 2:33pm UTC](https://discourse.processing.org/t/random-achievement-system/31063 "2021-07-07T14:33:09Z")

</div>

How would I create an achievement system so when I kill an X amount of random enemies in a random X amount of time.

---

## [Project for improving touch typing](https://discourse.processing.org/t/project-for-improving-touch-typing/31053)

<div class="topic-metadata">

**Author:** [@AlbertoGiSa](https://discourse.processing.org/u/AlbertoGiSa)\
**Replies:** 1\
**Last updated:** [July 7, 2021, 2:29pm UTC](https://discourse.processing.org/t/project-for-improving-touch-typing/31053 "2021-07-07T14:29:30Z")

</div>

Hello All! I bring a project to help us, one for all, with our touch typing. What I want is to have the image of our fingers on the keyboard in the very computer’s screen. So we can stop looking down to the keyboard wh…

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

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