VPython Object: Difference between revisions

From Physics Book
Jump to navigation Jump to search
Line 8: Line 8:


==Common Attributes==
==Common Attributes==
 
Many objects in VPython carry common attributes regardless of type.





Revision as of 16:54, 5 December 2015

Claimed by Daniel DeBord. Not Finished


A VPython Object is a representation of data in a specific in VPython both visually and numerically. Each object represents data through its attributes, specific characteristics assigned to each individual object.

The Main Idea

A VPython object is intended to represent data in a way that can be easily visualized and understood by both the user and the computer as it processes information. Each individual object has a specific type type it belongs to, which determines its default characteristics as well as how the computer will choose to display it when the program is run. The particular assigned characteristics of each object are known as its attributes. Some objects have default attributes such as "pos" in almost every object, but they can also have new attributes added to them to allow them to carry additional information.

Common Attributes

Many objects in VPython carry common attributes regardless of type.


Further reading[edit] Books, Articles or other print media on this topic

External links[edit] [1]


References[edit] This section contains the the references you used while writing this page