This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import turtle | |
t = turtle.Pen() | |
screen = t.getscreen() | |
# the # pound symbol is used to insert single-line comments | |
# draws a crcular dot at center of stage, (0,0) | |
t.dot() | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import turtle | |
t = turtle.Pen() | |
screen = t.getscreen() | |
#Hide turtle | |
t.hideturtle() | |
# dot() method draws a circular dot at defaul location (0, 0), which is at center of screen. | |
t.dot() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import turtle | |
t = turtle.Pen() | |
screen = t.getscreen() | |
#Hide turtle | |
#t.hideturtle() | |
# the # pound symbol is used to insert single-line comments | |
#dot() method |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import turtle | |
t = turtle.Pen() | |
screen = t.getscreen() | |
#Hide turtle disabled | |
#t.hideturtle() | |
# the # pound symbol is used to insert single-line comments | |
# draws at center of stage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
</head> | |
<body> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// draw a line from (100, 50) to (300, 175); | |
size(400, 400); | |
line(100, 50, 300, 175); | |
// draw a thicker, green line from (350, 200) to (100, 310); | |
stroke(0, 173, 0); | |
strokeWeight(4); | |
line(350, 200, 100, 310); | |
//http://www.khanacademy.org/cs/linex1-y1-x2-y2/827916099 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//stage dimensions | |
size(400, 400) | |
// draw a rectangle at (100, 50) with width 200 and height 100 | |
rect(100, 150, 200, 100); | |
// draw a rounded rectangle at (150, 300) with width 100 and height 50 | |
rect(150, 300, 100, 50, 30); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"meetings": { | |
"-JWT5y43YFy1mGirVVS2": { | |
"date": 1410328158691, | |
"name": "Tech Deland Oct 2014" | |
}, | |
"-JWT65QvjwD4TSFjDx4V": { | |
"date": 1410328192928, | |
"name": "Collide Halifax 2014" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head lang="en"> | |
<meta charset="UTF-8"> | |
<title></title> | |
</head> | |
<body> | |
This is a simple example. | |
<script type="text/javascript"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
OlderNewer