main_sketcher.do.txt 1.5 KB

12345678910111213141516171819202122232425262728293031323334
  1. TITLE: Using Pysketcher to Create Principal Sketches of Physics Problems
  2. AUTHOR: Hans Petter Langtangen at Center for Biomedical Computing, Simula Research Laboratory & Department of Informatics, University of Oslo
  3. DATE: today
  4. __Abstract.__
  5. Pysketcher is a Python package which allows principal sketches of
  6. physics and mechanics problems to be realized through short programs
  7. instead of interactive (and potentially tedious and inaccurate)
  8. drawing. Elements of the sketch, such as lines, circles, angles,
  9. forces, coordinate systems, etc., are realized as objects and
  10. collected in hierarchical structures. Parts of the hierarchical
  11. structures can easily change line styles and colors, or be copied,
  12. scaled, translated, and rotated. These features make it
  13. straightforward to move parts of the sketch to create animation,
  14. usually in accordance with the physics of the underlying problem.
  15. Exact dimensioning of the elements in the sketch is trivial to obtain
  16. since distances are specified in computer code.
  17. Pysketcher is easy to learn from a number of examples. Beyond
  18. essential Python programming and a knowledge about mechanics problems,
  19. no further background is required.
  20. # Task (can be questions): make sketches of physical problems, see fig
  21. # through user-friendly composition of basic shapes
  22. # Desired knowledge: plotting curves, basic OO (ch. X.Y, ...)
  23. # Required knowledge?
  24. # Learning Goals: these targets the inner workings of pysketcher,
  25. # which is just a part of this document...
  26. # #include "basics.do.txt"
  27. # #include "implementation.do.txt"