Popular recipes tagged "turtle" but not "tkinter"http://code.activestate.com/recipes/tags/turtle-tkinter/2011-01-27T22:59:54-08:00ActiveState Code RecipesPendulum Simulation with Turtle (Python)
2011-01-27T22:59:54-08:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/577553-pendulum-simulation-with-turtle/
<p style="color: grey">
Python
recipe 577553
by <a href="/recipes/users/2608421/">Stephen Chappell</a>
(<a href="/recipes/tags/demonstration/">demonstration</a>, <a href="/recipes/tags/simulation/">simulation</a>, <a href="/recipes/tags/turtle/">turtle</a>).
</p>
<p>This program was written per R.T.Giles's second assignment in 10COF180 (November 25, 2010). A student under his instruction wanted help writing a program, and while not required, a GUI was placed on the program's output to visually demonstrate what was taking place within the program. The recipe below provides a simple simulation of a undamped pendulum and produces a visual representation for about thirty seconds. The code could be greatly improved but gives a demonstration of what a few turtle commands can do in Python. Very little code must be written to produce graphics on the computer screen.</p>