183_notes:vpython_resources

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
183_notes:vpython_resources [2018/03/12 21:36] – [PhysUtil] hallstein183_notes:vpython_resources [2022/11/14 15:52] (current) valen176
Line 1: Line 1:
-====== Software for Projects ======+====== Computation in P-Cubed ====== 
 + 
 +In class, you will make use of [[https://www.glowscript.org/|Glowscript]] to model the motion of different physical systems. Glowscript is an online coding platform that means that you can work on our computational activities without having to install anything on your computer. Glowscript has extensive help documentation which can be found [[https://www.glowscript.org/docs/VPythonDocs/index.html|here]]. You will notice that this will take you to something called Vpython and Vypthon Glowscript help. Glowscript runs VPython which is built from the Python programming language. Python has become an incredibly popular computational language because is uses simple programming syntax and offers relatively straight forward code readability.
  
-In class, you will make use of [[http://www.vpython.org|VPython]] and [[https://github.com/perlatmsu/python-physutil|PhysUtil]] to model the motion of different physical systems. Both bits of software have extensive documentation. Listed below are some of the things that each bit of software can do. 
 ===== VPython ===== ===== VPython =====
  
-VPython is built from the Python programming language. It adds some features that were traditionally difficult to have Python do. With very little code, VPython can:+The class uses Glowscript and by default VPython because it adds some features that were traditionally difficult to have Python do. With very little code, VPython can:
  
   * create visual objects in 3 dimensions,   * create visual objects in 3 dimensions,
Line 10: Line 11:
   * move the visualization around with mouse interactions   * move the visualization around with mouse interactions
  
-Extensive documentation for VPython is [[http://www.vpython.org/contents/docs/index.html|available here]]. +All of this allows us to create computational models that are modeling real-world physical phenomenon that can help you gain an understanding and insight into physics concepts that you will interact within this class
-===== PhysUtil =====+
  
-PhysUtil is a module for VPython that makes it simpler to create highly visual simulations. With very little code, PhysUtil lets you: 
  
-  * generate motion maps, {{:183_projects:motionmap.png?300}} + 
-  * plot graphs, {{:183_projects:graph.png?400}} +Below is a list of errors or unexpected behaviors that you might experience and how you might go about resolving themBy no means is this comprehensive and we definitely encourage you to research the internet to find solutions. You can copy and paste code from other places you just have to understand why it is doing what it is doing.
-  * make timers, and +
-  * import CSV data+
  
 ===== Python Troubleshooting ===== ===== Python Troubleshooting =====
Line 30: Line 27:
  
  
-Extensive documentation for PhysUtil is [[https://github.com/perlatmsu/python-physutil/wiki|available here]].+
  • 183_notes/vpython_resources.1520890604.txt.gz
  • Last modified: 2018/03/12 21:36
  • by hallstein