forked from sugarlabs/www
-
Notifications
You must be signed in to change notification settings - Fork 0
/
turtle-blocks-js.html
executable file
·175 lines (165 loc) · 11.4 KB
/
turtle-blocks-js.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
---
layout: default
title: Turtle Blocks Javascript - Sugar Labs
permalink: /turtle-blocks-js/index.html
---
<!-- Title section -->
<div class="section-title1">
<span class="tag tag-regular">TURTLE BLOCKS JAVASCRIPT</span>
</div>
<!-- Introduction section -->
<section id="testimonial" class="zeroMarPadBtm">
<div class="container">
<div class="row">
<div class="col-md-12" >
<div class="row justify-content-center">
<div class="col-md-8 col-md-push-2" >
<div class="section-title text-center">
<h2>TURTLE BLOCKS JS</h2>
<p class="customParagraphStyle">Turtle Blocks Javascript is an activity with a Logo-inspired graphical "turtle" that draws colorful art based on snap-together visual programming elements. Its "low floor" provides an easy entry point for beginners. It also has "high ceiling" programming, graphics, mathematics, and Computer Science features which will challenge the more adventurous student.</p>
<br>
<p class="customParagraphStyle"><i><b>Note: Turtle Blocks JS closely parallels the Python version of Turtle Blocks, the version included in the Sugar distribution. Sugar users probably want to use Turtle Blocks rather than Turtle Blocks JS.</b></i></p>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Slideshow section -->
<section id="intro" class="zeroMarPadBtm">
<div class="container" >
<div class="row">
<div class="col-md-12" >
<div class="row justify-content-center">
<div class="col-md-8 col-md-push-2">
<div class="testimonial-carousel">
<div id="testimonial-slider1" class="owl-carousel">
<div>
<img src="{{ site.baseurl }}/assets/tb1.png" alt="Turtle Blocks JS screenshot" class="customImageStyle">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- "Using turtle blocks js" section -->
<section id="testimonial" class="zeroMarPadBtm">
<div class="container">
<div class="row">
<div class="col-md-12" >
<div class="row justify-content-center">
<div class="col-md-8 col-md-push-2" >
<div class="section-title text-center">
<h2>USING TURTLE ART JS</h2>
<p class="customParagraphStyle">Turtle Blocks Javascript is designed to run in a browser. Most of the development has been done in Chrome, but it should also work in Firefox. You can run it directly from index.html, from a <a href="http://turtle.sugarlabs.org/" class="hrefCustomColor">server maintained by Sugar Labs</a>, from the <a href="http://rawgit.com/sugarlabs/turtleblocksjs/master/index.html" class="hrefCustomColor">github repo</a>, or by setting up a <a href="https://github.com/sugarlabs/turtleblocksjs/blob/master/server.md" class="hrefCustomColor">local server</a>.</p>
<p class="customParagraphStyle">Once you've launched it in your browser, start by clicking on (or dragging) blocks from the Turtle palette. Use multiple blocks to create drawings; as the turtle moves under your control, colorful lines are drawn.</p>
<p class="customParagraphStyle">You add blocks to your program by clicking on or dragging them from the palette to the main area. You can delete a block by dragging it back onto the palette. Click anywhere on a "stack" of blocks to start executing that stack or by clicking in the Rabbit (fast) or Turtle (slow) on the Main Toolbar.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- "Getting started documentation" section -->
<section id="call-to-action">
<div class="container">
<div class="row">
<div class="col-md-12" >
<div class="row justify-content-center">
<div class="col-md-8 col-md-push-2" >
<h2>GETTING STARTED DOCUMENTATION</h2>
<p class="customFontSize">The basic buttons and basic blocks are explained in detail in <a href="https://github.com/sugarlabs/turtleblocksjs/blob/master/documentation/README.md" class="hrefCustomColor">Documentation</a>.</p>
<br>
<p class="customFontSize">A guide to programming with Turtle Blocks is available in <a href="https://github.com/sugarlabs/turtleblocksjs/blob/master/guide/README.md" class="hrefCustomColor">Turtle Blocks Guide</a>.</p>
<br>
<p class="customFontSize"><b>A quick start:</b></p>
<br>
<p class="customFontSize">Google Code-in participant Jasmine Park has created some guides to using <a href="http://people.sugarlabs.org/walter/TurtleBlocksIntroductoryManual.pdf" class="hrefCustomColor">Turtle Blocks: Turtle Blocks: An Introductory Manual</a> and <a href="http://people.sugarlabs.org/walter/TurtleBlocksAdvancedBlocksManual.pdf" class="hrefCustomColor">Turtle Blocks: A Manual for Advanced Blocks</a>.</p>
<br>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- "Reporting bugs" section -->
<section id="testimonial" >
<div class="container">
<div class="row">
<div class="col-md-12" >
<div class="row justify-content-center">
<div class="col-md-8 col-md-push-2" >
<h2 class="text-center">REPORTING BUGS</h2>
<p class="customParagraphStyle">Bugs can be reported in the <a href="https://github.com/sugarlabs/turtleblocksjs/issues" class="hrefCustomColor">issues section</a> of this repository.</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- "Advanced features" section -->
<section id="call-to-action">
<div class="container">
<div class="row">
<div class="col-md-12" >
<div class="row justify-content-center">
<div class="col-md-8 col-md-push-2" >
<h2>ADVANCED FEATURES</h2>
<p class="customFontSize">Turtle Blocks has a plugin mechanism that is used to add new blocks. You can learn more about how to use plugins (and how to write them) from the <a href="https://github.com/sugarlabs/turtleblocksjs/blob/master/plugins/README.md" class="hrefCustomColor">Plugins Guide</a>.</p>
<br>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- "List of plugins" section -->
<section id="intro">
<div class="container">
<div class="row">
<div class="col-md-12" >
<div class="row justify-content-center">
<div class="col-md-8 col-md-push-2">
<div class="border-box customBox" >
<h2 class="text-center">LIST OF PLUGINS</h2>
<hr>
<ul class="listDiscStyle">
<li class="listFont"><a href="https://github.com/SAMdroid-apps/turtlestorm" class="hrefCustomColor">Mindstorms</a>: blocks to interact with the LEGO Mindstorms robotics kit</li>
<li class="listFont"><a href="https://github.com/sugarlabs/turtleblocksjs/blob/master/plugins/rodi.json" class="hrefCustomColor">RoDi</a>: blocks to interact with RoDi wireless robot</li>
<li class="listFont"><a href="https://github.com/sugarlabs/turtleblocksjs/blob/master/plugins/maths.json" class="hrefCustomColor">Maths</a>: addition blocks for some more advanced mathematics</li>
<li class="listFont"><a href="https://github.com/sugarlabs/turtleblocksjs/blob/master/plugins/translate.json" class="hrefCustomColor">Translate</a>: blocks for translating strings between languages, e.g., English to Spanish</li>
<li class="listFont"><a href="https://github.com/sugarlabs/turtleblocksjs/blob/master/plugins/dictionary.json" class="hrefCustomColor">Dictionary</a>: a block to look up dictionary definitions</li>
<li class="listFont"><a href="https://github.com/sugarlabs/turtleblocksjs/blob/master/plugins/weather.json" class="hrefCustomColor">Weather</a>: blocks to retrieve global weather forecasts</li>
<li class="listFont"><a href="https://github.com/sugarlabs/turtleblocksjs/blob/master/plugins/logic.json" class="hrefCustomColor">Logic</a>: blocks for bitwise Boolean operations</li>
<li class="listFont"><a href="https://github.com/sugarlabs/turtleblocksjs/blob/master/plugins/finance.json" class="hrefCustomColor">Finance</a>: a block for looking up market prices</li>
<li class="listFont"><a href="https://github.com/sugarlabs/turtleblocksjs/blob/master/plugins/bitcoin.json" class="hrefCustomColor">Bitcoin</a>: a block for looking up bitcoin exchange rates</li>
<li class="listFont"><a href="https://github.com/sugarlabs/turtleblocksjs/blob/master/plugins/nutrition.json" class="hrefCustomColor">Nutrition</a>: blocks for exploring the nutritional content of food</li>
<li class="listFont"><a href="https://github.com/sugarlabs/turtleblocksjs/blob/master/plugins/facebook.json" class="hrefCustomColor">Facebook</a>: a block for publishing a project to Facebook</li>
<li class="listFont"><a href="https://github.com/sugarlabs/turtleblocksjs/blob/master/plugins/heap.json" class="hrefCustomColor">Heap</a>: blocks to support a heap and for loading and saving data</li>
<li class="listFont"><a href="https://github.com/sugarlabs/turtleblocksjs/blob/master/plugins/accelerometer.json" class="hrefCustomColor">Accelerometer</a>: blocks for accessing an accelerometer</li>
<li class="listFont"><a href="https://github.com/sugarlabs/turtleblocksjs/blob/master/plugins/turtle.json" class="hrefCustomColor">Turtle</a>: blocks to support advanced features when using multiple turtles</li>
<li class="listFont"><a href="https://github.com/sugarlabs/turtleblocksjs/blob/master/plugins/gmap.json" class="hrefCustomColor">Gmap</a>: blocks to support generation of Google maps.</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- "Return to main page" button section -->
<section id="call-to-action">
<div class="container">
<div class="row">
<div class="col-md-12" >
<a href="{{ site.baseurl }}/" ><button type="button" class="btn bt-raised btn-custom bt lastButtonMargin" >Return to main page</button></a>
</div>
</div>
</div>
</section>