I will add more thoughts to this later but for now:
Ok so I spent too much time trying to figure out the timer that I think the other parts of the project fell flat.
It was fun to try and sync up parts of the audio using the timer and not being crippled by the delay functions.
Anyways, I've talked about my intention in the last post where I wanted to either recreate or create a new piece in the series. This is mostly the intention to create an atmosphere that is charged by the word used. The audio is distorted and manipulated to create a sense of madness not obviously present without it.
Now whether I've successfully acquired that or not, would totally be up to the viewer of the piece. I personally feel a difference of interpretation.
anyways, I wont be posting the code here because it's a bit too brain dead. Anyways, thats it for me.
OKAY okay hear me out. I got two one main idea for this week. Not a lot of things to show (Screw midterms man) but this is mostly going to be a proposal of some sort to keep myself in check and not go too far learning too much too fast.
My initial brainstorming with this project is a little bit of a recall to previous project that I've done.
Recreation of it with a much more advance usage of code. (I think at this point it'll be part of a series) More specifically the usage of classes and array in a tasteful and true to the website. I'm also thinking of interactivity that can happen within the code, but generally with the nature of that website, this project idea will have to be closer to generative.
Using the previous week's code, I can create what I need, (snow or particles) specially for the aesthetics that I want. Vector shapes will definitely have to be a part of this since the website used vector shapes. (Now, the usage of vector is definitely not needed but I want.) This project in specific will aim at making the god damn code more efficient as well.
I've also learnt how to implement txt files into the sketch from previous classes that I've had and I think it'll make for a good reminder and mayhaps an interesting usage of it like visual novel prompts.
I will however, be using less of a depressive thinking than I did with the website. I do think I've accomplished what I wanted with that website and that is to create a space of meditation and, like the title of the website, Melancholy when the viewer is experiencing that. I will try to imitate the same success, (and hoping its possible to use libraries) as well as use music since that is the biggest factor of that website.
(Afterthought) Second idea is a game. I think the creation or recreation of game like Pong will be a nice challenge especially with the newly gained coding knowledge of class. (Like seriously, the classes basically made the performance of sketches better and its so much easier to code.) I do think that this one will definitely screw with me, especially with the lag of control input. Then there's the monster of creating AI for the opponent, that needs to be beatable, so I doubt this would be the path that I should choose. (And given that I'm basically behind for this week, I think this should be done at a later date.)
I will be experimenting on code during the week as well as implementing them in the project that I will do. For now I'm stressin' hard so stress coding week time. :U
Sorry for literally a wall of text, I had to resort to this for this week :(
I have attempted to make a collision physics for this fucking snowfall for way too long. I even tried to just do just ease the snow particles away but to no avail. I don't really know what's wrong with it, but I did learn how to utilize arrays so that the computer doesn't explode trying to load all of these snowfall particles.
anyways my head hurts lots soooo.. Here's the video
My code is a big ol' mess. So have fun cringing at it cuz I wasted so much time trying to figure this out.
also the rain looks like its actually colliding with the box, Optical illusion I guess.
//this is mostly for the other one
int i;
int quantity = 1000;
float [] x = new float[quantity];
float [] y = new float[quantity];
float [] x1 = new float[quantity];
float [] y1 = new float[quantity];
int [] Size = new int[quantity];
int [] direction = new int[quantity];
int minSize = 4;
int maxSize = 5;
float xS;
int [] speed = new int[quantity];
//the big blocking cirle
float Ux1;
float Uy1;
float ease = .05;
//calls the snow from the other tab
SnowParticles snow;
void setup(){
size(1280,720);
smooth();
noStroke();
for(int i = 0; i < quantity; i++) {
x[i] = random(0, width);
y[i] = random(0, height);
Size[i] = round(random(minSize, maxSize));
//direction[i] = round(random(0, 1));
speed[i] = round(random(1,10));
}
}
void draw(){
background(50,80,100,1);
umbra(100);
snowCall();
fill(20,10,10,50);
rect(128, 0, width*.8, height*.9);
}
void snowCall(){
for(int i = 0; i < x.length; i++) {
//attempt on easing snowfall away from the mouseX
//calls for the Snowparticle from the other tab
snow = new SnowParticles(x[i],y[i],Size[i]);
snow.shakingMovement();
snow.display();
//direction is disabled so only the else works atm
//switches between 2 directions of X
if(direction[i] == 0) {
x[i] += map(Size[i], minSize, maxSize, xS, xS);
} else {
x[i] -= map(Size[i], minSize, maxSize, xS, xS);
}
//makes the snow fall in the Y axis
y[i] += speed[i] + direction[i];
//basically the collision but it also makes it so the snow piece loops