[MWForum]HELP

Harvey Bornfield mwforum@lists.mathcats.com
Thu, 29 Aug 2002 13:04:44 -0700


--=====================_19949746==_.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed

At 10:23 AM 8/29/2002 +1000, you wrote:
>  Hi Wendy and whomever else is reading this

> >so that they can
> > rotate it degree by degree if necessary in order to make the tessellation
> > work. However, this is where I'm 'stuck' - I don't know how to make the
> > turtle-as-a-tile rotate by clicking on it ! This of course is not an issue
> > if the turtle is 'wearing' say a  square tessellation-tile because it does
> > not have to be rotated in order to tessellate. [IS THIS MAKING SENSE ??]

Microworlds Pro, in their shape editor, allows for the rotation and 
resizing of turtle shapes. It is conceivable, given 128 available shapes, 
that one could manually install 36 contiguous 'brother-sister' shapes. If 
you set a turtle to a list with setsh[1 2 3 4 5], then program it to fd 0, 
then at every mouseclick, that turtle will cycle through the next 
shapenumber. (names can also be used)

But it sounds like you're 'fine-tuning' angles; the manual work required to 
create subtle visual variations oin the order of rotations one to three 
degrees apart, is not trivial The "raw" Micoworlds unclothed-turtle sports 
visual rotation at only a crude 5-12 degree turns) Even in the Pro version 
where its spectacularly easy to rotate shapes inside the graphics editor, 
and to save them in contiguous shape slots, still this is a "Chimp on 
Prozak", which means an altogether laborious, Jihad-like labor of love 
which elucidates the heretofore unspected relationship between patience, 
stress and coma.

"Cure Anyone, or is the disease preferable?
One can automate this process, by creating a warehouse, er, a list. Your 
strategy is to traverse, simplest case, a 40 by 40 square matrix, sponging 
up, dot by dot, each color under the turtle, going forward 1, performing 
"turtle-scanning", as you might call it. Going forward one, extracting via 
the colorunder reporter the whole succession of color dots, and stashing 
them, accordianlike, off the telescoping end of a list. The reporter 
Colorunder reports the color dot of a pixel under the turtle, IF you know 
EXACTLY what pixel in the turtle actually DOES the detection. LPUT, does 
the stashing off the end of a list.

When you're done, you have to write a loop to "Spray Out" the 1600 elements 
(40 X 40), but with the turtle rotated to a new angle, and then in a fresh, 
clean portion of the screen.

Find a blank 'dot' shape and bring it up on the shape editor. It will be a 
40 by 40 matrix. Double-click the eraser. Now Use the straight line tool to 
create a giant "X". turtle shape. Note that in the center of that shape 
there will be a quadrant of four adjacent pixel dots, just like the one you 
erased. The "Southwest" dot is the one which does the detection.

Assume that your tesselation already lives in a shape, has been assigned a 
turtle, that your turtle is home, its already stamped, and that it's a 40 X 
40 matrix. Good for starters. Do we dare drop this problem off at Algebra 
Day Care, and brutally ask you to figure out the displacement, how far 
north, how far west, to initialize ("to witness-relocate") that southwest 
turtle dot to the upper left-hand corner of the tesselation to be scanned 
and swallowed up, dot by dot? Using the NW corner, the one we're used to in 
snapshape (Crystal ball prediction: Microworlds 3.0, a new command: 
"SnapMatrix same parameters as snapshape), you can use a loop within a loop 
to handle rows, and within the rows, columns. (Smart money says, sliders 
can be utilized to set the matrix size, or a pair of cross-hair looking 
shapes of complementary colors clothing their patron turtles, programmed to 
set sliders to the numbers necessary by a single click. (Ask your 
neighborhood Author of Philosophy if eye-candy interfaces are right for you)

Graham, (and everyone else) your sweat equity awaits! Gee, an 'implied contest'
Do some delicious cognitive aerobics. I'll be happy to help. (Wendy, you 
can do this in 15 minutes!)


Snapmatrix will be available to exploit after Labor Day, promise, cross my 
heart and hope to program.

Have fun,
warm regards,
Harvey
<http://www.mythologics.org/>www.mythologics.<http://www.mythologics.org/>org


Pythagorean "PS" for Trig-Meisters. If I rotate a 40 by 40 matrix 45 
degrees and I've got dots close to any two diagonal corners, Will I need a 
snapshape area as potentially large as 40 times the square root of 2 to 
house the expanded turtle size to absorb the rotated figure?  ;-)))  Shawn 
of Montreal, are you here?

PPS:
The Aboriginal 'dot' art (Papunyah-Tula style painting) seems like an 
opportunity to develop an incredible environment for creating and shuffling 
around dots. I visualize a Target "Dot" gun, which when you adjust a slider 
to allow for "time interval between sprinkling" gets dragged around by the 
mouse spawning  via newturtle command at regularly scheduled spurts, a 
showering trajectory, a 'rememberable' trail  of 'turtle-rain-drops' which 
would end up as sine curves, as seaweed-like strands of dots populating the 
screen. One could likewise program the Dot gun to different dot sizes 
(different 'brushes', each a turtle shape, and memorize the routes, 
(heading and leap between each two successive dots) reproducing them in 
larger sweep or shriveled miniaturization by scaling the leap) 
Incorporating the 'firing interval delay' into the discovery environment 
would be outrageous. Rotating the trajectories would be possible.

When the paintings were finished, you could stamp the turtles, house the 
nuclear waste. oops, store the trajectory file in a Fort-Knox text-vault, 
for future reproduction.

Lastly, if you made each turtle dot available in 5 to ten color families 
from shade to tint, you could animate the rain, and make it glisten and 
glow like Aurora Borealis. Perhaps even choreograph the dots in slight 
variations of path...........
This fantasy will self-dissolve in three nanoseconds!

>Can
> > anyone help please?
> >
> >   We are currently using Microworlds v 2.03 and I'm wondering if the issue
>I
> > mention above would be non-issue if we were using Microworlds Pro.  That
>is
> > to say, would I be able to programme the turtle/tiles to rotate without
>any
> > problems if we were working in the MwPro environment. Is this the case?
> >
>
> > Graham Williams
> >
>
>_______________________________________________
>MWForum mailing list
>MWForum@lists.mathcats.com
>http://lists.mathcats.com/mailman/listinfo/mwforum

"Music is the one incorporeal entrance into the higher world of knowledge 
which comprehends mankind, but mankind cannot comprehend."
Ludwig van Beethoven



--=====================_19949746==_.ALT
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
At 10:23 AM 8/29/2002 +1000, you wrote:<br>
<blockquote type=3Dcite class=3Dcite cite>&nbsp;Hi Wendy and whomever else i=
s
reading this </blockquote><br>
<blockquote type=3Dcite class=3Dcite cite>&gt;so that they can<br>
&gt; rotate it degree by degree if necessary in order to make the
tessellation<br>
&gt; work. However, this is where I'm 'stuck' - I don't know how to make
the<br>
&gt; turtle-as-a-tile rotate by clicking on it ! This of course is not an
issue<br>
&gt; if the turtle is 'wearing' say a&nbsp; square tessellation-tile
because it does<br>
&gt; not have to be rotated in order to tessellate. [IS THIS MAKING SENSE
??]</blockquote><br>
Microworlds Pro, in their shape editor, allows for the rotation and
resizing of turtle shapes. It is conceivable, given 128 available shapes,
that one could manually install 36 contiguous 'brother-sister' shapes. If
you set a turtle to a list with setsh[1 2 3 4 5], then program it to fd
0, then at every mouseclick, that turtle will cycle through the next
shapenumber. (names can also be used)<br><br>
But it sounds like you're 'fine-tuning' angles; the manual work required
to create subtle visual variations oin the order of rotations one to
three degrees apart, is not trivial The &quot;raw&quot; Micoworlds
unclothed-turtle sports visual rotation at only a crude 5-12 degree
turns) Even in the Pro version where its spectacularly easy to rotate
shapes inside the graphics editor, and to save them in contiguous shape
slots, still this is a &quot;Chimp on Prozak&quot;, which means an
altogether laborious, Jihad-like labor of love which elucidates the
heretofore unspected relationship between patience, stress and coma.
<br><br>
&quot;Cure Anyone, or is the disease preferable?&nbsp; <br>
One can automate this process, by creating a warehouse, er, a list. Your
strategy is to traverse, simplest case, a 40 by 40 square matrix,
sponging up, dot by dot, each color under the turtle, going forward 1,
performing &quot;turtle-scanning&quot;, as you might call it. Going
forward one, extracting via the colorunder reporter the whole succession
of color dots, and stashing them, accordianlike, off the telescoping end
of a list. The reporter Colorunder reports the color dot of a pixel under
the turtle, IF you know EXACTLY what pixel in the turtle actually DOES
the detection. LPUT, does the stashing off the end of a list.<br><br>
When you're done, you have to write a loop to &quot;Spray Out&quot; the
1600 elements (40 X 40), but with the turtle rotated to a new angle, and
then in a fresh, clean portion of the screen. <br><br>
Find a blank 'dot' shape and bring it up on the shape editor. It will be
a 40 by 40 matrix. Double-click the eraser. Now Use the straight line
tool to create a giant &quot;X&quot;. turtle shape. Note that in the
center of that shape there will be a quadrant of four adjacent pixel
dots, just like the one you erased. The &quot;Southwest&quot; dot is the
one which does the detection. <br><br>
Assume that your tesselation already lives in a shape, has been assigned
a turtle, that your turtle is home, its already stamped, and that it's a
40 X 40 matrix. Good for starters. Do we dare drop this problem off at
Algebra Day Care, and brutally ask you to figure out the displacement,
how far north, how far west, to initialize (&quot;to
witness-relocate&quot;) that southwest turtle dot to the upper left-hand
corner of the tesselation to be scanned and swallowed up, dot by dot?
Using the NW corner, the one we're used to in snapshape (Crystal ball
prediction: Microworlds 3.0, a new command: &quot;SnapMatrix same
parameters as snapshape), you can use a loop within a loop to handle
rows, and within the rows, columns. (Smart money says, sliders can be
utilized to set the matrix size, or a pair of cross-hair looking shapes
of complementary colors clothing their patron turtles, programmed to set
sliders to the numbers necessary by a single click. (Ask your
neighborhood Author of Philosophy if eye-candy interfaces are right for
you)<br><br>
Graham, (and everyone else) your sweat equity awaits! Gee, an 'implied
contest'<br>
Do some delicious cognitive aerobics. I'll be happy to help. (Wendy, you
can do this in 15 minutes!)<br><br>
<br>
Snapmatrix will be available to exploit after Labor Day, promise, cross
my heart and hope to program.<br><br>
Have fun,<br>
warm regards,<br>
Harvey<br>
<a href=3D"http://www.mythologics.org/">www</a>.mythologics.<a=
 href=3D"http://www.mythologics.org/">org<br><br>
<br>
</a>Pythagorean &quot;PS&quot; for Trig-Meisters. If I rotate a 40 by 40
matrix 45 degrees and I've got dots close to any two diagonal corners,
Will I need a snapshape area as potentially large as 40 times the square
root of 2 to house the expanded turtle size to absorb the rotated
figure?&nbsp; ;-)))&nbsp; Shawn of Montreal, are you here?<br><br>
PPS:<br>
The Aboriginal 'dot' art (Papunyah-Tula style painting) seems like an
opportunity to develop an incredible environment for creating and
shuffling around dots. I visualize a Target &quot;Dot&quot; gun, which
when you adjust a slider to allow for &quot;time interval between
sprinkling&quot; gets dragged around by the mouse spawning&nbsp; via
newturtle command at regularly scheduled spurts, a showering trajectory,
a 'rememberable' trail&nbsp; of 'turtle-rain-drops' which would end up as
sine curves, as seaweed-like strands of dots populating the screen. One
could likewise program the Dot gun to different dot sizes (different
'brushes', each a turtle shape, and memorize the routes, (heading and
leap between each two successive dots) reproducing them in larger sweep
or shriveled miniaturization by scaling the leap) Incorporating the
'firing interval delay' into the discovery environment would be
outrageous. Rotating the trajectories would be possible. <br><br>
When the paintings were finished, you could stamp the turtles, house the
nuclear waste. oops, store the trajectory file in a Fort-Knox text-vault,
for future reproduction. <br><br>
Lastly, if you made each turtle dot available in 5 to ten color families
from shade to tint, you could animate the rain, and make it glisten and
glow like Aurora Borealis. Perhaps even choreograph the dots in slight
variations of path...........<br>
This fantasy will self-dissolve in three nanoseconds!<br><br>
<blockquote type=3Dcite class=3Dcite cite>Can<br>
&gt; anyone help please?<br>
&gt; <br>
&gt;&nbsp;&nbsp; We are currently using Microworlds v 2.03 and I'm
wondering if the issue<br>
I<br>
&gt; mention above would be non-issue if we were using Microworlds
Pro.&nbsp; That<br>
is<br>
&gt; to say, would I be able to programme the turtle/tiles to rotate
without<br>
any<br>
&gt; problems if we were working in the MwPro environment. Is this the
case?<br>
&gt; <br><br>
&gt; Graham Williams<br>
&gt; <br><br>
_______________________________________________<br>
MWForum mailing list<br>
MWForum@lists.mathcats.com<br>
<a href=3D"http://lists.mathcats.com/mailman/listinfo/mwforum" eudora=3D"aut=
ourl">http://lists.mathcats.com/mailman/listinfo/mwforum</a>
</blockquote>
<x-sigsep><p></x-sigsep>
<font face=3D"Bell MT">&quot;Music is the one incorporeal entrance into the=
 higher world of knowledge which comprehends mankind, but mankind cannot=
 comprehend.&quot; <br>
Ludwig van Beethoven <br><br>
<br>
</font></html>

--=====================_19949746==_.ALT--