| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225 |
- <!--
- Automatically generated HTML file from DocOnce source
- (https://github.com/hplgit/doconce/)
- -->
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta name="generator" content="DocOnce: https://github.com/hplgit/doconce/" />
- <meta name="description" content="Using Pysketcher to Create Principal Sketches of Physics Problems">
- <meta name="keywords" content="tree data structure,recursive function calls">
- <title>Using Pysketcher to Create Principal Sketches of Physics Problems</title>
- <!-- Bootstrap style: bootswatch_readable -->
- <link href="http://netdna.bootstrapcdn.com/bootswatch/3.1.1/readable/bootstrap.min.css" rel="stylesheet">
- <!-- not necessary
- <link href="http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
- -->
- <style type="text/css">
- /* Add scrollbar to dropdown menus in bootstrap navigation bar */
- .dropdown-menu {
- height: auto;
- max-height: 400px;
- overflow-x: hidden;
- }
- </style>
- </head>
- <!-- tocinfo
- {'highest level': 1,
- 'sections': [('A first glimpse of Pysketcher', 1, None, '___sec0'),
- ('Basic construction of sketches', 2, None, '___sec1'),
- ('Basic drawing', 3, None, '___sec2'),
- ('Groups of objects', 3, None, '___sec3'),
- ('Changing line styles and colors', 3, None, '___sec4'),
- ('The figure composition as an object hierarchy',
- 3,
- None,
- '___sec5'),
- ('Animation: translating the vehicle', 3, None, '___sec6'),
- ('Animation: rolling the wheels',
- 3,
- 'sketcher:vehicle1:anim',
- 'sketcher:vehicle1:anim'),
- ('A simple pendulum',
- 1,
- 'sketcher:ex:pendulum',
- 'sketcher:ex:pendulum'),
- ('The basic physics sketch',
- 2,
- 'sketcher:ex:pendulum:basic',
- 'sketcher:ex:pendulum:basic'),
- ('The body diagram', 2, None, '___sec10'),
- ('Basic shapes', 1, None, '___sec11'),
- ('Axis', 2, None, '___sec12'),
- ('Distance with text', 2, None, '___sec13'),
- ('Rectangle', 2, None, '___sec14'),
- ('Triangle', 2, None, '___sec15'),
- ('Arc', 2, None, '___sec16'),
- ('Spring', 2, None, '___sec17'),
- ('Dashpot', 2, None, '___sec18'),
- ('Wavy', 2, None, '___sec19'),
- ('Stochastic curves', 2, None, '___sec20'),
- ('Inner workings of the Pysketcher tool', 1, None, '___sec21'),
- ('Example of classes for geometric objects',
- 2,
- None,
- '___sec22'),
- ('Simple geometric objects', 3, None, '___sec23'),
- ('Class curve', 3, None, '___sec24'),
- ('Compound geometric objects', 3, None, '___sec25'),
- ('Adding functionality via recursion', 2, None, '___sec26'),
- ('Basic principles of recursion', 3, None, '___sec27'),
- ('Explaining recursion', 3, None, '___sec28'),
- ('Scaling, translating, and rotating a figure',
- 2,
- 'sketcher:scaling',
- 'sketcher:scaling'),
- ('Scaling', 3, None, '___sec30'),
- ('Translation', 3, None, '___sec31'),
- ('Rotation', 3, None, '___sec32')]}
- end of tocinfo -->
- <body>
- <script type="text/x-mathjax-config">
- MathJax.Hub.Config({
- TeX: {
- equationNumbers: { autoNumber: "none" },
- extensions: ["AMSmath.js", "AMSsymbols.js", "autobold.js", "color.js"]
- }
- });
- </script>
- <script type="text/javascript"
- src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
- </script>
-
- <!-- Bootstrap navigation bar -->
- <div class="navbar navbar-default navbar-fixed-top">
- <div class="navbar-header">
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-responsive-collapse">
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <a class="navbar-brand" href="pysketcher.html">Using Pysketcher to Create Principal Sketches of Physics Problems</a>
- </div>
- <div class="navbar-collapse collapse navbar-responsive-collapse">
- <ul class="nav navbar-nav navbar-right">
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">Contents <b class="caret"></b></a>
- <ul class="dropdown-menu">
- <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec0" style="font-size: 80%;"><b>A first glimpse of Pysketcher</b></a></li>
- <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec1" style="font-size: 80%;"> Basic construction of sketches</a></li>
- <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec2" style="font-size: 80%;"> Basic drawing</a></li>
- <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec3" style="font-size: 80%;"> Groups of objects</a></li>
- <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec4" style="font-size: 80%;"> Changing line styles and colors</a></li>
- <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec5" style="font-size: 80%;"> The figure composition as an object hierarchy</a></li>
- <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec6" style="font-size: 80%;"> Animation: translating the vehicle</a></li>
- <!-- navigation toc: --> <li><a href="._pysketcher002.html#sketcher:vehicle1:anim" style="font-size: 80%;"> Animation: rolling the wheels</a></li>
- <!-- navigation toc: --> <li><a href="._pysketcher003.html#sketcher:ex:pendulum" style="font-size: 80%;"><b>A simple pendulum</b></a></li>
- <!-- navigation toc: --> <li><a href="._pysketcher003.html#sketcher:ex:pendulum:basic" style="font-size: 80%;"> The basic physics sketch</a></li>
- <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec10" style="font-size: 80%;"> The body diagram</a></li>
- <!-- navigation toc: --> <li><a href="._pysketcher004.html#___sec11" style="font-size: 80%;"><b>Basic shapes</b></a></li>
- <!-- navigation toc: --> <li><a href="._pysketcher004.html#___sec12" style="font-size: 80%;"> Axis</a></li>
- <!-- navigation toc: --> <li><a href="._pysketcher004.html#___sec13" style="font-size: 80%;"> Distance with text</a></li>
- <!-- navigation toc: --> <li><a href="._pysketcher004.html#___sec14" style="font-size: 80%;"> Rectangle</a></li>
- <!-- navigation toc: --> <li><a href="._pysketcher004.html#___sec15" style="font-size: 80%;"> Triangle</a></li>
- <!-- navigation toc: --> <li><a href="._pysketcher004.html#___sec16" style="font-size: 80%;"> Arc</a></li>
- <!-- navigation toc: --> <li><a href="._pysketcher004.html#___sec17" style="font-size: 80%;"> Spring</a></li>
- <!-- navigation toc: --> <li><a href="._pysketcher004.html#___sec18" style="font-size: 80%;"> Dashpot</a></li>
- <!-- navigation toc: --> <li><a href="._pysketcher004.html#___sec19" style="font-size: 80%;"> Wavy</a></li>
- <!-- navigation toc: --> <li><a href="._pysketcher004.html#___sec20" style="font-size: 80%;"> Stochastic curves</a></li>
- <!-- navigation toc: --> <li><a href="._pysketcher005.html#___sec21" style="font-size: 80%;"><b>Inner workings of the Pysketcher tool</b></a></li>
- <!-- navigation toc: --> <li><a href="._pysketcher005.html#___sec22" style="font-size: 80%;"> Example of classes for geometric objects</a></li>
- <!-- navigation toc: --> <li><a href="._pysketcher005.html#___sec23" style="font-size: 80%;"> Simple geometric objects</a></li>
- <!-- navigation toc: --> <li><a href="._pysketcher005.html#___sec24" style="font-size: 80%;"> Class curve</a></li>
- <!-- navigation toc: --> <li><a href="._pysketcher005.html#___sec25" style="font-size: 80%;"> Compound geometric objects</a></li>
- <!-- navigation toc: --> <li><a href="._pysketcher005.html#___sec26" style="font-size: 80%;"> Adding functionality via recursion</a></li>
- <!-- navigation toc: --> <li><a href="._pysketcher005.html#___sec27" style="font-size: 80%;"> Basic principles of recursion</a></li>
- <!-- navigation toc: --> <li><a href="._pysketcher005.html#___sec28" style="font-size: 80%;"> Explaining recursion</a></li>
- <!-- navigation toc: --> <li><a href="._pysketcher005.html#sketcher:scaling" style="font-size: 80%;"> Scaling, translating, and rotating a figure</a></li>
- <!-- navigation toc: --> <li><a href="._pysketcher005.html#___sec30" style="font-size: 80%;"> Scaling</a></li>
- <!-- navigation toc: --> <li><a href="._pysketcher005.html#___sec31" style="font-size: 80%;"> Translation</a></li>
- <!-- navigation toc: --> <li><a href="._pysketcher005.html#___sec32" style="font-size: 80%;"> Rotation</a></li>
- </ul>
- </li>
- </ul>
- </div>
- </div>
- </div> <!-- end of navigation bar -->
- <div class="container">
- <p> </p><p> </p><p> </p> <!-- add vertical space -->
- <a name="part0001"></a>
- <!-- !split -->
- <h2>
- Table of contents</h2>
- <p>
- <a href="._pysketcher002.html#___sec0"> A first glimpse of Pysketcher </a><br>
- <a href="._pysketcher002.html#___sec1"> Basic construction of sketches </a><br>
- <a href="._pysketcher003.html#sketcher:ex:pendulum"> A simple pendulum </a><br>
- <a href="._pysketcher003.html#sketcher:ex:pendulum:basic"> The basic physics sketch </a><br>
- <a href="._pysketcher003.html#___sec10"> The body diagram </a><br>
- <a href="._pysketcher004.html#___sec11"> Basic shapes </a><br>
- <a href="._pysketcher004.html#___sec12"> Axis </a><br>
- <a href="._pysketcher004.html#___sec13"> Distance with text </a><br>
- <a href="._pysketcher004.html#___sec14"> Rectangle </a><br>
- <a href="._pysketcher004.html#___sec15"> Triangle </a><br>
- <a href="._pysketcher004.html#___sec16"> Arc </a><br>
- <a href="._pysketcher004.html#___sec17"> Spring </a><br>
- <a href="._pysketcher004.html#___sec18"> Dashpot </a><br>
- <a href="._pysketcher004.html#___sec19"> Wavy </a><br>
- <a href="._pysketcher004.html#___sec20"> Stochastic curves </a><br>
- <a href="._pysketcher005.html#___sec21"> Inner workings of the Pysketcher tool </a><br>
- <a href="._pysketcher005.html#___sec22"> Example of classes for geometric objects </a><br>
- <a href="._pysketcher005.html#___sec26"> Adding functionality via recursion </a><br>
- <a href="._pysketcher005.html#sketcher:scaling"> Scaling, translating, and rotating a figure </a><br>
- </p>
- <p>
- <p>
- <!-- navigation buttons at the bottom of the page -->
- <ul class="pagination">
- <li><a href="._pysketcher000.html">«</a></li>
- <li><a href="._pysketcher000.html">1</a></li>
- <li class="active"><a href="._pysketcher001.html">2</a></li>
- <li><a href="._pysketcher002.html">3</a></li>
- <li><a href="._pysketcher003.html">4</a></li>
- <li><a href="._pysketcher004.html">5</a></li>
- <li><a href="._pysketcher005.html">6</a></li>
- <li><a href="._pysketcher002.html">»</a></li>
- </ul>
- <!-- ------------------- end of main content --------------- -->
- </div> <!-- end container -->
- <!-- include javascript, jQuery *first* -->
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
- <script src="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
- <!-- Bootstrap footer
- <footer>
- <a href="http://..."><img width="250" align=right src="http://..."></a>
- </footer>
- -->
- </body>
- </html>
-
|