<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.physicsbook.gatech.edu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Atoms6</id>
	<title>Physics Book - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://www.physicsbook.gatech.edu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Atoms6"/>
	<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/Special:Contributions/Atoms6"/>
	<updated>2026-04-30T04:52:11Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.42.7</generator>
	<entry>
		<id>http://www.physicsbook.gatech.edu/index.php?title=GlowScript&amp;diff=39029</id>
		<title>GlowScript</title>
		<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/index.php?title=GlowScript&amp;diff=39029"/>
		<updated>2020-11-16T01:46:57Z</updated>

		<summary type="html">&lt;p&gt;Atoms6: /* Example Program */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;GlowScript is an intuitive website used to create 3D animations and share them on the web. Programs can be written right in your browser, stored on the cloud for free, and easily shared with a link.&amp;lt;br&amp;gt;&lt;br /&gt;
GlowScript supports both VPython, JavaScript, and CoffeeScript, however for the purposes of this course, programs are written in VPython.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
All labs are completed in GlowScript.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== glowscript.org ==&lt;br /&gt;
&lt;br /&gt;
Once signed in, select the bolded word &#039;&#039;&#039;here&#039;&#039;&#039; to open your programs.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example Programs&#039;&#039;&#039; provides examples of all the capabilities of the GlowScript website.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Forum&#039;&#039;&#039; opens a Google Group page where anyone can ask questions or voice concerns regarding the use of GlowScript.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Help&#039;&#039;&#039; in the upper right offers basic instructions on how to use the website including how to get started and how to use the text editor.&lt;br /&gt;
&lt;br /&gt;
== Writing a Program ==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Create New Program&#039;&#039;&#039; to create a new program in the desired folder. Names for programs cannot include spaces or underscores. New folders and programs can be set as either private or public.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Run this progam&#039;&#039;&#039; in the upper left will run the program.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Share or export this program&#039;&#039;&#039; opens a page containing instructions on the different ways available to share your code.&lt;br /&gt;
&lt;br /&gt;
== Introduction to Vpython==&lt;br /&gt;
&lt;br /&gt;
=== Header ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GlowScript 3.0 VPython&#039;&#039;&#039; is required in header to run Vpython.&lt;br /&gt;
&lt;br /&gt;
=== Comments ===&lt;br /&gt;
&lt;br /&gt;
A comment is a line of code that is not run.&amp;lt;br&amp;gt;&lt;br /&gt;
Begin any line with &#039;&#039;&#039;#&#039;&#039;&#039; to create a comment. Comments are not only useful to the writer to help them keep track of their own code, comments also allow other people using your code to keep track of what your program is executing.&amp;lt;br&amp;gt;&lt;br /&gt;
Deleting &#039;&#039;&#039;#&#039;&#039;&#039; from the beginning of a line of code will result in that line of code running next time the code is run.&lt;br /&gt;
&lt;br /&gt;
=== Initialize new Variables ===&lt;br /&gt;
&lt;br /&gt;
Use &amp;lt;b&amp;gt;var&amp;lt;/b&amp;gt; and assign values.&amp;lt;br&amp;gt;&lt;br /&gt;
 var x, y&lt;br /&gt;
 x = 2&lt;br /&gt;
 y = 3&lt;br /&gt;
&lt;br /&gt;
=== 3D Objects ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Arrow&amp;lt;/b&amp;gt;&lt;br /&gt;
 newArrow = arrow(pos=vec(x0, y0, z0), shaftwidth=1, axis_and_length=vec(x1, y1, z1))&lt;br /&gt;
This creates arrow that starts at point &amp;lt;x0, y0, z0&amp;gt; that points &amp;lt;x1, y1, z1&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Box&amp;lt;/b&amp;gt;&lt;br /&gt;
 newBox = box(pos=vec(x0, y0, z0), size=vec(L, H, W))&lt;br /&gt;
This creates a box with a center &amp;lt;x0, y0, z0&amp;gt; and with size &amp;lt;L, H, W&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Sphere&amp;lt;/b&amp;gt;&lt;br /&gt;
 newSphere = sphere(pos=vec(x0, y0, z0), size=vec(x1, y1, z1) )&lt;br /&gt;
This creates a box with a center &amp;lt;x0, y0, z0&amp;gt; and with size &amp;lt;x1, y1, z1&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Customizing Objects ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Color&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
There are 10 default colors that can be used.&lt;br /&gt;
 color.red, color.yellow, color.green, color.orange&lt;br /&gt;
 color.blue, color.cyan, color.magenta, color.purple&lt;br /&gt;
 color.black, color.white&lt;br /&gt;
Colors can be customized with the following code.&lt;br /&gt;
 vec(1, 0.5, 0.3)&lt;br /&gt;
In this case, R is 1, G = 0.7, and B = 0.2, which has color of pastel orange.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Animation Speed&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
 rate(50)&lt;br /&gt;
This line will halt each computations to have interval of 1.0/50.0 second.&lt;br /&gt;
&lt;br /&gt;
== Textures ==&lt;br /&gt;
&lt;br /&gt;
There are 12 textures available to use.&lt;br /&gt;
 textures.flower, textures.granite, textures.gravel, textures.metal, &lt;br /&gt;
 textures.rock, textures.rough, textures.rug, textures.stones, &lt;br /&gt;
 textures.stucco, textures.wood, textures.wood_old, textures.earth&lt;br /&gt;
For example, to make a box with a rug texture, the following code should be used.&lt;br /&gt;
 box(texture=textures.rug)&lt;br /&gt;
You can also use an external image as your texture by inserting the image&#039;s URL.&lt;br /&gt;
 texture=&amp;quot;https://s3.amazonaws.com/glowscript/textures/flower_texture.jpg&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Example Program ==&lt;br /&gt;
&lt;br /&gt;
This program runs in Trinket, a feature of GlowScript. When this program runs, a wood box and a sphere with a flower on it will appear next to each other.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;iframe src=&amp;quot;https://trinket.io/embed/glowscript/6372be2c9e&amp;quot; width=&amp;quot;100%&amp;quot; height=&amp;quot;356&amp;quot; frameborder=&amp;quot;0&amp;quot; marginwidth=&amp;quot;0&amp;quot; marginheight=&amp;quot;0&amp;quot; allowfullscreen&amp;gt;&amp;lt;/iframe&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Supported Environments ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Browsers&amp;lt;/b&amp;gt;: Chrome, Firefox, Safari, Internet Explorer, and Edge. Chrome and Edge are recommended.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Devices&amp;lt;/b&amp;gt;: Most smart devices running Android or iOS.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Connectedness ==&lt;br /&gt;
GlowScirpt will be used in all labs to find ideal data that is compared to observed data.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
David Scherer and Bruce Sherwood began working on GlowScript in May 2011. GlowScript 0.7 was released to the public in January of 2012. The website originally only ran using VPython, but grew to support JavaScript and CoffeeScript a year later. Website began supporting textures, then straight-lined shapes, text, and eventually curves. CoffeeScript was also removed due to its low use. GlowSript currently operates on version 3.0.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
===Further Reading ===&lt;br /&gt;
&lt;br /&gt;
Below are links to other Physics Book pages that discuss VPython in much more depth.&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython/ VPython]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_basics/ VPython Basics]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_Common_Errors_and_Troubleshooting/ VPython Common Errors and Troubleshooting]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_Functions/ VPython Functions]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_Loops/ VPython Loops]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_3D_Objects/ VPython 3D Objects]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== External Links ===&lt;br /&gt;
&lt;br /&gt;
[https://rhettallain_gmail_com.trinket.io/numerical-calculations-in-physics#/numerical-calculation-tutorials/introduction-and-vectors/ GlowScript VPython tutorials by Rhett Allain]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
https://www.glowscript.org/docs/VPythonDocs/index.html&amp;lt;br&amp;gt;&lt;br /&gt;
https://www.glowscript.org/docs/VPythonDocs/history.html&lt;/div&gt;</summary>
		<author><name>Atoms6</name></author>
	</entry>
	<entry>
		<id>http://www.physicsbook.gatech.edu/index.php?title=GlowScript&amp;diff=39026</id>
		<title>GlowScript</title>
		<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/index.php?title=GlowScript&amp;diff=39026"/>
		<updated>2020-11-16T01:43:20Z</updated>

		<summary type="html">&lt;p&gt;Atoms6: /* Example Program */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;GlowScript is an intuitive website used to create 3D animations and share them on the web. Programs can be written right in your browser, stored on the cloud for free, and easily shared with a link.&amp;lt;br&amp;gt;&lt;br /&gt;
GlowScript supports both VPython, JavaScript, and CoffeeScript, however for the purposes of this course, programs are written in VPython.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
All labs are completed in GlowScript.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== glowscript.org ==&lt;br /&gt;
&lt;br /&gt;
Once signed in, select the bolded word &#039;&#039;&#039;here&#039;&#039;&#039; to open your programs.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example Programs&#039;&#039;&#039; provides examples of all the capabilities of the GlowScript website.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Forum&#039;&#039;&#039; opens a Google Group page where anyone can ask questions or voice concerns regarding the use of GlowScript.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Help&#039;&#039;&#039; in the upper right offers basic instructions on how to use the website including how to get started and how to use the text editor.&lt;br /&gt;
&lt;br /&gt;
== Writing a Program ==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Create New Program&#039;&#039;&#039; to create a new program in the desired folder. Names for programs cannot include spaces or underscores. New folders and programs can be set as either private or public.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Run this progam&#039;&#039;&#039; in the upper left will run the program.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Share or export this program&#039;&#039;&#039; opens a page containing instructions on the different ways available to share your code.&lt;br /&gt;
&lt;br /&gt;
== Introduction to Vpython==&lt;br /&gt;
&lt;br /&gt;
=== Header ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GlowScript 3.0 VPython&#039;&#039;&#039; is required in header to run Vpython.&lt;br /&gt;
&lt;br /&gt;
=== Comments ===&lt;br /&gt;
&lt;br /&gt;
A comment is a line of code that is not run.&amp;lt;br&amp;gt;&lt;br /&gt;
Begin any line with &#039;&#039;&#039;#&#039;&#039;&#039; to create a comment. Comments are not only useful to the writer to help them keep track of their own code, comments also allow other people using your code to keep track of what your program is executing.&amp;lt;br&amp;gt;&lt;br /&gt;
Deleting &#039;&#039;&#039;#&#039;&#039;&#039; from the beginning of a line of code will result in that line of code running next time the code is run.&lt;br /&gt;
&lt;br /&gt;
=== Initialize new Variables ===&lt;br /&gt;
&lt;br /&gt;
Use &amp;lt;b&amp;gt;var&amp;lt;/b&amp;gt; and assign values.&amp;lt;br&amp;gt;&lt;br /&gt;
 var x, y&lt;br /&gt;
 x = 2&lt;br /&gt;
 y = 3&lt;br /&gt;
&lt;br /&gt;
=== 3D Objects ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Arrow&amp;lt;/b&amp;gt;&lt;br /&gt;
 newArrow = arrow(pos=vec(x0, y0, z0), shaftwidth=1, axis_and_length=vec(x1, y1, z1))&lt;br /&gt;
This creates arrow that starts at point &amp;lt;x0, y0, z0&amp;gt; that points &amp;lt;x1, y1, z1&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Box&amp;lt;/b&amp;gt;&lt;br /&gt;
 newBox = box(pos=vec(x0, y0, z0), size=vec(L, H, W))&lt;br /&gt;
This creates a box with a center &amp;lt;x0, y0, z0&amp;gt; and with size &amp;lt;L, H, W&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Sphere&amp;lt;/b&amp;gt;&lt;br /&gt;
 newSphere = sphere(pos=vec(x0, y0, z0), size=vec(x1, y1, z1) )&lt;br /&gt;
This creates a box with a center &amp;lt;x0, y0, z0&amp;gt; and with size &amp;lt;x1, y1, z1&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Customizing Objects ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Color&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
There are 10 default colors that can be used.&lt;br /&gt;
 color.red, color.yellow, color.green, color.orange&lt;br /&gt;
 color.blue, color.cyan, color.magenta, color.purple&lt;br /&gt;
 color.black, color.white&lt;br /&gt;
Colors can be customized with the following code.&lt;br /&gt;
 vec(1, 0.5, 0.3)&lt;br /&gt;
In this case, R is 1, G = 0.7, and B = 0.2, which has color of pastel orange.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Animation Speed&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
 rate(50)&lt;br /&gt;
This line will halt each computations to have interval of 1.0/50.0 second.&lt;br /&gt;
&lt;br /&gt;
== Textures ==&lt;br /&gt;
&lt;br /&gt;
There are 12 textures available to use.&lt;br /&gt;
 textures.flower, textures.granite, textures.gravel, textures.metal, &lt;br /&gt;
 textures.rock, textures.rough, textures.rug, textures.stones, &lt;br /&gt;
 textures.stucco, textures.wood, textures.wood_old, textures.earth&lt;br /&gt;
For example, to make a box with a rug texture, the following code should be used.&lt;br /&gt;
 box(texture=textures.rug)&lt;br /&gt;
You can also use an external image as your texture by inserting the image&#039;s URL.&lt;br /&gt;
 texture=&amp;quot;https://s3.amazonaws.com/glowscript/textures/flower_texture.jpg&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Example Program ==&lt;br /&gt;
&lt;br /&gt;
This program runs in Trinket, a feature of GlowScript. When this program runs, a wood box and a sphere with a flower on it will appear next to each other.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;iframe src=&amp;quot;https://trinket.io/embed/glowscript/31d0f9ad9e&amp;quot; width=&amp;quot;100%&amp;quot; height=&amp;quot;356&amp;quot; frameborder=&amp;quot;0&amp;quot; marginwidth=&amp;quot;0&amp;quot; marginheight=&amp;quot;0&amp;quot; allowfullscreen&amp;gt;&amp;lt;/iframe&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Supported Environments ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Browsers&amp;lt;/b&amp;gt;: Chrome, Firefox, Safari, Internet Explorer, and Edge. Chrome and Edge are recommended.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Devices&amp;lt;/b&amp;gt;: Most smart devices running Android or iOS.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Connectedness ==&lt;br /&gt;
GlowScirpt will be used in all labs to find ideal data that is compared to observed data.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
David Scherer and Bruce Sherwood began working on GlowScript in May 2011. GlowScript 0.7 was released to the public in January of 2012. The website originally only ran using VPython, but grew to support JavaScript and CoffeeScript a year later. Website began supporting textures, then straight-lined shapes, text, and eventually curves. CoffeeScript was also removed due to its low use. GlowSript currently operates on version 3.0.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
===Further Reading ===&lt;br /&gt;
&lt;br /&gt;
Below are links to other Physics Book pages that discuss VPython in much more depth.&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython/ VPython]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_basics/ VPython Basics]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_Common_Errors_and_Troubleshooting/ VPython Common Errors and Troubleshooting]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_Functions/ VPython Functions]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_Loops/ VPython Loops]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_3D_Objects/ VPython 3D Objects]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== External Links ===&lt;br /&gt;
&lt;br /&gt;
[https://rhettallain_gmail_com.trinket.io/numerical-calculations-in-physics#/numerical-calculation-tutorials/introduction-and-vectors/ GlowScript VPython tutorials by Rhett Allain]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
https://www.glowscript.org/docs/VPythonDocs/index.html&amp;lt;br&amp;gt;&lt;br /&gt;
https://www.glowscript.org/docs/VPythonDocs/history.html&lt;/div&gt;</summary>
		<author><name>Atoms6</name></author>
	</entry>
	<entry>
		<id>http://www.physicsbook.gatech.edu/index.php?title=GlowScript&amp;diff=39025</id>
		<title>GlowScript</title>
		<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/index.php?title=GlowScript&amp;diff=39025"/>
		<updated>2020-11-16T01:42:48Z</updated>

		<summary type="html">&lt;p&gt;Atoms6: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;GlowScript is an intuitive website used to create 3D animations and share them on the web. Programs can be written right in your browser, stored on the cloud for free, and easily shared with a link.&amp;lt;br&amp;gt;&lt;br /&gt;
GlowScript supports both VPython, JavaScript, and CoffeeScript, however for the purposes of this course, programs are written in VPython.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
All labs are completed in GlowScript.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== glowscript.org ==&lt;br /&gt;
&lt;br /&gt;
Once signed in, select the bolded word &#039;&#039;&#039;here&#039;&#039;&#039; to open your programs.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example Programs&#039;&#039;&#039; provides examples of all the capabilities of the GlowScript website.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Forum&#039;&#039;&#039; opens a Google Group page where anyone can ask questions or voice concerns regarding the use of GlowScript.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Help&#039;&#039;&#039; in the upper right offers basic instructions on how to use the website including how to get started and how to use the text editor.&lt;br /&gt;
&lt;br /&gt;
== Writing a Program ==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Create New Program&#039;&#039;&#039; to create a new program in the desired folder. Names for programs cannot include spaces or underscores. New folders and programs can be set as either private or public.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Run this progam&#039;&#039;&#039; in the upper left will run the program.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Share or export this program&#039;&#039;&#039; opens a page containing instructions on the different ways available to share your code.&lt;br /&gt;
&lt;br /&gt;
== Introduction to Vpython==&lt;br /&gt;
&lt;br /&gt;
=== Header ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GlowScript 3.0 VPython&#039;&#039;&#039; is required in header to run Vpython.&lt;br /&gt;
&lt;br /&gt;
=== Comments ===&lt;br /&gt;
&lt;br /&gt;
A comment is a line of code that is not run.&amp;lt;br&amp;gt;&lt;br /&gt;
Begin any line with &#039;&#039;&#039;#&#039;&#039;&#039; to create a comment. Comments are not only useful to the writer to help them keep track of their own code, comments also allow other people using your code to keep track of what your program is executing.&amp;lt;br&amp;gt;&lt;br /&gt;
Deleting &#039;&#039;&#039;#&#039;&#039;&#039; from the beginning of a line of code will result in that line of code running next time the code is run.&lt;br /&gt;
&lt;br /&gt;
=== Initialize new Variables ===&lt;br /&gt;
&lt;br /&gt;
Use &amp;lt;b&amp;gt;var&amp;lt;/b&amp;gt; and assign values.&amp;lt;br&amp;gt;&lt;br /&gt;
 var x, y&lt;br /&gt;
 x = 2&lt;br /&gt;
 y = 3&lt;br /&gt;
&lt;br /&gt;
=== 3D Objects ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Arrow&amp;lt;/b&amp;gt;&lt;br /&gt;
 newArrow = arrow(pos=vec(x0, y0, z0), shaftwidth=1, axis_and_length=vec(x1, y1, z1))&lt;br /&gt;
This creates arrow that starts at point &amp;lt;x0, y0, z0&amp;gt; that points &amp;lt;x1, y1, z1&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Box&amp;lt;/b&amp;gt;&lt;br /&gt;
 newBox = box(pos=vec(x0, y0, z0), size=vec(L, H, W))&lt;br /&gt;
This creates a box with a center &amp;lt;x0, y0, z0&amp;gt; and with size &amp;lt;L, H, W&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Sphere&amp;lt;/b&amp;gt;&lt;br /&gt;
 newSphere = sphere(pos=vec(x0, y0, z0), size=vec(x1, y1, z1) )&lt;br /&gt;
This creates a box with a center &amp;lt;x0, y0, z0&amp;gt; and with size &amp;lt;x1, y1, z1&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Customizing Objects ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Color&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
There are 10 default colors that can be used.&lt;br /&gt;
 color.red, color.yellow, color.green, color.orange&lt;br /&gt;
 color.blue, color.cyan, color.magenta, color.purple&lt;br /&gt;
 color.black, color.white&lt;br /&gt;
Colors can be customized with the following code.&lt;br /&gt;
 vec(1, 0.5, 0.3)&lt;br /&gt;
In this case, R is 1, G = 0.7, and B = 0.2, which has color of pastel orange.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Animation Speed&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
 rate(50)&lt;br /&gt;
This line will halt each computations to have interval of 1.0/50.0 second.&lt;br /&gt;
&lt;br /&gt;
== Textures ==&lt;br /&gt;
&lt;br /&gt;
There are 12 textures available to use.&lt;br /&gt;
 textures.flower, textures.granite, textures.gravel, textures.metal, &lt;br /&gt;
 textures.rock, textures.rough, textures.rug, textures.stones, &lt;br /&gt;
 textures.stucco, textures.wood, textures.wood_old, textures.earth&lt;br /&gt;
For example, to make a box with a rug texture, the following code should be used.&lt;br /&gt;
 box(texture=textures.rug)&lt;br /&gt;
You can also use an external image as your texture by inserting the image&#039;s URL.&lt;br /&gt;
 texture=&amp;quot;https://s3.amazonaws.com/glowscript/textures/flower_texture.jpg&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Example Program ==&lt;br /&gt;
&lt;br /&gt;
This program runs in Trinket, a feature of GlowScript. When this program runs, a wood box and a sphere with a flower on it will appear next to each other.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[https://trinket.io/embed/glowscript/31d0f9ad9e/ GlowScript Example]&lt;br /&gt;
&lt;br /&gt;
== Supported Environments ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Browsers&amp;lt;/b&amp;gt;: Chrome, Firefox, Safari, Internet Explorer, and Edge. Chrome and Edge are recommended.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Devices&amp;lt;/b&amp;gt;: Most smart devices running Android or iOS.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Connectedness ==&lt;br /&gt;
GlowScirpt will be used in all labs to find ideal data that is compared to observed data.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
David Scherer and Bruce Sherwood began working on GlowScript in May 2011. GlowScript 0.7 was released to the public in January of 2012. The website originally only ran using VPython, but grew to support JavaScript and CoffeeScript a year later. Website began supporting textures, then straight-lined shapes, text, and eventually curves. CoffeeScript was also removed due to its low use. GlowSript currently operates on version 3.0.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
===Further Reading ===&lt;br /&gt;
&lt;br /&gt;
Below are links to other Physics Book pages that discuss VPython in much more depth.&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython/ VPython]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_basics/ VPython Basics]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_Common_Errors_and_Troubleshooting/ VPython Common Errors and Troubleshooting]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_Functions/ VPython Functions]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_Loops/ VPython Loops]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_3D_Objects/ VPython 3D Objects]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== External Links ===&lt;br /&gt;
&lt;br /&gt;
[https://rhettallain_gmail_com.trinket.io/numerical-calculations-in-physics#/numerical-calculation-tutorials/introduction-and-vectors/ GlowScript VPython tutorials by Rhett Allain]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
https://www.glowscript.org/docs/VPythonDocs/index.html&amp;lt;br&amp;gt;&lt;br /&gt;
https://www.glowscript.org/docs/VPythonDocs/history.html&lt;/div&gt;</summary>
		<author><name>Atoms6</name></author>
	</entry>
	<entry>
		<id>http://www.physicsbook.gatech.edu/index.php?title=GlowScript&amp;diff=39022</id>
		<title>GlowScript</title>
		<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/index.php?title=GlowScript&amp;diff=39022"/>
		<updated>2020-11-16T01:40:00Z</updated>

		<summary type="html">&lt;p&gt;Atoms6: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;GlowScript is an intuitive website used to create 3D animations and share them on the web. Programs can be written right in your browser, stored on the cloud for free, and easily shared with a link.&amp;lt;br&amp;gt;&lt;br /&gt;
GlowScript supports both VPython, JavaScript, and CoffeeScript, however for the purposes of this course, programs are written in VPython.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
All labs are completed in GlowScript.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== glowscript.org ==&lt;br /&gt;
&lt;br /&gt;
Once signed in, select the bolded word &#039;&#039;&#039;here&#039;&#039;&#039; to open your programs.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example Programs&#039;&#039;&#039; provides examples of all the capabilities of the GlowScript website.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Forum&#039;&#039;&#039; opens a Google Group page where anyone can ask questions or voice concerns regarding the use of GlowScript.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Help&#039;&#039;&#039; in the upper right offers basic instructions on how to use the website including how to get started and how to use the text editor.&lt;br /&gt;
&lt;br /&gt;
== Writing a Program ==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Create New Program&#039;&#039;&#039; to create a new program in the desired folder. Names for programs cannot include spaces or underscores. New folders and programs can be set as either private or public.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Run this progam&#039;&#039;&#039; in the upper left will run the program.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Share or export this program&#039;&#039;&#039; opens a page containing instructions on the different ways available to share your code.&lt;br /&gt;
&lt;br /&gt;
== Introduction to Vpython==&lt;br /&gt;
&lt;br /&gt;
=== Header ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GlowScript 3.0 VPython&#039;&#039;&#039; is required in header to run Vpython.&lt;br /&gt;
&lt;br /&gt;
=== Comments ===&lt;br /&gt;
&lt;br /&gt;
A comment is a line of code that is not run.&amp;lt;br&amp;gt;&lt;br /&gt;
Begin any line with &#039;&#039;&#039;#&#039;&#039;&#039; to create a comment. Comments are not only useful to the writer to help them keep track of their own code, comments also allow other people using your code to keep track of what your program is executing.&amp;lt;br&amp;gt;&lt;br /&gt;
Deleting &#039;&#039;&#039;#&#039;&#039;&#039; from the beginning of a line of code will result in that line of code running next time the code is run.&lt;br /&gt;
&lt;br /&gt;
=== Initialize new Variables ===&lt;br /&gt;
&lt;br /&gt;
Use &amp;lt;b&amp;gt;var&amp;lt;/b&amp;gt; and assign values.&amp;lt;br&amp;gt;&lt;br /&gt;
 var x, y&lt;br /&gt;
 x = 2&lt;br /&gt;
 y = 3&lt;br /&gt;
&lt;br /&gt;
=== 3D Objects ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Arrow&amp;lt;/b&amp;gt;&lt;br /&gt;
 newArrow = arrow(pos=vec(x0, y0, z0), shaftwidth=1, axis_and_length=vec(x1, y1, z1))&lt;br /&gt;
This creates arrow that starts at point &amp;lt;x0, y0, z0&amp;gt; that points &amp;lt;x1, y1, z1&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Box&amp;lt;/b&amp;gt;&lt;br /&gt;
 newBox = box(pos=vec(x0, y0, z0), size=vec(L, H, W))&lt;br /&gt;
This creates a box with a center &amp;lt;x0, y0, z0&amp;gt; and with size &amp;lt;L, H, W&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Sphere&amp;lt;/b&amp;gt;&lt;br /&gt;
 newSphere = sphere(pos=vec(x0, y0, z0), size=vec(x1, y1, z1) )&lt;br /&gt;
This creates a box with a center &amp;lt;x0, y0, z0&amp;gt; and with size &amp;lt;x1, y1, z1&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Customizing Objects ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Color&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
There are 10 default colors that can be used.&lt;br /&gt;
 color.red, color.yellow, color.green, color.orange&lt;br /&gt;
 color.blue, color.cyan, color.magenta, color.purple&lt;br /&gt;
 color.black, color.white&lt;br /&gt;
Colors can be customized with the following code.&lt;br /&gt;
 vec(1, 0.5, 0.3)&lt;br /&gt;
In this case, R is 1, G = 0.7, and B = 0.2, which has color of pastel orange.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Animation Speed&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
 rate(50)&lt;br /&gt;
This line will halt each computations to have interval of 1.0/50.0 second.&lt;br /&gt;
&lt;br /&gt;
== Textures ==&lt;br /&gt;
&lt;br /&gt;
There are 12 textures available to use.&lt;br /&gt;
 textures.flower, textures.granite, textures.gravel, textures.metal, &lt;br /&gt;
 textures.rock, textures.rough, textures.rug, textures.stones, &lt;br /&gt;
 textures.stucco, textures.wood, textures.wood_old, textures.earth&lt;br /&gt;
For example, to make a box with a rug texture, the following code should be used.&lt;br /&gt;
 box(texture=textures.rug)&lt;br /&gt;
You can also use an external image as your texture by inserting the image&#039;s URL.&lt;br /&gt;
 texture=&amp;quot;https://s3.amazonaws.com/glowscript/textures/flower_texture.jpg&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Example Program ==&lt;br /&gt;
&lt;br /&gt;
This program runs in Trinket, a feature of GlowScript. When this program runs, a wood box and a sphere with a flower on it will appear next to each other.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[https://trinket.io/glowscript/6372be2c9e/ GlowScript Example]&lt;br /&gt;
&lt;br /&gt;
== Supported Environments ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Browsers&amp;lt;/b&amp;gt;: Chrome, Firefox, Safari, Internet Explorer, and Edge. Chrome and Edge are recommended.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Devices&amp;lt;/b&amp;gt;: Most smart devices running Android or iOS.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Connectedness ==&lt;br /&gt;
GlowScirpt will be used in all labs to find ideal data that is compared to observed data.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
David Scherer and Bruce Sherwood began working on GlowScript in May 2011. GlowScript 0.7 was released to the public in January of 2012. The website originally only ran using VPython, but grew to support JavaScript and CoffeeScript a year later. Website began supporting textures, then straight-lined shapes, text, and eventually curves. CoffeeScript was also removed due to its low use. GlowSript currently operates on version 3.0.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
===Further Reading ===&lt;br /&gt;
&lt;br /&gt;
Below are links to other Physics Book pages that discuss VPython in much more depth.&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython/ VPython]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_basics/ VPython Basics]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_Common_Errors_and_Troubleshooting/ VPython Common Errors and Troubleshooting]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_Functions/ VPython Functions]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_Loops/ VPython Loops]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_3D_Objects/ VPython 3D Objects]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== External Links ===&lt;br /&gt;
&lt;br /&gt;
[https://rhettallain_gmail_com.trinket.io/numerical-calculations-in-physics#/numerical-calculation-tutorials/introduction-and-vectors/ GlowScript VPython tutorials by Rhett Allain]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
https://www.glowscript.org/docs/VPythonDocs/index.html&amp;lt;br&amp;gt;&lt;br /&gt;
https://www.glowscript.org/docs/VPythonDocs/history.html&lt;/div&gt;</summary>
		<author><name>Atoms6</name></author>
	</entry>
	<entry>
		<id>http://www.physicsbook.gatech.edu/index.php?title=GlowScript&amp;diff=39021</id>
		<title>GlowScript</title>
		<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/index.php?title=GlowScript&amp;diff=39021"/>
		<updated>2020-11-16T01:39:20Z</updated>

		<summary type="html">&lt;p&gt;Atoms6: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Claimed by Autumn Toms Fall 2020&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
GlowScript is an intuitive website used to create 3D animations and share them on the web. Programs can be written right in your browser, stored on the cloud for free, and easily shared with a link.&amp;lt;br&amp;gt;&lt;br /&gt;
GlowScript supports both VPython, JavaScript, and CoffeeScript, however for the purposes of this course, programs are written in VPython.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
All labs are completed in GlowScript.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== glowscript.org ==&lt;br /&gt;
&lt;br /&gt;
Once signed in, select the bolded word &#039;&#039;&#039;here&#039;&#039;&#039; to open your programs.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example Programs&#039;&#039;&#039; provides examples of all the capabilities of the GlowScript website.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Forum&#039;&#039;&#039; opens a Google Group page where anyone can ask questions or voice concerns regarding the use of GlowScript.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Help&#039;&#039;&#039; in the upper right offers basic instructions on how to use the website including how to get started and how to use the text editor.&lt;br /&gt;
&lt;br /&gt;
== Writing a Program ==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Create New Program&#039;&#039;&#039; to create a new program in the desired folder. Names for programs cannot include spaces or underscores. New folders and programs can be set as either private or public.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Run this progam&#039;&#039;&#039; in the upper left will run the program.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Share or export this program&#039;&#039;&#039; opens a page containing instructions on the different ways available to share your code.&lt;br /&gt;
&lt;br /&gt;
== Introduction to Vpython==&lt;br /&gt;
&lt;br /&gt;
=== Header ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GlowScript 3.0 VPython&#039;&#039;&#039; is required in header to run Vpython.&lt;br /&gt;
&lt;br /&gt;
=== Comments ===&lt;br /&gt;
&lt;br /&gt;
A comment is a line of code that is not run.&amp;lt;br&amp;gt;&lt;br /&gt;
Begin any line with &#039;&#039;&#039;#&#039;&#039;&#039; to create a comment. Comments are not only useful to the writer to help them keep track of their own code, comments also allow other people using your code to keep track of what your program is executing.&amp;lt;br&amp;gt;&lt;br /&gt;
Deleting &#039;&#039;&#039;#&#039;&#039;&#039; from the beginning of a line of code will result in that line of code running next time the code is run.&lt;br /&gt;
&lt;br /&gt;
=== Initialize new Variables ===&lt;br /&gt;
&lt;br /&gt;
Use &amp;lt;b&amp;gt;var&amp;lt;/b&amp;gt; and assign values.&amp;lt;br&amp;gt;&lt;br /&gt;
 var x, y&lt;br /&gt;
 x = 2&lt;br /&gt;
 y = 3&lt;br /&gt;
&lt;br /&gt;
=== 3D Objects ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Arrow&amp;lt;/b&amp;gt;&lt;br /&gt;
 newArrow = arrow(pos=vec(x0, y0, z0), shaftwidth=1, axis_and_length=vec(x1, y1, z1))&lt;br /&gt;
This creates arrow that starts at point &amp;lt;x0, y0, z0&amp;gt; that points &amp;lt;x1, y1, z1&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Box&amp;lt;/b&amp;gt;&lt;br /&gt;
 newBox = box(pos=vec(x0, y0, z0), size=vec(L, H, W))&lt;br /&gt;
This creates a box with a center &amp;lt;x0, y0, z0&amp;gt; and with size &amp;lt;L, H, W&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Sphere&amp;lt;/b&amp;gt;&lt;br /&gt;
 newSphere = sphere(pos=vec(x0, y0, z0), size=vec(x1, y1, z1) )&lt;br /&gt;
This creates a box with a center &amp;lt;x0, y0, z0&amp;gt; and with size &amp;lt;x1, y1, z1&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Customizing Objects ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Color&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
There are 10 default colors that can be used.&lt;br /&gt;
 color.red, color.yellow, color.green, color.orange&lt;br /&gt;
 color.blue, color.cyan, color.magenta, color.purple&lt;br /&gt;
 color.black, color.white&lt;br /&gt;
Colors can be customized with the following code.&lt;br /&gt;
 vec(1, 0.5, 0.3)&lt;br /&gt;
In this case, R is 1, G = 0.7, and B = 0.2, which has color of pastel orange.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Animation Speed&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
 rate(50)&lt;br /&gt;
This line will halt each computations to have interval of 1.0/50.0 second.&lt;br /&gt;
&lt;br /&gt;
== Textures ==&lt;br /&gt;
&lt;br /&gt;
There are 12 textures available to use.&lt;br /&gt;
 textures.flower, textures.granite, textures.gravel, textures.metal, &lt;br /&gt;
 textures.rock, textures.rough, textures.rug, textures.stones, &lt;br /&gt;
 textures.stucco, textures.wood, textures.wood_old, textures.earth&lt;br /&gt;
For example, to make a box with a rug texture, the following code should be used.&lt;br /&gt;
 box(texture=textures.rug)&lt;br /&gt;
You can also use an external image as your texture by inserting the image&#039;s URL.&lt;br /&gt;
 texture=&amp;quot;https://s3.amazonaws.com/glowscript/textures/flower_texture.jpg&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Example Program ==&lt;br /&gt;
&lt;br /&gt;
This program runs in Trinket, a feature of GlowScript. When this program runs, a wood box and a sphere with a flower on it will appear next to each other.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[https://trinket.io/glowscript/6372be2c9e/ GlowScript Example]&lt;br /&gt;
&lt;br /&gt;
== Supported Environments ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Browsers&amp;lt;/b&amp;gt;: Chrome, Firefox, Safari, Internet Explorer, and Edge. Chrome and Edge are recommended.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Devices&amp;lt;/b&amp;gt;: Most smart devices running Android or iOS.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Connectedness ==&lt;br /&gt;
GlowScirpt will be used in all labs to find ideal data that is compared to observed data.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
David Scherer and Bruce Sherwood began working on GlowScript in May 2011. GlowScript 0.7 was released to the public in January of 2012. The website originally only ran using VPython, but grew to support JavaScript and CoffeeScript a year later. Website began supporting textures, then straight-lined shapes, text, and eventually curves. CoffeeScript was also removed due to its low use. GlowSript currently operates on version 3.0.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
===Further Reading ===&lt;br /&gt;
&lt;br /&gt;
Below are links to other Physics Book pages that discuss VPython in much more depth.&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython/ VPython]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_basics/ VPython Basics]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_Common_Errors_and_Troubleshooting/ VPython Common Errors and Troubleshooting]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_Functions/ VPython Functions]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_Loops/ VPython Loops]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_3D_Objects/ VPython 3D Objects]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== External Links ===&lt;br /&gt;
&lt;br /&gt;
[https://rhettallain_gmail_com.trinket.io/numerical-calculations-in-physics#/numerical-calculation-tutorials/introduction-and-vectors/ GlowScript VPython tutorials by Rhett Allain]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
https://www.glowscript.org/docs/VPythonDocs/index.html&amp;lt;br&amp;gt;&lt;br /&gt;
https://www.glowscript.org/docs/VPythonDocs/history.html&lt;/div&gt;</summary>
		<author><name>Atoms6</name></author>
	</entry>
	<entry>
		<id>http://www.physicsbook.gatech.edu/index.php?title=GlowScript&amp;diff=39018</id>
		<title>GlowScript</title>
		<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/index.php?title=GlowScript&amp;diff=39018"/>
		<updated>2020-11-16T01:34:42Z</updated>

		<summary type="html">&lt;p&gt;Atoms6: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Claimed by Autumn Toms Fall 2020&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
GlowScript is an intuitive website used to create 3D animations and share them on the web. Programs can be written right in your browser, stored on the cloud for free, and easily shared with a link.&amp;lt;br&amp;gt;&lt;br /&gt;
GlowScript supports both VPython, JavaScript, and CoffeeScript, however for the purposes of this course, programs are written in VPython.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
All labs are completed in GlowScript.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== glowscript.org ==&lt;br /&gt;
&lt;br /&gt;
Once signed in, select the bolded word &#039;&#039;&#039;here&#039;&#039;&#039; to open your programs.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example Programs&#039;&#039;&#039; provides examples of all the capabilities of the GlowScript website.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Forum&#039;&#039;&#039; opens a Google Group page where anyone can ask questions or voice concerns regarding the use of GlowScript.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Help&#039;&#039;&#039; in the upper right offers basic instructions on how to use the website including how to get started and how to use the text editor.&lt;br /&gt;
&lt;br /&gt;
== Writing a Program ==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Create New Program&#039;&#039;&#039; to create a new program in the desired folder. Names for programs cannot include spaces or underscores. New folders and programs can be set as either private or public.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Run this progam&#039;&#039;&#039; in the upper left will run the program.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Share or export this program&#039;&#039;&#039; opens a page containing instructions on the different ways available to share your code.&lt;br /&gt;
&lt;br /&gt;
== Introduction to Vpython==&lt;br /&gt;
&lt;br /&gt;
=== Header ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GlowScript 3.0 VPython&#039;&#039;&#039; is required in header to run Vpython.&lt;br /&gt;
&lt;br /&gt;
=== Comments ===&lt;br /&gt;
&lt;br /&gt;
A comment is a line of code that is not run.&amp;lt;br&amp;gt;&lt;br /&gt;
Begin any line with &#039;&#039;&#039;#&#039;&#039;&#039; to create a comment. Comments are not only useful to the writer to help them keep track of their own code, comments also allow other people using your code to keep track of what your program is executing.&amp;lt;br&amp;gt;&lt;br /&gt;
Deleting &#039;&#039;&#039;#&#039;&#039;&#039; from the beginning of a line of code will result in that line of code running next time the code is run.&lt;br /&gt;
&lt;br /&gt;
=== Initialize new Variables ===&lt;br /&gt;
&lt;br /&gt;
Use &amp;lt;b&amp;gt;var&amp;lt;/b&amp;gt; and assign values.&amp;lt;br&amp;gt;&lt;br /&gt;
 var x, y&lt;br /&gt;
 x = 2&lt;br /&gt;
 y = 3&lt;br /&gt;
&lt;br /&gt;
=== 3D Objects ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Arrow&amp;lt;/b&amp;gt;&lt;br /&gt;
 newArrow = arrow(pos=vec(x0, y0, z0), shaftwidth=1, axis_and_length=vec(x1, y1, z1))&lt;br /&gt;
This creates arrow that starts at point &amp;lt;x0, y0, z0&amp;gt; that points &amp;lt;x1, y1, z1&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Box&amp;lt;/b&amp;gt;&lt;br /&gt;
 newBox = box(pos=vec(x0, y0, z0), size=vec(L, H, W))&lt;br /&gt;
This creates a box with a center &amp;lt;x0, y0, z0&amp;gt; and with size &amp;lt;L, H, W&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Sphere&amp;lt;/b&amp;gt;&lt;br /&gt;
 newSphere = sphere(pos=vec(x0, y0, z0), size=vec(x1, y1, z1) )&lt;br /&gt;
This creates a box with a center &amp;lt;x0, y0, z0&amp;gt; and with size &amp;lt;x1, y1, z1&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Customizing Objects ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Color&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
There are 10 default colors that can be used.&lt;br /&gt;
 color.red, color.yellow, color.green, color.orange&lt;br /&gt;
 color.blue, color.cyan, color.magenta, color.purple&lt;br /&gt;
 color.black, color.white&lt;br /&gt;
Colors can be customized with the following code.&lt;br /&gt;
 vec(1, 0.5, 0.3)&lt;br /&gt;
In this case, R is 1, G = 0.7, and B = 0.2, which has color of pastel orange.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Animation Speed&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
 rate(50)&lt;br /&gt;
This line will halt each computations to have interval of 1.0/50.0 second.&lt;br /&gt;
&lt;br /&gt;
== Textures ==&lt;br /&gt;
&lt;br /&gt;
There are 12 textures available to use.&lt;br /&gt;
 textures.flower, textures.granite, textures.gravel, textures.metal, &lt;br /&gt;
 textures.rock, textures.rough, textures.rug, textures.stones, &lt;br /&gt;
 textures.stucco, textures.wood, textures.wood_old, textures.earth&lt;br /&gt;
For example, to make a box with a rug texture, the following code should be used.&lt;br /&gt;
 box(texture=textures.rug)&lt;br /&gt;
You can also use an external image as your texture by inserting the image&#039;s URL.&lt;br /&gt;
 texture=&amp;quot;https://s3.amazonaws.com/glowscript/textures/flower_texture.jpg&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Example Program ==&lt;br /&gt;
&lt;br /&gt;
This program runs in Trinket, a feature of GlowScript. When this program runs, a wood box and a sphere with a flower on it will appear next to each other.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;iframe src=&amp;quot;https://trinket.io/embed/glowscript/6372be2c9e&amp;quot; width=&amp;quot;100%&amp;quot; height=&amp;quot;356&amp;quot; frameborder=&amp;quot;0&amp;quot; marginwidth=&amp;quot;0&amp;quot; marginheight=&amp;quot;0&amp;quot; allowfullscreen&amp;gt;&amp;lt;/iframe&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Supported Environments ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Browsers&amp;lt;/b&amp;gt;: Chrome, Firefox, Safari, Internet Explorer, and Edge. Chrome and Edge are recommended.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Devices&amp;lt;/b&amp;gt;: Most smart devices running Android or iOS.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Connectedness ==&lt;br /&gt;
GlowScirpt will be used in all labs to find ideal data that is compared to observed data.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
David Scherer and Bruce Sherwood began working on GlowScript in May 2011. GlowScript 0.7 was released to the public in January of 2012. The website originally only ran using VPython, but grew to support JavaScript and CoffeeScript a year later. Website began supporting textures, then straight-lined shapes, text, and eventually curves. CoffeeScript was also removed due to its low use. GlowSript currently operates on version 3.0.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
===Further Reading ===&lt;br /&gt;
&lt;br /&gt;
Below are links to other Physics Book pages that discuss VPython in much more depth.&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython/ VPython]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_basics/ VPython Basics]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_Common_Errors_and_Troubleshooting/ VPython Common Errors and Troubleshooting]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_Functions/ VPython Functions]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_Loops/ VPython Loops]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_3D_Objects/ VPython 3D Objects]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== External Links ===&lt;br /&gt;
&lt;br /&gt;
[https://rhettallain_gmail_com.trinket.io/numerical-calculations-in-physics#/numerical-calculation-tutorials/introduction-and-vectors/ GlowScript VPython tutorials by Rhett Allain]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
https://www.glowscript.org/docs/VPythonDocs/index.html&amp;lt;br&amp;gt;&lt;br /&gt;
https://www.glowscript.org/docs/VPythonDocs/history.html&lt;/div&gt;</summary>
		<author><name>Atoms6</name></author>
	</entry>
	<entry>
		<id>http://www.physicsbook.gatech.edu/index.php?title=GlowScript&amp;diff=39007</id>
		<title>GlowScript</title>
		<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/index.php?title=GlowScript&amp;diff=39007"/>
		<updated>2020-11-16T01:16:49Z</updated>

		<summary type="html">&lt;p&gt;Atoms6: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Claimed by Autumn Toms Fall 2020&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
GlowScript is an intuitive website used to create 3D animations and share them on the web. Programs can be written right in your browser, stored on the cloud for free, and easily shared with a link.&amp;lt;br&amp;gt;&lt;br /&gt;
GlowScript supports both VPython, JavaScript, and CoffeeScript, however for the purposes of this course, programs are written in VPython.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
All labs are completed in GlowScript.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== glowscript.org ==&lt;br /&gt;
&lt;br /&gt;
Once signed in, select the bolded word &#039;&#039;&#039;here&#039;&#039;&#039; to open your programs.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example Programs&#039;&#039;&#039; provides examples of all the capabilities of the GlowScript website.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Forum&#039;&#039;&#039; opens a Google Group page where anyone can ask questions or voice concerns regarding the use of GlowScript.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Help&#039;&#039;&#039; in the upper right offers basic instructions on how to use the website including how to get started and how to use the text editor.&lt;br /&gt;
&lt;br /&gt;
== Writing a Program ==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Create New Program&#039;&#039;&#039; to create a new program in the desired folder. Names for programs cannot include spaces or underscores. New folders and programs can be set as either private or public.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Run this progam&#039;&#039;&#039; in the upper left will run the program.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Share or export this program&#039;&#039;&#039; opens a page containing instructions on the different ways available to share your code.&lt;br /&gt;
&lt;br /&gt;
== Introduction to Vpython==&lt;br /&gt;
&lt;br /&gt;
=== Header ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GlowScript 3.0 VPython&#039;&#039;&#039; is required in header to run Vpython.&lt;br /&gt;
&lt;br /&gt;
=== Comments ===&lt;br /&gt;
&lt;br /&gt;
A comment is a line of code that is not run.&amp;lt;br&amp;gt;&lt;br /&gt;
Begin any line with &#039;&#039;&#039;#&#039;&#039;&#039; to create a comment. Comments are not only useful to the writer to help them keep track of their own code, comments also allow other people using your code to keep track of what your program is executing.&amp;lt;br&amp;gt;&lt;br /&gt;
Deleting &#039;&#039;&#039;#&#039;&#039;&#039; from the beginning of a line of code will result in that line of code running next time the code is run.&lt;br /&gt;
&lt;br /&gt;
=== Initialize new Variables ===&lt;br /&gt;
&lt;br /&gt;
Use &amp;lt;b&amp;gt;var&amp;lt;/b&amp;gt; and assign values.&amp;lt;br&amp;gt;&lt;br /&gt;
 var x, y&lt;br /&gt;
 x = 2&lt;br /&gt;
 y = 3&lt;br /&gt;
&lt;br /&gt;
=== 3D Objects ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Arrow&amp;lt;/b&amp;gt;&lt;br /&gt;
 newArrow = arrow(pos=vec(x0, y0, z0), shaftwidth=1, axis_and_length=vec(x1, y1, z1))&lt;br /&gt;
This creates arrow that starts at point &amp;lt;x0, y0, z0&amp;gt; that points &amp;lt;x1, y1, z1&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Box&amp;lt;/b&amp;gt;&lt;br /&gt;
 newBox = box(pos=vec(x0, y0, z0), size=vec(L, H, W))&lt;br /&gt;
This creates a box with a center &amp;lt;x0, y0, z0&amp;gt; and with size &amp;lt;L, H, W&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Sphere&amp;lt;/b&amp;gt;&lt;br /&gt;
 newSphere = sphere(pos=vec(x0, y0, z0), size=vec(x1, y1, z1) )&lt;br /&gt;
This creates a box with a center &amp;lt;x0, y0, z0&amp;gt; and with size &amp;lt;x1, y1, z1&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Customizing Objects ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Color&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
There are 10 default colors that can be used.&lt;br /&gt;
 color.red, color.yellow, color.green, color.orange&lt;br /&gt;
 color.blue, color.cyan, color.magenta, color.purple&lt;br /&gt;
 color.black, color.white&lt;br /&gt;
Colors can be customized with the following code.&lt;br /&gt;
 vec(1, 0.5, 0.3)&lt;br /&gt;
In this case, R is 1, G = 0.7, and B = 0.2, which has color of pastel orange.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Animation Speed&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
 rate(50)&lt;br /&gt;
This line will halt each computations to have interval of 1.0/50.0 second.&lt;br /&gt;
&lt;br /&gt;
=== Textures ===&lt;br /&gt;
&lt;br /&gt;
There are 12 textures available to use.&lt;br /&gt;
 textures.flower, textures.granite, textures.gravel, textures.metal, &lt;br /&gt;
 textures.rock, textures.rough, textures.rug, textures.stones, &lt;br /&gt;
 textures.stucco, textures.wood, textures.wood_old, textures.earth&lt;br /&gt;
For example, to make a box with a rug texture, the following code should be used.&lt;br /&gt;
 box(texture=textures.rug)&lt;br /&gt;
You can also use an external image as your texture by inserting the image&#039;s URL.&lt;br /&gt;
 texture=&amp;quot;https://s3.amazonaws.com/glowscript/textures/flower_texture.jpg&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Supported Environments ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Browsers&amp;lt;/b&amp;gt;: Chrome, Firefox, Safari, Internet Explorer, and Edge. Chrome and Edge are recommended.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Devices&amp;lt;/b&amp;gt;: Most smart devices running Android or iOS.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Connectedness ==&lt;br /&gt;
Glowscirpt will be used in all labs to find ideal data that is compared to observed data.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
David Scherer and Bruce Sherwood began working on GlowScript in May 2011. GlowScript 0.7 was released to the public in January of 2012. The website originally only ran using VPython, but grew to support JavaScript and CoffeeScript a year later. Website began supporting textures, then straight-lined shapes, text, and eventually curves. CoffeeScript was also removed due to its low use. GlowSript currently operates on version 3.0.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Below are links to other Physics Book pages that discuss VPython in much more depth.&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython/ VPython]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_basics/ VPython Basics]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_Common_Errors_and_Troubleshooting/ VPython Common Errors and Troubleshooting]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_Functions/ VPython Functions]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_Loops/ VPython Loops]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_3D_Objects/ VPython 3D Objects]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
https://www.glowscript.org/docs/VPythonDocs/index.html&amp;lt;br&amp;gt;&lt;br /&gt;
https://www.glowscript.org/docs/VPythonDocs/history.html&lt;/div&gt;</summary>
		<author><name>Atoms6</name></author>
	</entry>
	<entry>
		<id>http://www.physicsbook.gatech.edu/index.php?title=GlowScript&amp;diff=39004</id>
		<title>GlowScript</title>
		<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/index.php?title=GlowScript&amp;diff=39004"/>
		<updated>2020-11-16T01:04:21Z</updated>

		<summary type="html">&lt;p&gt;Atoms6: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Claimed by Autumn Toms Fall 2020&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
GlowScript is an intuitive website used to create 3D animations and share them on the web. Programs can be written right in your browser, stored on the cloud for free, and easily shared with a link.&amp;lt;br&amp;gt;&lt;br /&gt;
GlowScript supports both VPython, JavaScript, and CoffeeScript, however for the purposes of this course, programs are written in VPython.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
All labs are completed in GlowScript.&lt;br /&gt;
&lt;br /&gt;
== glowscript.org ==&lt;br /&gt;
&lt;br /&gt;
Once signed in, select the bolded word &#039;&#039;&#039;here&#039;&#039;&#039; to open your programs.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example Programs&#039;&#039;&#039; provides examples of all the capabilities of the GlowScript website.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Forum&#039;&#039;&#039; opens a Google Group page where anyone can ask questions or voice concerns regarding the use of GlowScript.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Help&#039;&#039;&#039; in the upper right offers basic instructions on how to use the website including how to get started and how to use the text editor.&lt;br /&gt;
&lt;br /&gt;
== Writing a Program ==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Create New Program&#039;&#039;&#039; to create a new program in the desired folder. Names for programs cannot include spaces or underscores. New folders and programs can be set as either private or public.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Run this progam&#039;&#039;&#039; in the upper left will run the program.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Share or export this program&#039;&#039;&#039; opens a page containing instructions on the different ways available to share your code.&lt;br /&gt;
&lt;br /&gt;
== Introduction to Vpython==&lt;br /&gt;
&lt;br /&gt;
=== Header ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GlowScript 3.0 VPython&#039;&#039;&#039; is required in header to run Vpython.&lt;br /&gt;
&lt;br /&gt;
=== Comments ===&lt;br /&gt;
&lt;br /&gt;
A comment is a line of code that is not run.&amp;lt;br&amp;gt;&lt;br /&gt;
Begin any line with &#039;&#039;&#039;#&#039;&#039;&#039; to create a comment. Comments are not only useful to the writer to help them keep track of their own code, comments also allow other people using your code to keep track of what your program is executing.&amp;lt;br&amp;gt;&lt;br /&gt;
Deleting &#039;&#039;&#039;#&#039;&#039;&#039; from the beginning of a line of code will result in that line of code running next time the code is run.&lt;br /&gt;
&lt;br /&gt;
=== Initialize new Variables ===&lt;br /&gt;
&lt;br /&gt;
Use &amp;lt;b&amp;gt;var&amp;lt;/b&amp;gt; and assign values.&amp;lt;br&amp;gt;&lt;br /&gt;
 var x, y&lt;br /&gt;
 x = 2&lt;br /&gt;
 y = 3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3D Objects ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Arrow&amp;lt;/b&amp;gt;&lt;br /&gt;
 newArrow = arrow(pos=vec(x0, y0, z0), shaftwidth=1, axis_and_length=vec(x1, y1, z1))&lt;br /&gt;
This creates arrow that starts at point &amp;lt;x0, y0, z0&amp;gt; that points &amp;lt;x1, y1, z1&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Box&amp;lt;/b&amp;gt;&lt;br /&gt;
 newBox = box(pos=vec(x0, y0, z0), size=vec(L, H, W))&lt;br /&gt;
This creates a box with a center &amp;lt;x0, y0, z0&amp;gt; and with size &amp;lt;L, H, W&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Sphere&amp;lt;/b&amp;gt;&lt;br /&gt;
 newSphere = sphere(pos=vec(x0, y0, z0), size=vec(x1, y1, z1) )&lt;br /&gt;
This creates a box with a center &amp;lt;x0, y0, z0&amp;gt; and with size &amp;lt;x1, y1, z1&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Customizing Objects ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Color&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
There are 10 default colors that can be used.&lt;br /&gt;
 color.red, color.yellow, color.green, color.orange&lt;br /&gt;
 color.blue, color.cyan, color.magenta, color.purple&lt;br /&gt;
 color.black, color.white&lt;br /&gt;
Colors can be customized by user by using following code.&lt;br /&gt;
 vec(1, 0.5, 0.3)&lt;br /&gt;
In this case, R is 1, G = 0.7, and B = 0.2, which has color of pastel orange.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Animation Speed&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
 rate(50)&lt;br /&gt;
This line will halt each computations to have interval of 1.0/50.0 second.&lt;br /&gt;
&lt;br /&gt;
== Supported Environments ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Browsers&amp;lt;/b&amp;gt;: Chrome, Firefox, Safari, Internet Explorer, and Edge. Chrome and Edge are recommended.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Devices&amp;lt;/b&amp;gt;: Most smart devices running Android or iOS.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Connectedness ==&lt;br /&gt;
Glowscirpt will be used in all labs to find ideal data that is compared to observed data.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
David Scherer and Bruce Sherwood began working on GlowScript in May 2011. GlowScript 0.7 was released to the public in January of 2012. The website originally only ran using VPython, but grew to support JavaScript and CoffeeScript a year later. Website began supporting textures, then straight-lined shapes, text, and eventually curves. CoffeeScript was also removed due to its low use. GlowSript currently operates on version 3.0.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Below are links to other Physics Book pages that discuss VPython in much more depth.&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython/ VPython]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_basics/ VPython Basics]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_Common_Errors_and_Troubleshooting/ VPython Common Errors and Troubleshooting]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_Functions/ VPython Functions]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_Loops/ VPython Loops]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_3D_Objects/ VPython 3D Objects]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
https://www.glowscript.org/docs/VPythonDocs/index.html&amp;lt;br&amp;gt;&lt;br /&gt;
https://www.glowscript.org/docs/VPythonDocs/history.html&lt;/div&gt;</summary>
		<author><name>Atoms6</name></author>
	</entry>
	<entry>
		<id>http://www.physicsbook.gatech.edu/index.php?title=GlowScript&amp;diff=39000</id>
		<title>GlowScript</title>
		<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/index.php?title=GlowScript&amp;diff=39000"/>
		<updated>2020-11-16T00:56:16Z</updated>

		<summary type="html">&lt;p&gt;Atoms6: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Claimed by Autumn Toms Fall 2020&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
GlowScript is an intuitive website used to create 3D animations and share them on the web. Programs can be written right in your browser, stored on the cloud for free, and easily shared with a link.&amp;lt;br&amp;gt;&lt;br /&gt;
GlowScript supports both VPython, JavaScript, and CoffeeScript, however for the purposes of this course, programs are written in VPython.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== glowscript.org ==&lt;br /&gt;
&lt;br /&gt;
Once signed in, select the bolded word &#039;&#039;&#039;here&#039;&#039;&#039; to open your programs.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example Programs&#039;&#039;&#039; provides examples of all the capabilities of the GlowScript website.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Forum&#039;&#039;&#039; opens a Google Group page where anyone can ask questions or voice concerns regarding the use of GlowScript.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Help&#039;&#039;&#039; in the upper right offers basic instructions on how to use the website including how to get started and how to use the text editor.&lt;br /&gt;
&lt;br /&gt;
== Writing a Program ==&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Create New Program&#039;&#039;&#039; to create a new program in the desired folder. Names for programs cannot include spaces or underscores. New folders and programs can be set as either private or public.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Run this progam&#039;&#039;&#039; in the upper left will run the program.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Share or export this program&#039;&#039;&#039; opens a page containing instructions on the different ways available to share your code.&lt;br /&gt;
&lt;br /&gt;
=== Header ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GlowScript 3.0 VPython&#039;&#039;&#039; is required in header to run Vpython.&lt;br /&gt;
&lt;br /&gt;
=== Comments ===&lt;br /&gt;
&lt;br /&gt;
A comment is a line of code that is not run.&amp;lt;br&amp;gt;&lt;br /&gt;
Begin any line with &#039;&#039;&#039;#&#039;&#039;&#039; to create a comment. Comments are not only useful to the writer to help them keep track of their own code, comments also allow other people using your code to keep track of what your program is executing.&amp;lt;br&amp;gt;&lt;br /&gt;
Deleting &#039;&#039;&#039;#&#039;&#039;&#039; from the beginning of a line of code will result in that line of code running next time the code is run.&lt;br /&gt;
&lt;br /&gt;
=== Initialize new Variables ===&lt;br /&gt;
&lt;br /&gt;
Use &amp;lt;b&amp;gt;var&amp;lt;/b&amp;gt; and assign values.&amp;lt;br&amp;gt;&lt;br /&gt;
 var x, y&lt;br /&gt;
 x = 2&lt;br /&gt;
 y = 3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3D Objects ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Arrow&amp;lt;/b&amp;gt;&lt;br /&gt;
 newArrow = arrow(pos=vec(x0, y0, z0), shaftwidth=1, axis_and_length=vec(x1, y1, z1))&lt;br /&gt;
This creates arrow that starts at point &amp;lt;x0, y0, z0&amp;gt; that points &amp;lt;x1, y1, z1&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Box&amp;lt;/b&amp;gt;&lt;br /&gt;
 newBox = box(pos=vec(x0, y0, z0), size=vec(L, H, W))&lt;br /&gt;
This creates a box with a center &amp;lt;x0, y0, z0&amp;gt; and with size &amp;lt;L, H, W&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Sphere&amp;lt;/b&amp;gt;&lt;br /&gt;
 newSphere = sphere(pos=vec(x0, y0, z0), size=vec(x1, y1, z1) )&lt;br /&gt;
This creates a box with a center &amp;lt;x0, y0, z0&amp;gt; and with size &amp;lt;x1, y1, z1&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can learn more by clicking this. [https://www.glowscript.org/docs/GlowScriptDocs/index.html]&lt;br /&gt;
&lt;br /&gt;
=== Customizing Objects ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Color&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
There are 10 default colors that can be used.&lt;br /&gt;
 color.red, color.yellow, color.green, color.orange&lt;br /&gt;
 color.blue, color.cyan, color.magenta, color.purple&lt;br /&gt;
 color.black, color.white&lt;br /&gt;
Colors can be customized by user by using following code.&lt;br /&gt;
 vec(1, 0.5, 0.3)&lt;br /&gt;
In this case, R is 1, G = 0.7, and B = 0.2, which has color of pastel orange.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Animation Speed&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
 rate(50)&lt;br /&gt;
This line will halt each computations to have interval of 1.0/50.0 second.&lt;br /&gt;
&lt;br /&gt;
== Supported Environments ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Browsers&amp;lt;/b&amp;gt;: Chrome, Firefox, Safari, Internet Explorer, and Edge. Chrome and Edge are recommended.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Devices&amp;lt;/b&amp;gt;: Most smart devices running Android or iOS.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
David Scherer and Bruce Sherwood began working on GlowScript in May 2011. GlowScript 0.7 was released to the public in January of 2012. The website originally only ran using VPython, but grew to support JavaScript and CoffeeScript a year later. Website began supporting textures, then straight-lined shapes, text, and eventually curves. CoffeeScript was also removed due to its low use. GlowSript currently operates on version 3.0.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Below are links to other Physics Book pages that discuss VPython in much more depth.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython/ VPython]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_basics/ VPython Basics]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_Common_Errors_and_Troubleshooting/ VPython Common Errors and Troubleshooting]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_Functions/ VPython Functions]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_Loops/ VPython Loops]&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_3D_Objects/ VPython 3D Objects]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
https://www.glowscript.org/docs/VPythonDocs/index.html&amp;lt;br&amp;gt;&lt;br /&gt;
https://www.glowscript.org/docs/VPythonDocs/history.html&lt;/div&gt;</summary>
		<author><name>Atoms6</name></author>
	</entry>
	<entry>
		<id>http://www.physicsbook.gatech.edu/index.php?title=GlowScript&amp;diff=38999</id>
		<title>GlowScript</title>
		<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/index.php?title=GlowScript&amp;diff=38999"/>
		<updated>2020-11-16T00:54:59Z</updated>

		<summary type="html">&lt;p&gt;Atoms6: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Claimed by Autumn Toms Fall 2020&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
GlowScript is an intuitive website used to create 3D animations and share them on the web. Programs can be written right in your browser, stored on the cloud for free, and easily shared with a link.&amp;lt;br&amp;gt;&lt;br /&gt;
GlowScript supports both VPython, JavaScript, and CoffeeScript, however for the purposes of this course, programs are written in VPython.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== glowscript.org ==&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Once signed in, select the bolded word &#039;&#039;&#039;here&#039;&#039;&#039; to open your programs.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example Programs&#039;&#039;&#039; provides examples of all the capabilities of the GlowScript website.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Forum&#039;&#039;&#039; opens a Google Group page where anyone can ask questions or voice concerns regarding the use of GlowScript.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Help&#039;&#039;&#039; in the upper right offers basic instructions on how to use the website including how to get started and how to use the text editor.&lt;br /&gt;
&lt;br /&gt;
== Writing a Program ==&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Select &#039;&#039;&#039;Create New Program&#039;&#039;&#039; to create a new program in the desired folder. Names for programs cannot include spaces or underscores. New folders and programs can be set as either private or public.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Run this progam&#039;&#039;&#039; in the upper left will run the program.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Share or export this program&#039;&#039;&#039; opens a page containing instructions on the different ways available to share your code.&lt;br /&gt;
&lt;br /&gt;
=== Header ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GlowScript 3.0 VPython&#039;&#039;&#039; is required in header to run Vpython.&lt;br /&gt;
&lt;br /&gt;
=== Comments ===&lt;br /&gt;
&lt;br /&gt;
A comment is a line of code that is not run.&amp;lt;br&amp;gt;&lt;br /&gt;
Begin any line with &#039;&#039;&#039;#&#039;&#039;&#039; to create a comment. Comments are not only useful to the writer to help them keep track of their own code, comments also allow other people using your code to keep track of what your program is executing.&amp;lt;br&amp;gt;&lt;br /&gt;
Deleting &#039;&#039;&#039;#&#039;&#039;&#039; from the beginning of a line of code will result in that line of code running next time the code is run.&lt;br /&gt;
&lt;br /&gt;
=== Initialize new Variables ===&lt;br /&gt;
&lt;br /&gt;
Use &amp;lt;b&amp;gt;var&amp;lt;/b&amp;gt; and assign values.&amp;lt;br&amp;gt;&lt;br /&gt;
 var x, y&lt;br /&gt;
 x = 2&lt;br /&gt;
 y = 3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3D Objects ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Arrow&amp;lt;/b&amp;gt;&lt;br /&gt;
 newArrow = arrow(pos=vec(x0, y0, z0), shaftwidth=1, axis_and_length=vec(x1, y1, z1))&lt;br /&gt;
This creates arrow that starts at point &amp;lt;x0, y0, z0&amp;gt; that points &amp;lt;x1, y1, z1&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Box&amp;lt;/b&amp;gt;&lt;br /&gt;
 newBox = box(pos=vec(x0, y0, z0), size=vec(L, H, W))&lt;br /&gt;
This creates a box with a center &amp;lt;x0, y0, z0&amp;gt; and with size &amp;lt;L, H, W&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Sphere&amp;lt;/b&amp;gt;&lt;br /&gt;
 newSphere = sphere(pos=vec(x0, y0, z0), size=vec(x1, y1, z1) )&lt;br /&gt;
This creates a box with a center &amp;lt;x0, y0, z0&amp;gt; and with size &amp;lt;x1, y1, z1&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can learn more by clicking this. [https://www.glowscript.org/docs/GlowScriptDocs/index.html]&lt;br /&gt;
&lt;br /&gt;
=== Customizing Objects ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Color&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
There are 10 default colors that can be used.&lt;br /&gt;
 color.red, color.yellow, color.green, color.orange&lt;br /&gt;
 color.blue, color.cyan, color.magenta, color.purple&lt;br /&gt;
 color.black, color.white&lt;br /&gt;
Colors can be customized by user by using following code.&lt;br /&gt;
 vec(1, 0.5, 0.3)&lt;br /&gt;
In this case, R is 1, G = 0.7, and B = 0.2, which has color of pastel orange.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Animation Speed&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
 rate(50)&lt;br /&gt;
This line will halt each computations to have interval of 1.0/50.0 second.&lt;br /&gt;
&lt;br /&gt;
== Supported Environments ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Browsers&amp;lt;/b&amp;gt;: Chrome, Firefox, Safari, Internet Explorer, and Edge. Chrome and Edge are recommended.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Devices&amp;lt;/b&amp;gt;: Most smart devices running Android or iOS.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
----&lt;br /&gt;
David Scherer and Bruce Sherwood began working on GlowScript in May 2011. GlowScript 0.7 was released to the public in January of 2012. The website originally only ran using VPython, but grew to support JavaScript and CoffeeScript a year later. Website began supporting textures, then straight-lined shapes, text, and eventually curves. CoffeeScript was also removed due to its low use. GlowSript currently operates on version 3.0.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Below are links to other Physics Book pages that discuss VPython in much more depth.&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython/ VPython]&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_basics/ VPython Basics]&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_Common_Errors_and_Troubleshooting/ VPython Common Errors and Troubleshooting]&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_Functions/ VPython Functions]&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_Loops/ VPython Loops]&lt;br /&gt;
[http://www.physicsbook.gatech.edu/VPython_3D_Objects/ VPython 3D Objects]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
https://www.glowscript.org/docs/VPythonDocs/index.html&lt;br /&gt;
https://www.glowscript.org/docs/VPythonDocs/history.html&lt;/div&gt;</summary>
		<author><name>Atoms6</name></author>
	</entry>
	<entry>
		<id>http://www.physicsbook.gatech.edu/index.php?title=GlowScript&amp;diff=38997</id>
		<title>GlowScript</title>
		<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/index.php?title=GlowScript&amp;diff=38997"/>
		<updated>2020-11-16T00:22:19Z</updated>

		<summary type="html">&lt;p&gt;Atoms6: /* glowscript.org */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Claimed by Autumn Toms Fall 2020&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
GlowScript is an intuitive website used to create 3D animations and share them on the web. Programs can be written right in your browser, stored on the cloud for free, and easily shared with a link.&amp;lt;br&amp;gt;&lt;br /&gt;
GlowScript supports both VPython, JavaScript, and CoffeeScript, however for the purposes of this course, scripts are written in VPython.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== glowscript.org ==&lt;br /&gt;
&lt;br /&gt;
Once signed in, select the bolded word &#039;&#039;&#039;here&#039;&#039;&#039; to open your programs.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example Programs&#039;&#039;&#039; provides examples of all the capabilities of the GlowScript website.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Forum&#039;&#039;&#039; opens a Google Group page where anyone can ask questions or voice concerns regarding the use of GlowScript.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Help&#039;&#039;&#039; in the upper right offers basic instructions on how to use the website including how to get started and how to use the text editor.&lt;br /&gt;
&lt;br /&gt;
== Writing a Program ==&lt;br /&gt;
&lt;br /&gt;
=== Header ===&lt;br /&gt;
----&lt;br /&gt;
&#039;&#039;&#039;GlowScript 3.0 VPython&#039;&#039;&#039; is required in header to run Vpython.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Initialize new Variables ===&lt;br /&gt;
----&lt;br /&gt;
Use &amp;lt;b&amp;gt;var&amp;lt;/b&amp;gt; and assign values.&amp;lt;br&amp;gt;&lt;br /&gt;
 var x, y&lt;br /&gt;
 x = 2&lt;br /&gt;
 y = 3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3D Objects ===&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;b&amp;gt;Arrow&amp;lt;/b&amp;gt;&lt;br /&gt;
 newArrow = arrow(pos=vec(x0, y0, z0), shaftwidth=1, axis_and_length=vec(x1, y1, z1))&lt;br /&gt;
This creates arrow that starts at point &amp;lt;x0, y0, z0&amp;gt; that points &amp;lt;x1, y1, z1&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Box&amp;lt;/b&amp;gt;&lt;br /&gt;
 newBox = box(pos=vec(x0, y0, z0), size=vec(L, H, W))&lt;br /&gt;
This creates a box with a center &amp;lt;x0, y0, z0&amp;gt; and with size &amp;lt;L, H, W&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Sphere&amp;lt;/b&amp;gt;&lt;br /&gt;
 newSphere = sphere(pos=vec(x0, y0, z0), size=vec(x1, y1, z1) )&lt;br /&gt;
This creates a box with a center &amp;lt;x0, y0, z0&amp;gt; and with size &amp;lt;x1, y1, z1&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can learn more by clicking this. [https://www.glowscript.org/docs/GlowScriptDocs/index.html]&lt;br /&gt;
&lt;br /&gt;
=== Customizing Objects ===&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;b&amp;gt;Color&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
There are 10 default colors that can be used.&lt;br /&gt;
 color.red, color.yellow, color.green, color.orange&lt;br /&gt;
 color.blue, color.cyan, color.magenta, color.purple&lt;br /&gt;
 color.black, color.white&lt;br /&gt;
Colors can be customized by user by using following code.&lt;br /&gt;
 vec(1, 0.5, 0.3)&lt;br /&gt;
In this case, R is 1, G = 0.7, and B = 0.2, which has color of pastel orange.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Animation Speed&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
 rate(50)&lt;br /&gt;
This line will halt each computations to have interval of 1.0/50.0 second.&lt;br /&gt;
&lt;br /&gt;
== Supported Environments ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Browsers&amp;lt;/b&amp;gt;: Chrome, Firefox, Safari, Internet Explorer, and Edge. Chrome and Edge are recommended.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Devices&amp;lt;/b&amp;gt;: Most smart devices running Android or iOS.&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Atoms6</name></author>
	</entry>
	<entry>
		<id>http://www.physicsbook.gatech.edu/index.php?title=GlowScript&amp;diff=38996</id>
		<title>GlowScript</title>
		<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/index.php?title=GlowScript&amp;diff=38996"/>
		<updated>2020-11-16T00:20:29Z</updated>

		<summary type="html">&lt;p&gt;Atoms6: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Claimed by Autumn Toms Fall 2020&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
GlowScript is an intuitive website used to create 3D animations and share them on the web. Programs can be written right in your browser, stored on the cloud for free, and easily shared with a link.&amp;lt;br&amp;gt;&lt;br /&gt;
GlowScript supports both VPython, JavaScript, and CoffeeScript, however for the purposes of this course, scripts are written in VPython.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== glowscript.org ==&lt;br /&gt;
&lt;br /&gt;
Once signed in, select the bolded word &#039;&#039;&#039;here&#039;&#039;&#039; to open your programs.&amp;lt;br&amp;gt;&lt;br /&gt;
New folders and programs can be set as either private or public.&amp;lt;br&amp;gt;&lt;br /&gt;
Select &#039;&#039;&#039;Create New Program&#039;&#039;&#039; to create a new program in the desired folder. Names for programs cannot include spaces or underscores.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example Programs&#039;&#039;&#039; provides examples of all the capabilities of the GlowScript website.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Forum&#039;&#039;&#039; opens a Google Group page where anyone can ask questions or voice concerns regarding the use of GlowScript.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Help&#039;&#039;&#039; in the upper right offers basic instructiosn on how to use the website including how to get started and how to use the text editor.&lt;br /&gt;
&lt;br /&gt;
== Writing a Program ==&lt;br /&gt;
&lt;br /&gt;
=== Header ===&lt;br /&gt;
----&lt;br /&gt;
&#039;&#039;&#039;GlowScript 3.0 VPython&#039;&#039;&#039; is required in header to run Vpython.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Initialize new Variables ===&lt;br /&gt;
----&lt;br /&gt;
Use &amp;lt;b&amp;gt;var&amp;lt;/b&amp;gt; and assign values.&amp;lt;br&amp;gt;&lt;br /&gt;
 var x, y&lt;br /&gt;
 x = 2&lt;br /&gt;
 y = 3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3D Objects ===&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;b&amp;gt;Arrow&amp;lt;/b&amp;gt;&lt;br /&gt;
 newArrow = arrow(pos=vec(x0, y0, z0), shaftwidth=1, axis_and_length=vec(x1, y1, z1))&lt;br /&gt;
This creates arrow that starts at point &amp;lt;x0, y0, z0&amp;gt; that points &amp;lt;x1, y1, z1&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Box&amp;lt;/b&amp;gt;&lt;br /&gt;
 newBox = box(pos=vec(x0, y0, z0), size=vec(L, H, W))&lt;br /&gt;
This creates a box with a center &amp;lt;x0, y0, z0&amp;gt; and with size &amp;lt;L, H, W&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Sphere&amp;lt;/b&amp;gt;&lt;br /&gt;
 newSphere = sphere(pos=vec(x0, y0, z0), size=vec(x1, y1, z1) )&lt;br /&gt;
This creates a box with a center &amp;lt;x0, y0, z0&amp;gt; and with size &amp;lt;x1, y1, z1&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can learn more by clicking this. [https://www.glowscript.org/docs/GlowScriptDocs/index.html]&lt;br /&gt;
&lt;br /&gt;
=== Customizing Objects ===&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;b&amp;gt;Color&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
There are 10 default colors that can be used.&lt;br /&gt;
 color.red, color.yellow, color.green, color.orange&lt;br /&gt;
 color.blue, color.cyan, color.magenta, color.purple&lt;br /&gt;
 color.black, color.white&lt;br /&gt;
Colors can be customized by user by using following code.&lt;br /&gt;
 vec(1, 0.5, 0.3)&lt;br /&gt;
In this case, R is 1, G = 0.7, and B = 0.2, which has color of pastel orange.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Animation Speed&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
 rate(50)&lt;br /&gt;
This line will halt each computations to have interval of 1.0/50.0 second.&lt;br /&gt;
&lt;br /&gt;
== Supported Environments ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Browsers&amp;lt;/b&amp;gt;: Chrome, Firefox, Safari, Internet Explorer, and Edge. Chrome and Edge are recommended.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Devices&amp;lt;/b&amp;gt;: Most smart devices running Android or iOS.&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Atoms6</name></author>
	</entry>
	<entry>
		<id>http://www.physicsbook.gatech.edu/index.php?title=GlowScript&amp;diff=38995</id>
		<title>GlowScript</title>
		<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/index.php?title=GlowScript&amp;diff=38995"/>
		<updated>2020-11-16T00:19:11Z</updated>

		<summary type="html">&lt;p&gt;Atoms6: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Claimed by Autumn Toms Fall 2020&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
GlowScript is an intuitive website used to create 3D animations and share them on the web. Programs can be written right in your browser, stored on the cloud for free, and easily shared with a link.&amp;lt;br&amp;gt;&lt;br /&gt;
GlowScript supports both VPython, JavaScript, and CoffeeScript, however for the purposes of this course, scripts are written in VPython.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== glowscript.org ==&lt;br /&gt;
&lt;br /&gt;
Once signed in, select the bolded word &#039;&#039;&#039;here&#039;&#039;&#039; to open your programs. &lt;br /&gt;
New folders and programs can be set as either private or public.&lt;br /&gt;
Select &#039;&#039;&#039;Create New Program&#039;&#039;&#039; to create a new program in the desired folder. Names for programs cannot include spaces or underscores.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example Programs&#039;&#039;&#039; provides examples of all the capabilities of the GlowScript website.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Forum&#039;&#039;&#039; opens a Google Group page where anyone can ask questions or voice concerns regarding the use of GlowScript.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Help&#039;&#039;&#039; in the upper right offers basic instructiosn on how to use the website including how to get started and how to use the text editor.&lt;br /&gt;
&lt;br /&gt;
== Writing a Program ==&lt;br /&gt;
&lt;br /&gt;
=== Header ===&lt;br /&gt;
----&lt;br /&gt;
&#039;&#039;&#039;GlowScript 3.0 VPython&#039;&#039;&#039; is required in header to run Vpython.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Initialize new Variables ===&lt;br /&gt;
----&lt;br /&gt;
Use &amp;lt;b&amp;gt;var&amp;lt;/b&amp;gt; and assign values.&amp;lt;br&amp;gt;&lt;br /&gt;
 var x, y&lt;br /&gt;
 x = 2&lt;br /&gt;
 y = 3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3D Objects ===&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;b&amp;gt;Arrow&amp;lt;/b&amp;gt;&lt;br /&gt;
 newArrow = arrow(pos=vec(x0, y0, z0), shaftwidth=1, axis_and_length=vec(x1, y1, z1))&lt;br /&gt;
This creates arrow that starts at point &amp;lt;x0, y0, z0&amp;gt; that points &amp;lt;x1, y1, z1&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Box&amp;lt;/b&amp;gt;&lt;br /&gt;
 newBox = box(pos=vec(x0, y0, z0), size=vec(L, H, W))&lt;br /&gt;
This creates a box with a center &amp;lt;x0, y0, z0&amp;gt; and with size &amp;lt;L, H, W&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Sphere&amp;lt;/b&amp;gt;&lt;br /&gt;
 newSphere = sphere(pos=vec(x0, y0, z0), size=vec(x1, y1, z1) )&lt;br /&gt;
This creates a box with a center &amp;lt;x0, y0, z0&amp;gt; and with size &amp;lt;x1, y1, z1&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can learn more by clicking this. [https://www.glowscript.org/docs/GlowScriptDocs/index.html]&lt;br /&gt;
&lt;br /&gt;
=== Customizing Objects ===&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;b&amp;gt;Color&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
There are 10 default colors that can be used.&lt;br /&gt;
 color.red, color.yellow, color.green, color.orange&lt;br /&gt;
 color.blue, color.cyan, color.magenta, color.purple&lt;br /&gt;
 color.black, color.white&lt;br /&gt;
Colors can be customized by user by using following code.&lt;br /&gt;
 vec(1, 0.5, 0.3)&lt;br /&gt;
In this case, R is 1, G = 0.7, and B = 0.2, which has color of pastel orange.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Animation Speed&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
 rate(50)&lt;br /&gt;
This line will halt each computations to have interval of 1.0/50.0 second.&lt;br /&gt;
&lt;br /&gt;
== Supported Environments ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Browsers&amp;lt;/b&amp;gt;: Chrome, Firefox, Safari, Internet Explorer, and Edge. Chrome and Edge are recommended.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Devices&amp;lt;/b&amp;gt;: Most smart devices running Android or iOS.&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Atoms6</name></author>
	</entry>
	<entry>
		<id>http://www.physicsbook.gatech.edu/index.php?title=GlowScript&amp;diff=38986</id>
		<title>GlowScript</title>
		<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/index.php?title=GlowScript&amp;diff=38986"/>
		<updated>2020-11-15T23:46:46Z</updated>

		<summary type="html">&lt;p&gt;Atoms6: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Claimed by Autumn Toms Fall 2020&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
GlowScript IDE is an environment where people can create 3D animations and share them on web.&amp;lt;br&amp;gt;&lt;br /&gt;
Scripts can be written in VPython.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Commands ==&lt;br /&gt;
&lt;br /&gt;
=== Header ===&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;b&amp;gt;GlowScript 2.7 VPython&amp;lt;/b&amp;gt; is required in header to run Vpython.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;GlowScript 2.7 JavaScript&amp;lt;/b&amp;gt; is required in header to run javascript.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Initialize new Variables ===&lt;br /&gt;
----&lt;br /&gt;
Use &amp;lt;b&amp;gt;var&amp;lt;/b&amp;gt; and assign values.&amp;lt;br&amp;gt;&lt;br /&gt;
 var x, y&lt;br /&gt;
 x = 2&lt;br /&gt;
 y = 3&lt;br /&gt;
&lt;br /&gt;
Unlike Java, with Python there is no need to put semi-colon in the end of a line.&lt;br /&gt;
&lt;br /&gt;
=== 3D Objects ===&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;b&amp;gt;Arrow&amp;lt;/b&amp;gt;&lt;br /&gt;
 newArrow = arrow(pos=vec(x0, y0, z0), shaftwidth=1, axis_and_length=vec(x1, y1, z1))&lt;br /&gt;
This creates arrow that starts at point &amp;lt;x0, y0, z0&amp;gt; that points &amp;lt;x1, y1, z1&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Box&amp;lt;/b&amp;gt;&lt;br /&gt;
 newBox = box(pos=vec(x0, y0, z0), size=vec(L, H, W))&lt;br /&gt;
This creates a box with a center &amp;lt;x0, y0, z0&amp;gt; and with size &amp;lt;L, H, W&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Sphere&amp;lt;/b&amp;gt;&lt;br /&gt;
 newSphere = sphere(pos=vec(x0, y0, z0), size=vec(x1, y1, z1) )&lt;br /&gt;
This creates a box with a center &amp;lt;x0, y0, z0&amp;gt; and with size &amp;lt;x1, y1, z1&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can learn more by clicking this. [https://www.glowscript.org/docs/GlowScriptDocs/index.html]&lt;br /&gt;
&lt;br /&gt;
=== Customizing Objects ===&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;b&amp;gt;Color&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
There are 10 default colors that can be used.&lt;br /&gt;
 color.red, color.yellow, color.green, color.orange&lt;br /&gt;
 color.blue, color.cyan, color.magenta, color.purple&lt;br /&gt;
 color.black, color.white&lt;br /&gt;
Colors can be customized by user by using following code.&lt;br /&gt;
 vec(1, 0.5, 0.3)&lt;br /&gt;
In this case, R is 1, G = 0.7, and B = 0.2, which has color of pastel orange.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Animation Speed&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
 rate(50)&lt;br /&gt;
This line will halt each computations to have interval of 1.0/50.0 second.&lt;br /&gt;
&lt;br /&gt;
== Supported Environments ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Browsers&amp;lt;/b&amp;gt;: Chrome, Firefox, Safari, Internet Explorer, and Edge.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Devices&amp;lt;/b&amp;gt;: Most smart devices running Android or iOS.&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Atoms6</name></author>
	</entry>
</feed>