Presentation is loading. Please wait.

Presentation is loading. Please wait.

Creating a Power Point Presentation Jason Flear November 29, 2004.

Similar presentations


Presentation on theme: "Creating a Power Point Presentation Jason Flear November 29, 2004."— Presentation transcript:

1 Creating a Power Point Presentation Jason Flear November 29, 2004

2 Agenda: Audience information Audience information Room information Room information Using a picture Using a picture Some information on java Some information on java How to use the method math.random(); How to use the method math.random(); A billiard ball graphic A billiard ball graphic That moves! That moves! (I hope) (I hope)

3 Audience Information A group of my friends A group of my friends Attending only for interests sake Attending only for interests sake Largely beginners Largely beginners Ages 18 – 22 Ages 18 – 22 Both males and females Both males and females

4 Room Information It will have a theatre shape: It will have a theatre shape: There will be 25 audience members There will be 25 audience members They will sit in semi-circles They will sit in semi-circles The screens at the flat end, The screens at the flat end, with the projector in the middle

5 Working With Pictures Raph & Mike! Raph & Mike! Leo & Donnie! The Ninja Turtles:

6 How to use Math.random(); math.random(); In order to make it generate an integer between 1 and 100 we change it to: int j = (int)(Math.random() * 100 + 1); A basic method in Java that returns A double value between 0.0 and 1.0 A basic method in Java that returns A double value between 0.0 and 1.0 This assigns the integer j to the value retuned by Math.random This assigns the integer j to the value retuned by Math.random This turns the numbers from decimals into whole numbers (1-99) This turns the numbers from decimals into whole numbers (1-99) Needed so that it goes from 1 to 100, not 0 to 99!

7 Bonus: a Billiard Ball


Download ppt "Creating a Power Point Presentation Jason Flear November 29, 2004."

Similar presentations


Ads by Google