# Starting Something New!

Recently, I started my summer class-Digital Innovation Design. This was a good intro for how to use the Processing program for me. I know I still have a lot of practicing to do, but it’s a start! My first attempt at a project done in Processing is pictured below:

To get a closer look at my code for the bike, here it is!

void setup() {
size( 800, 600 );
background( 255, 255, 255 );
fill( 255, 0, 0 );
noStroke();
float firstWheelX = width * (1.0/3.0 );
float wheelY = 300;
float secondWheelX = width * (2.0/3.0);
float topTube = wheelY — wheelRadius — 30;
float gearX = width / 2.0;
ellipse( firstWheelX, wheelY, 100, 100 );
ellipse( secondWheelX, wheelY, 100, 100 );
strokeWeight( 10 );
stroke( 255, 255, 0 );
line( gearX, wheelY, gearX — 20, wheelY + 20);
stroke( 0, 0, 255 );
line( firstWheelX, topTube , secondWheelX, topTube );
line( firstWheelX, topTube , gearX, wheelY);
line( secondWheelX, topTube , gearX, wheelY );
fill( 160, 32, 240 );
ellipse( gearX, wheelY, 25, 25 );
rect( firstWheelX — 50, topTube — 45, ( secondWheelX — firstWheelX ) / 3.0, 10);
stroke( 255, 255, 0 );
line( gearX, wheelY, gearX + 20, wheelY — 20 );
stroke ( 0, 0, 255 );
line ( firstWheelX — 20, topTube — 35, firstWheelX, gearX — 115 );
rect ( secondWheelX — 20, topTube — 15, topTube — 175, 10);
fill ( 0, 255, 0 );
ellipse ( firstWheelX + 2, wheelY + 5, 15, 15 );
ellipse ( secondWheelX + 2, wheelY + 5, 15, 15 );
line ( secondWheelX, topTube — 15, secondWheelX, gearX — 115 );
stroke ( 160, 32, 240 );
rect ( gearX — 40, topTube + 100, 10, 2);
stroke ( 0, 0, 255 );
line ( gearX, topTube, gearX — 20, firstWheelX + 20);

}

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.