Presentation is loading. Please wait.

Presentation is loading. Please wait.

Simple Turing Graphics Woof, Bark, Bark. The Screen (0,0)(600,0) (600,400)(0,400) 300 150 (150,300) First line of code: View.Set(“graphics:600;400”)

Similar presentations


Presentation on theme: "Simple Turing Graphics Woof, Bark, Bark. The Screen (0,0)(600,0) (600,400)(0,400) 300 150 (150,300) First line of code: View.Set(“graphics:600;400”)"— Presentation transcript:

1 Simple Turing Graphics Woof, Bark, Bark

2 The Screen (0,0)(600,0) (600,400)(0,400) 300 150 (150,300) First line of code: View.Set(“graphics:600;400”)

3 All Draw commands need… A colour! Colours are numbers between 0 and 255 There are some predefined colours that you can use: black, red, yellow, green… There is a colour chart in the Turing Resource section of the website.

4 Lets Draw some Stuff! All graphics commands start with Draw. Try this one: Draw.Dot(200,100,24) –200=x coordinate –100= y coordinate –24 is the colour Colours a single pixel

5 Draw.Box Creates a Box… Try this: Draw.Box(10,10, 60,60,red) (10,10) v (60,60)

6 The Turing Help Press F10 Has how the commands work Sample programs Tips on how to do cool things!

7 The Turing Help Click on the Index Tab

8 Draw. Double click on these commands to see how they work!

9 Your Graphics Assignment On the site!


Download ppt "Simple Turing Graphics Woof, Bark, Bark. The Screen (0,0)(600,0) (600,400)(0,400) 300 150 (150,300) First line of code: View.Set(“graphics:600;400”)"

Similar presentations


Ads by Google