Differences

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

Link to this comparison view

glowscript_getting_started [2018/06/13 20:55]
tallpaul created
glowscript_getting_started [2018/06/13 20:56] (current)
tallpaul
Line 1: Line 1:
-<WRAP info>+====Getting Started with Glowscript====
  
-==== Project 2: Learning goals ====+**Glowscript encounters some problems when using Safari. Please use Google Chrome as your browser when using Glowscript.** If you encounter any issues with Glowscript, log out and close your browser, then log back in and try again. ​
  
-  * Predict ​the motion ​of a single-particle system executing constant velocity or constant acceleration motion using appropriate representations (this includes verbalgraphical, diagrammatic,​ mathematical, and computational representations). +Throughout ​the course ​of this semesterwe will be using the Integrated Development Environment (IDE) Glowscript. Glowscript is a freeonline server where users can write and compile Visual Based Python (VPythoncodeIn order to use Glowscript, follow the steps below: 
-  ​* Collect, analyze, and evaluate data to determine ​the type of motion and the properties ​of the motion of single-particle system+  ​- Go to the Glowscript homepage.http://​www.glowscript.org/​ 
-  ​* Evaluate ​the applicability/​limitations of models ​and the validity ​of predictions for different types of motion+  - In the upper right-hand corner ​of the page, there is location to "Sign In." You do not need to create a user account to use Glowscript. Glowscript uses your existing google account as your user information. If you do not have an existing google account (gmail account), you will need to make one. If you do have an existing google account, sign in with that and click "​Allow"​ when prompted
-  ​* Apply the momentum principle ​($\Delta\vec{p}=\vec{F}\,\Delta t$; $d\vec{p}=\vec{F}\,dt$) iteratively/​computationally ​to predict ​the motion or determine ​the properties of motion/net force acting on a single-particle system ​where the net force is not constant ​(e.g., due to spring-like restoring forces or dissipative drag forces)+  ​- Once logged in, the main display will change ​and show you are logged in. To access programs, click on "​here"​ located at the end of the sentence, "You are signed in as //​username//​ and your programs are here." 
- +  ​- You are now in your programs menu. Here, your programs will be organized by folders ​(tabs). Each time you begin a new computational problemyou should make a new folder. To do thisselect "Add Folder,"​ and make sure you select "​Public."​ When you make a program in Glowscript, it is stored in **the users account you wrote the program in**. In order for your group mates to be able to access ​the program later, you need to make the folder public. 
-</​WRAP>​+  ​Then, select "​Create New Program."​ You should be taken to a new screen ​where you will actually write the code. **Important:​** at the top of the program, it will have the following line, "​GlowScript 2.6 VPython."​ DO NOT DELETE THIS LINE. This is what imports the necessary functionality into the programming environment. If you delete this line, your code will not work. To make sure you are set to go, type "​sphere)" into a Glowscript code and run the programYour display should now show a white sphereYou can now navigate between running the code (Run this Program) and editing the code (Edit this Program). Use two finger scrolling to zoom inand use hold control while clicking ​to rotate the visuals once you run. 
 +  ​Make sure at the end of each computational day, you navigate back to the folder your code is in and copy and paste the URL into an email and send it to your group. This will allow them to access your code at a later date
 +  - Happy coding!
  
 +For more information and some example programs, see the "​Example Programs"​ section on the main Glowscript page. http://​www.glowscript.org/#/​user/​GlowScriptDemos/​folder/​Examples/​
  • glowscript_getting_started.1528923343.txt.gz
  • Last modified: 2018/06/13 20:55
  • by tallpaul