Sunday, 9 October 2011

Final application

So for my Final application I have decided to make it so it does not repeat itself due to the sound not liking it and it always playing up. I have kept the fading line and also the red on black because I really liked that scheme. Overall I feel this project went well despite a lot of confusion with the coding.

Here is the URL for my application : http://www.openprocessing.org/visuals/?visualID=41651

Development

What I found with the white lines is that when they turned white they became invisible but when they crossed the edge of the screen they still produced a sound and I didn't want that. So I made it that if the line was white it didn't produce a sound which did and didn't work. It worked in the sense that when it was white it didn't play a sound but then once they loop around again it cancels out the new black lines drawn and no sound is produced at all. This is quite a serious problem I need to address before hand in.

Development

I have changed the colour of the line and background and I reckon  it looks pretty cool. I made it so when you click the mouse it draws the line which starts off black and fades to red. I really like the aesthetic it produces and it looks a lot more interesting than just plain black and white.

Development

Now that it was working fairly well, I was tasked to try and make the line fade to white and it was fairly difficult because even when it is white it is still playing sound when it reaches the edge of the screen. I'm going to look into ways of stopping that from happening and also try mixing things up a little with some different colour schemes.

Development

After a some help from Ben I've got what I originally wanted for my app. I was shown that arrays aren't scary and I sort of understand how they work now which is good for me and my project.  It now scrolls along the screen and also makes a sound relative to it's y position once it reaches the edge. I am now a happy man. The line keeps going which is fine for a while but one you do it more than 15 times it can start to get a bit crowded on the screen which is a problem.

Development

I have managed to make it repeat itself and also change colour but I'm not sure where I'm going to go from here. I like the idea of the colours layering up as they go but the whole random colour scheme is a bit of a no go because some of the colours are a bit ugly. I'm happy with where I am now but I know I can take this further and get something even better.

Precedent image

I found an image of a conveyor belt because I thought it represented what I want to achieve very well. Like the conveyor belt I want to have my application move.

Development

I managed to get my line moving along the x axis and the y axis movement is restricted which I kind of like. It is a bit basic at the moment but I think I might make it change colours when it reaches the edge of the screen and I might make them build up over time and create these colourful layers. I'm not entirely sure what I'm going to do about the sound at this stage but I'll worry about that later.

First Code

I have figured out how to make my mouse draw a line wherever it goes but I am having problems figuring out how to get it to move while my mouse is moving. When I use the commands that I would normally use like x = x+2 it only moves when my mouse is still and only moves one line in that direction. I fear I may have to venture into the realm of arrays.

Initial Ideas

For Project 3 we are tasked to come up with a 'sound shape' that is both interactive and produces sound. For some initial ideas I drew up a couple of quick sketches.

For the first one I thought of having these strings which when you move your mouse over, depending on the speed of your mouse, creates a sound relative to the speed. When the mouse moves over the strings the strings will vibrate.

Another idea which was just a random thought was to have a farm like setting where when you click on each area of the picture, for example the barn you hear an animal sound. This idea is probably my most basic and not very interesting.

Another one was to have different sized balls which when dropped from different heights make different sounds. Large balls would make a low sound while big balls would make a high sound.

The idea that I thought was the coolest was a sort of conveyor like application where you have a line that is constantly moving from left to right and with the mouse you can shape it. When the line passes over the edge of the screen it makes a sound relative to it's y position.

PROJECT 3