1 / 13

Vector Fields

Vector Fields . Mohammad H. Chaghazardi. Fall – winter 2011. In this presentation:. The Physics. The Physics. Field Drawing styles. S tatics. The Physics. Moving charge. The Physics. Highest Accuracy. Stray Charge. The Physics. The Code. Using Arrays instead of Vectors

kael
Download Presentation

Vector Fields

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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Vector Fields Mohammad H. Chaghazardi Fall – winter 2011

  2. In this presentation:

  3. The Physics

  4. The Physics Field Drawing styles

  5. Statics The Physics

  6. Moving charge The Physics Highest Accuracy

  7. Stray Charge The Physics

  8. The Code • Using Arrays instead of Vectors • Function calling • draw function • Scan function ( causes undesired delays) • Super Position function (numerical process) • …

  9. The Graphics Turbo C ! Dream era Borland 5 GNU or DEV + Graphics and winBGIm libraries

  10. The Graphics Type 1 How to Draw an Animation ? • Drawing the Plot • Using the circle and line statements • Showing the Plot • Picturing Delays • Clearing the Plot • Using cleardevice ( ) function • Drawing again! FAIL !

  11. The Graphics Type 2 How to Draw an Animation ? • Drawing a Plot • Using the circle and line statements • Showing the Plot • Picturing Delays • Drawing an inverse for the Plot • Drawing again! FAIL !

  12. The Graphics Type 3 How to Draw an Animation ? Use of pages in BGi PASS !

  13. The Graphics Type 3 How to Draw an Animation ? Showing Page 1 : setvisualpage ( int x) Selecting Page 2 : setactivepage( int x) Drawing Page 2 Showing Page 2 Selecting Page 1 Clearing Page 1 Drawing Page 1 or 2 Goto 1

More Related