Last change
on this file since 724 was 724, checked in by jts21, 10 years ago |
Add shapes tutorial, and add countSides and hasRectangle functions to javascript helper functions frameset
|
File size:
4.6 KB
|
Line | |
---|
1 | V 20
|
---|
2 | U jts21A
|
---|
3 | D 20Jan2014[14:50]
|
---|
4 | M jts21A
|
---|
5 | d 20Jan2014[15:29]
|
---|
6 | Z
|
---|
7 |
|
---|
8 | S T 10
|
---|
9 | s 20Jan2014[14:50]
|
---|
10 | d 0 0 100 100
|
---|
11 | P 16 55
|
---|
12 | T Create an arrow, then click here to continue
|
---|
13 | Q 0
|
---|
14 | o jts21A
|
---|
15 | v S
|
---|
16 | f sb30
|
---|
17 | t -1.0
|
---|
18 | b 0.0
|
---|
19 | m 0.0
|
---|
20 | w 880
|
---|
21 | h -1.0
|
---|
22 |
|
---|
23 | S T 12
|
---|
24 | s 20Jan2014[14:50.36]
|
---|
25 | d 50 50 50 100
|
---|
26 | P 57 95
|
---|
27 | T @functions
|
---|
28 | F Javascript1
|
---|
29 | Q 0
|
---|
30 | o jts21A
|
---|
31 | v S
|
---|
32 | f tr18
|
---|
33 | t -1.0
|
---|
34 | b 0.0
|
---|
35 | m 0.0
|
---|
36 | w 974
|
---|
37 | h -1.0
|
---|
38 |
|
---|
39 | S T 167
|
---|
40 | s 20Jan2014[14:53.22]
|
---|
41 | P 25 124
|
---|
42 | T var frame = loadTutorialFrame(28)
|
---|
43 | Q 0
|
---|
44 | o jts21A
|
---|
45 | v S
|
---|
46 | f tr18
|
---|
47 | t -1.0
|
---|
48 | b 0.0
|
---|
49 | m 0.0
|
---|
50 | w 974
|
---|
51 | h -1.0
|
---|
52 |
|
---|
53 | S T 179
|
---|
54 | s 20Jan2014[15:03.45]
|
---|
55 | P 25 153
|
---|
56 | T var polygons = countSides(frame, false)
|
---|
57 | Q 0
|
---|
58 | o jts21A
|
---|
59 | v S
|
---|
60 | f tr18
|
---|
61 | t -1.0
|
---|
62 | b 0.0
|
---|
63 | m 0.0
|
---|
64 | w 974
|
---|
65 | h -1.0
|
---|
66 |
|
---|
67 | S T 253
|
---|
68 | s 20Jan2014[15:09.11]
|
---|
69 | P 25 182
|
---|
70 | T success = false
|
---|
71 | Q 0
|
---|
72 | o jts21A
|
---|
73 | v S
|
---|
74 | f tr18
|
---|
75 | t -1.0
|
---|
76 | b 0.0
|
---|
77 | m 0.0
|
---|
78 | w 974
|
---|
79 | h -1.0
|
---|
80 |
|
---|
81 | S T 186
|
---|
82 | s 20Jan2014[15:08.00]
|
---|
83 | P 25 211
|
---|
84 | T for(var i in polygons)
|
---|
85 | Q 0
|
---|
86 | o jts21A
|
---|
87 | v S
|
---|
88 | f tr18
|
---|
89 | t -1.0
|
---|
90 | b 0.0
|
---|
91 | m 0.0
|
---|
92 | w 974
|
---|
93 | h -1.0
|
---|
94 |
|
---|
95 | S P 324
|
---|
96 | s 20Jan2014[15:08.08]
|
---|
97 | d 100 0 0 100
|
---|
98 | P 49 221
|
---|
99 | e 100 59 59 100
|
---|
100 | Q 0
|
---|
101 | o jts21A
|
---|
102 | v S
|
---|
103 | h 2.0
|
---|
104 | l 325 327
|
---|
105 | c 199 201
|
---|
106 |
|
---|
107 | S P 326
|
---|
108 | s 20Jan2014[15:08.08]
|
---|
109 | d 100 0 0 100
|
---|
110 | P 265 221
|
---|
111 | e 100 59 59 100
|
---|
112 | Q 0
|
---|
113 | o jts21A
|
---|
114 | v S
|
---|
115 | h 2.0
|
---|
116 | l 325 339
|
---|
117 | c 199 202
|
---|
118 |
|
---|
119 | S T 328
|
---|
120 | s 20Jan2014[15:08.11]
|
---|
121 | P 66 245
|
---|
122 | T if(polygons[i] == 1)
|
---|
123 | Q 0
|
---|
124 | o jts21A
|
---|
125 | v S
|
---|
126 | f tr18
|
---|
127 | t -1.0
|
---|
128 | b 0.0
|
---|
129 | m 0.0
|
---|
130 | w 974
|
---|
131 | h -1.0
|
---|
132 |
|
---|
133 | S P 329
|
---|
134 | s 20Jan2014[15:08.20]
|
---|
135 | d 0 0 100 100
|
---|
136 | P 80 258
|
---|
137 | e 59 59 100 100
|
---|
138 | Q 0
|
---|
139 | o jts21A
|
---|
140 | v S
|
---|
141 | h 2.0
|
---|
142 | l 330 331
|
---|
143 | c 229 231
|
---|
144 |
|
---|
145 | S P 332
|
---|
146 | s 20Jan2014[15:08.20]
|
---|
147 | d 0 0 100 100
|
---|
148 | P 252 258
|
---|
149 | e 59 59 100 100
|
---|
150 | Q 0
|
---|
151 | o jts21A
|
---|
152 | v S
|
---|
153 | h 2.0
|
---|
154 | l 330 337
|
---|
155 | c 229 232
|
---|
156 |
|
---|
157 | S T 333
|
---|
158 | s 20Jan2014[15:09.40]
|
---|
159 | P 105 283
|
---|
160 | T success = true
|
---|
161 | Q 0
|
---|
162 | o jts21A
|
---|
163 | v S
|
---|
164 | f tr18
|
---|
165 | t -1.0
|
---|
166 | b 0.0
|
---|
167 | m 0.0
|
---|
168 | w 974
|
---|
169 | h -1.0
|
---|
170 |
|
---|
171 | S P 334
|
---|
172 | s 20Jan2014[15:08.20]
|
---|
173 | d 0 0 100 100
|
---|
174 | P 80 298
|
---|
175 | e 59 59 100 100
|
---|
176 | Q 0
|
---|
177 | o jts21A
|
---|
178 | v S
|
---|
179 | h 2.0
|
---|
180 | l 331 336
|
---|
181 | c 230 231
|
---|
182 |
|
---|
183 | S P 335
|
---|
184 | s 20Jan2014[15:08.20]
|
---|
185 | d 0 0 100 100
|
---|
186 | P 252 298
|
---|
187 | e 59 59 100 100
|
---|
188 | Q 0
|
---|
189 | o jts21A
|
---|
190 | v S
|
---|
191 | h 2.0
|
---|
192 | l 336 337
|
---|
193 | c 230 232
|
---|
194 |
|
---|
195 | S P 338
|
---|
196 | s 20Jan2014[15:08.08]
|
---|
197 | d 100 0 0 100
|
---|
198 | P 265 316
|
---|
199 | e 100 59 59 100
|
---|
200 | Q 0
|
---|
201 | o jts21A
|
---|
202 | v S
|
---|
203 | h 2.0
|
---|
204 | l 341 339
|
---|
205 | c 200 202
|
---|
206 |
|
---|
207 | S P 340
|
---|
208 | s 20Jan2014[15:08.08]
|
---|
209 | d 100 0 0 100
|
---|
210 | P 49 316
|
---|
211 | e 100 59 59 100
|
---|
212 | Q 0
|
---|
213 | o jts21A
|
---|
214 | v S
|
---|
215 | h 2.0
|
---|
216 | l 327 341
|
---|
217 | c 200 201
|
---|
218 |
|
---|
219 | S T 344
|
---|
220 | s 20Jan2014[15:10.07]
|
---|
221 | P 29 349
|
---|
222 | T if(success)
|
---|
223 | Q 0
|
---|
224 | o jts21A
|
---|
225 | v S
|
---|
226 | f tr18
|
---|
227 | t -1.0
|
---|
228 | b 0.0
|
---|
229 | m 0.0
|
---|
230 | w 974
|
---|
231 | h -1.0
|
---|
232 |
|
---|
233 | S P 361
|
---|
234 | s 20Jan2014[15:10.11]
|
---|
235 | d 100 0 0 100
|
---|
236 | P 973 363
|
---|
237 | e 100 59 59 100
|
---|
238 | Q 0
|
---|
239 | o jts21A
|
---|
240 | v S
|
---|
241 | h 2.0
|
---|
242 | l 365 413
|
---|
243 | c 357 360
|
---|
244 |
|
---|
245 | S P 362
|
---|
246 | s 20Jan2014[15:10.11]
|
---|
247 | d 100 0 0 100
|
---|
248 | P 44 363
|
---|
249 | e 100 59 59 100
|
---|
250 | Q 0
|
---|
251 | o jts21A
|
---|
252 | v S
|
---|
253 | h 2.0
|
---|
254 | l 365 366
|
---|
255 | c 357 359
|
---|
256 |
|
---|
257 | S T 406
|
---|
258 | s 20Jan2014[15:10.43]
|
---|
259 | P 59 392
|
---|
260 | T frame.addText(70, 206, "You can create polylines by starting a line and right clicking instead of middle clicking to end the line.\nThis will place down a point and continue the line.\nMiddle click is still used to end the poly-line when you're finished", null)
|
---|
261 | Q 0
|
---|
262 | o jts21A
|
---|
263 | v S
|
---|
264 | f tr18
|
---|
265 | t -1.0
|
---|
266 | b 0.0
|
---|
267 | m 0.0
|
---|
268 | w 974
|
---|
269 | h -1.0
|
---|
270 |
|
---|
271 | S T 415
|
---|
272 | s 20Jan2014[15:12.09]
|
---|
273 | P 61 477
|
---|
274 | T frame.addText(70, 284, "Create a poly-line, then click here to continue", "runJSFrame", "Tutorials30")
|
---|
275 | Q 0
|
---|
276 | o jts21A
|
---|
277 | v S
|
---|
278 | f tr18
|
---|
279 | t -1.0
|
---|
280 | b 0.0
|
---|
281 | m 0.0
|
---|
282 | w 974
|
---|
283 | h -1.0
|
---|
284 |
|
---|
285 | S P 363
|
---|
286 | s 20Jan2014[15:10.11]
|
---|
287 | d 100 0 0 100
|
---|
288 | P 44 509
|
---|
289 | e 100 59 59 100
|
---|
290 | Q 0
|
---|
291 | o jts21A
|
---|
292 | v S
|
---|
293 | h 2.0
|
---|
294 | l 366 412
|
---|
295 | c 358 359
|
---|
296 |
|
---|
297 | S P 411
|
---|
298 | s 20Jan2014[15:10.11]
|
---|
299 | d 100 0 0 100
|
---|
300 | P 973 509
|
---|
301 | e 100 59 59 100
|
---|
302 | Q 0
|
---|
303 | o jts21A
|
---|
304 | v S
|
---|
305 | h 2.0
|
---|
306 | l 412 413
|
---|
307 | c 358 360
|
---|
308 |
|
---|
309 | S T 410
|
---|
310 | s 20Jan2014[15:10.18]
|
---|
311 | P 21 552
|
---|
312 | T else
|
---|
313 | Q 0
|
---|
314 | o jts21A
|
---|
315 | v S
|
---|
316 | f tr18
|
---|
317 | t -1.0
|
---|
318 | b 0.0
|
---|
319 | m 0.0
|
---|
320 | w 974
|
---|
321 | h -1.0
|
---|
322 |
|
---|
323 | S P 391
|
---|
324 | s 20Jan2014[15:10.20]
|
---|
325 | d 0 0 100 100
|
---|
326 | P 847 567
|
---|
327 | e 59 59 100 100
|
---|
328 | Q 0
|
---|
329 | o jts21A
|
---|
330 | v S
|
---|
331 | h 2.0
|
---|
332 | l 395 405
|
---|
333 | c 387 390
|
---|
334 |
|
---|
335 | S P 392
|
---|
336 | s 20Jan2014[15:10.20]
|
---|
337 | d 0 0 100 100
|
---|
338 | P 45 567
|
---|
339 | e 59 59 100 100
|
---|
340 | Q 0
|
---|
341 | o jts21A
|
---|
342 | v S
|
---|
343 | h 2.0
|
---|
344 | l 395 396
|
---|
345 | c 387 389
|
---|
346 |
|
---|
347 | S T 402
|
---|
348 | s 20Jan2014[15:10.25]
|
---|
349 | P 58 601
|
---|
350 | T org.expeditee.gui.MessageBay.errorMessage("You need to create an arrow to continue")
|
---|
351 | Q 0
|
---|
352 | o jts21A
|
---|
353 | v S
|
---|
354 | f tr18
|
---|
355 | t -1.0
|
---|
356 | b 0.0
|
---|
357 | m 0.0
|
---|
358 | w 974
|
---|
359 | h -1.0
|
---|
360 |
|
---|
361 | S P 393
|
---|
362 | s 20Jan2014[15:10.20]
|
---|
363 | d 0 0 100 100
|
---|
364 | P 45 622
|
---|
365 | e 59 59 100 100
|
---|
366 | Q 0
|
---|
367 | o jts21A
|
---|
368 | v S
|
---|
369 | h 2.0
|
---|
370 | l 396 404
|
---|
371 | c 388 389
|
---|
372 |
|
---|
373 | S P 403
|
---|
374 | s 20Jan2014[15:10.20]
|
---|
375 | d 0 0 100 100
|
---|
376 | P 847 622
|
---|
377 | e 59 59 100 100
|
---|
378 | Q 0
|
---|
379 | o jts21A
|
---|
380 | v S
|
---|
381 | h 2.0
|
---|
382 | l 404 405
|
---|
383 | c 388 390
|
---|
384 |
|
---|
385 | Z
|
---|
386 |
|
---|
387 | L 325 1
|
---|
388 | s 326 324
|
---|
389 |
|
---|
390 | L 327 1
|
---|
391 | s 324 340
|
---|
392 |
|
---|
393 | L 339 1
|
---|
394 | s 338 326
|
---|
395 |
|
---|
396 | L 330 1
|
---|
397 | s 332 329
|
---|
398 |
|
---|
399 | L 331 1
|
---|
400 | s 329 334
|
---|
401 |
|
---|
402 | L 337 1
|
---|
403 | s 335 332
|
---|
404 |
|
---|
405 | L 336 1
|
---|
406 | s 334 335
|
---|
407 |
|
---|
408 | L 341 1
|
---|
409 | s 340 338
|
---|
410 |
|
---|
411 | L 365 1
|
---|
412 | s 361 362
|
---|
413 |
|
---|
414 | L 413 1
|
---|
415 | s 411 361
|
---|
416 |
|
---|
417 | L 366 1
|
---|
418 | s 362 363
|
---|
419 |
|
---|
420 | L 412 1
|
---|
421 | s 363 411
|
---|
422 |
|
---|
423 | L 395 1
|
---|
424 | s 391 392
|
---|
425 |
|
---|
426 | L 405 1
|
---|
427 | s 403 391
|
---|
428 |
|
---|
429 | L 396 1
|
---|
430 | s 392 393
|
---|
431 |
|
---|
432 | L 404 1
|
---|
433 | s 393 403
|
---|
434 |
|
---|
435 | Z
|
---|
436 |
|
---|
437 | C 199 3
|
---|
438 | s 326 324
|
---|
439 |
|
---|
440 | C 201 2
|
---|
441 | s 324 340
|
---|
442 |
|
---|
443 | C 202 2
|
---|
444 | s 338 326
|
---|
445 |
|
---|
446 | C 229 3
|
---|
447 | s 332 329
|
---|
448 |
|
---|
449 | C 231 2
|
---|
450 | s 329 334
|
---|
451 |
|
---|
452 | C 232 2
|
---|
453 | s 335 332
|
---|
454 |
|
---|
455 | C 230 3
|
---|
456 | s 334 335
|
---|
457 |
|
---|
458 | C 200 3
|
---|
459 | s 340 338
|
---|
460 |
|
---|
461 | C 357 3
|
---|
462 | s 361 362
|
---|
463 |
|
---|
464 | C 360 2
|
---|
465 | s 411 361
|
---|
466 |
|
---|
467 | C 359 2
|
---|
468 | s 362 363
|
---|
469 |
|
---|
470 | C 358 3
|
---|
471 | s 363 411
|
---|
472 |
|
---|
473 | C 387 3
|
---|
474 | s 391 392
|
---|
475 |
|
---|
476 | C 390 2
|
---|
477 | s 403 391
|
---|
478 |
|
---|
479 | C 389 2
|
---|
480 | s 392 393
|
---|
481 |
|
---|
482 | C 388 3
|
---|
483 | s 393 403
|
---|
484 |
|
---|
485 | Z
|
---|
486 |
|
---|
487 | ActiveTime:00:09:41
|
---|
488 | DarkTime:00:01:32
|
---|
489 | 29:45:468 246 473 kRight
|
---|
490 | 29:45:708 259 477 kLeft
|
---|
491 | 29:45:892 248 477 kLeft
|
---|
492 | 29:46:396 238 477 k8
|
---|
493 | 29:46:548 248 477 kRight
|
---|
494 | 29:46:900 259 477 kDelete
|
---|
495 | 29:47:783 638 231 Ld
|
---|
496 | 29:47:862 638 230 Lu
|
---|
Note:
See
TracBrowser
for help on using the repository browser.