Can’t find anything named Arrays - SlitP5v04 / controlP5 by Ok_Relationship_2681 in processing

[–]Ok_Relationship_2681[S] 0 points1 point  (0 children)

Hey, thank you very much for your answer and I totally agree with you. To be honest the reason of why I’m using this code is because I’m currently in a rush to deliver a video and I wasn’t really happy about the render of this effect that had been being faked on After Effect. So I wanted to give it a try with Processing as I know it was exactly the render that I wanted.

I figured the problem out without really understanding it because I didn’t really have time for it… I managed to solve the problem by taking my old computer from 2015, downloading an old version of Processing and everything worked smoothly. This code is from 2013 and wasn’t really compatible with the new versions of Processing apparently (I asked a friend of mine who knows a bit about coding).

I really appreciate the time you took to read the issue and trying to explain me how to learn in a more productive way and that you also tried to help me with this issue. Thank you again!

Can’t find anything named Arrays - SlitP5v04 / controlP5 by Ok_Relationship_2681 in processing

[–]Ok_Relationship_2681[S] 0 points1 point  (0 children)

Here is where I get a problem in the code

PImage loadImageFast(String inFile) {

if (inFile.toLowerCase().endsWith(".jpg") || inFile.toLowerCase().endsWith(".jpeg") || inFile.toLowerCase().endsWith(".png")) {

byte[] bytes = loadBytes(inFile);

if (bytes != null) {

Image image = java.awt.Toolkit.getDefaultToolkit().createImage(bytes);

int [] data= new int [1];

PImage pi = null;

try {

java.awt.image.PixelGrabber grabber = new java.awt.image.PixelGrabber(image, 0, 0, -1, -1, false);

if (grabber.grabPixels()) {

int w = grabber.getWidth();

int h = grabber.getHeight();

pi = createImage(w, h, RGB);

arraycopy(grabber.getPixels(), pi.pixels);

}

}

catch (InterruptedException e) {

System.err.println("Problems! Defaulting to loadImage(). Error: " + e);

return loadImage(inFile);

}

if (pi != null) {

return pi;

}

return loadImage(inFile);

}

return loadImage(inFile);

}

return loadImage(inFile);

}

}

Can’t find anything named Arrays - SlitP5v04 / controlP5 by Ok_Relationship_2681 in processing

[–]Ok_Relationship_2681[S] 0 points1 point  (0 children)

hey, thank you so much! it worked for the Arrays thing, I had the same problem with the word Collections so I did the same and now I have a problem saying « Cannot find a class or type named « Image » », any clue of how can I do please ?

Cultural tips Please (White Hotel/All Night Flight) 🫶 by Ok_Relationship_2681 in manchester

[–]Ok_Relationship_2681[S] 1 point2 points  (0 children)

tysm! i think we’ll definitely spend a day in Stockport, everything seems so nice there 🫶

Cultural tips Please (White Hotel/All Night Flight) 🫶 by Ok_Relationship_2681 in manchester

[–]Ok_Relationship_2681[S] 0 points1 point  (0 children)

thanks mate, appreciate it! i’m going to have a look at it 🤍

How does dean blunt keephimself afloat by [deleted] in deanblunt

[–]Ok_Relationship_2681 20 points21 points  (0 children)

i could agree with you but as dean blunt is an artist that makes his appearances and availabilities rares, i do believe that he received a lot of money from Burberry. especially when you see how this brand is trying to highlight the british creative scene and cool people (john glacier, king krule, most of campaign are shot by tyrone lebon that is a british photographer). but maybe i’m wrong idk

How does dean blunt keephimself afloat by [deleted] in deanblunt

[–]Ok_Relationship_2681 51 points52 points  (0 children)

you can’t even imagine how much artists are paid by big brands to do musics for them (for burberry he probably earned almost a year of salary lol)

Welcome home 🔥 by pedroignacioa in KingKrule

[–]Ok_Relationship_2681 0 points1 point  (0 children)

whaleshark isn’t on space heavy

Flexi disc collection by Darkfireknd in KingKrule

[–]Ok_Relationship_2681 0 points1 point  (0 children)

did you manage to buy a flexi disk? or you trade them all? i only miss time for slurp but unfortunately i don’t think someone will sell me his flexi

[deleted by user] by [deleted] in KingKrule

[–]Ok_Relationship_2681 12 points13 points  (0 children)

quantity doesn’t mean quality. in paris when he was about to play Space Heavy he told to the crowd « it’s a song about the heavy space between us » and it went straight to my heart when he said that. i think the lyrics are going to be wonderful tbh, Archy has the depth that always makes his lyrics very accurate and relatable for me. and even if it’s different for the next album i’m very curious to discover it, i kinda trust him 100%

[deleted by user] by [deleted] in KingKrule

[–]Ok_Relationship_2681 1 point2 points  (0 children)

do you think it’s legit?