det skr kast n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Det skrå kast! PowerPoint Presentation
Download Presentation
Det skrå kast!

Loading in 2 Seconds...

play fullscreen
1 / 12

Det skrå kast! - PowerPoint PPT Presentation


  • 129 Views
  • Uploaded on

Det skrå kast!. Sebastian Smith. Koordinatsystemet. Vandrette og lodrette. Farver Eksempel: w.create_line (100,500,100,0, fill="#c4c1c1 "). Kodning. #--1.Creating horisontal lines-- w.create_line (0,400,700,400, fill="#000000",width=2) w.create_line (0,100,700,100, fill="#c4c1c1")

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Det skrå kast!' - porter


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
det skr kast

Det skrå kast!

Sebastian Smith

koordinatsystemet
Koordinatsystemet

Vandrette og lodrette.

Farver

Eksempel: w.create_line(100,500,100,0, fill="#c4c1c1")

kodning
Kodning.

#--1.Creating horisontal lines--

w.create_line(0,400,700,400, fill="#000000",width=2)

w.create_line(0,100,700,100, fill="#c4c1c1")

w.create_line(0,200,700,200, fill="#c4c1c1")

w.create_line(0,300,700,300, fill="#c4c1c1")

#--2.Creating vertical lines--

w.create_line(600,500,600,0, fill="#000000",width=2)

w.create_line(100,500,100,0, fill="#c4c1c1")

w.create_line(200,500,200,0, fill="#c4c1c1")

w.create_line(300,500,300,0, fill="#c4c1c1")

w.create_line(400,500,400,0, fill="#c4c1c1")

w.create_line(500,500,500,0, fill="#c4c1c1")

tal p koordinatsystemet labels
Tal på koordinatsystemet (Labels)

Placering.

Text.

Placering ved pixel.

Eksemple: w.create_text(95, 100, anchor="se", text="300cm").

kodning1
Kodning.

#--3.Creating horisontal axislabels--

w.create_text(95, 100, anchor="se", text="300cm")

w.create_text(95, 200, anchor="se", text="200cm")

w.create_text(95, 300, anchor="se", text="100cm")

w.create_text(95, 400, anchor="se", text="0cm")

w.create_text(605, 204, anchor="nw", text="Wall")

w.create_text(335, 404, anchor="nw", text="Floor")

w.create_text(105, 460, anchor="nw", text="0cm")

w.create_text(205, 460, anchor="nw", text="100cm")

w.create_text(305, 460, anchor="nw", text="200cm")

w.create_text(405, 460, anchor="nw", text="300cm")

w.create_text(505, 460, anchor="nw", text="400cm")

w.create_text(605, 460, anchor="nw", text="500cm")

grafen
Grafen.

Start position.

Start kræft.

Bevægelse.

kodning2
Kodning

w.create_line(x1,y1,x2,y2, fill="#ff0000")

  • x1=x2
  • y1=y2
  • x1=100.0 #x start position
  • y1=400.0#y start position
  • vx= float(Text10.get()) #x start velocity
  • vy= float(Text10.get())*-1 #y start velocity
tyngdekraft og luftmodstand
Tyngdekraft og luftmodstand.

Tyngdekraft.

Luftmodstand.

Reducering af styrke.

sammenst d og bold
Sammenstød og bold

Væg.

Gulv.

Tegning af bold.

bruger flade
Bruger flade.

Vindue.

Labels.

Bokse.

Knapper.

slide11
Test

Løbende tests.

Færdige produkt test.

Forbedringer.

optimering
Optimering.

Vinkel bolden bliver skudt af sted fra.

Design.