<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://fingswotidun.com/code/index.php?action=history&amp;feed=atom&amp;title=TinyDraw</id>
		<title>TinyDraw - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://fingswotidun.com/code/index.php?action=history&amp;feed=atom&amp;title=TinyDraw"/>
		<link rel="alternate" type="text/html" href="https://fingswotidun.com/code/index.php?title=TinyDraw&amp;action=history"/>
		<updated>2026-11-14T23:00:58Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.2</generator>

	<entry>
		<id>https://fingswotidun.com/code/index.php?title=TinyDraw&amp;diff=1349&amp;oldid=prev</id>
		<title>Lerc at 06:52, 22 April 2019</title>
		<link rel="alternate" type="text/html" href="https://fingswotidun.com/code/index.php?title=TinyDraw&amp;diff=1349&amp;oldid=prev"/>
				<updated>2019-04-22T06:52:02Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 06:52, 22 April 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;print(&amp;quot;Draw with the arrow keys&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;print(&amp;quot;Draw with the arrow keys&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;var &lt;/del&gt;cx=320;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;let &lt;/ins&gt;cx=320;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;var &lt;/del&gt;cy=240;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;let &lt;/ins&gt;cy=240;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lerc</name></author>	</entry>

	<entry>
		<id>https://fingswotidun.com/code/index.php?title=TinyDraw&amp;diff=1291&amp;oldid=prev</id>
		<title>Lerc: Created page with &quot;TinyDraw is a simple drawing program that uses the arrow keys.   Individual keyboard keys are identified by keycodes.     The variable cx is changed when the left and righ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://fingswotidun.com/code/index.php?title=TinyDraw&amp;diff=1291&amp;oldid=prev"/>
				<updated>2015-01-06T20:46:48Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;TinyDraw is a simple drawing program that uses the arrow keys.   Individual keyboard keys are identified by &lt;a href=&quot;/code/index.php/Keycodes&quot; title=&quot;Keycodes&quot;&gt;keycodes&lt;/a&gt;.     The variable cx is changed when the left and righ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;TinyDraw is a simple drawing program that uses the arrow keys.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Individual keyboard keys are identified by [[keycodes]].   &lt;br /&gt;
&lt;br /&gt;
The variable cx is changed when the left and right arrow keys are held down. &lt;br /&gt;
&lt;br /&gt;
The variable cy is changed when the up and down arrow keys are held down. &lt;br /&gt;
&lt;br /&gt;
A filled circle is drawn on the screen at the position cx,cy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;edcode&amp;gt;&lt;br /&gt;
print(&amp;quot;Draw with the arrow keys&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
var cx=320;&lt;br /&gt;
var cy=240;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function move() {&lt;br /&gt;
  // the arrow keys have key codes 37,38,39 and 40&lt;br /&gt;
  &lt;br /&gt;
  if (keyIsDown(38)) {&lt;br /&gt;
    cy-=1; &lt;br /&gt;
  }&lt;br /&gt;
  &lt;br /&gt;
  if (keyIsDown(40)) {&lt;br /&gt;
    cy+=1;  &lt;br /&gt;
  }&lt;br /&gt;
  &lt;br /&gt;
  if (keyIsDown(37)) {&lt;br /&gt;
    cx-=1;&lt;br /&gt;
  }&lt;br /&gt;
  &lt;br /&gt;
  if (keyIsDown(39)) {&lt;br /&gt;
    cx+=1;&lt;br /&gt;
  }&lt;br /&gt;
  &lt;br /&gt;
  fillCircle(cx,cy,6);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
run(move);&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/edcode&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lerc</name></author>	</entry>

	</feed>