[etoys-dev] graphing and watching enhancements

Steve Thomas sthomas1 at gosargon.com
Thu Mar 1 09:09:30 EST 2012


GraphPaperPanel: do you want to "auto-adjust" the <course grid slider> when
you change the <grid size>?

Ie: if gridSize =16 and graphPaper:Width is 160, it doesn't make sense for
the courseGridSlider to go beyond 10.
Otherwise depending on the settings the courseGridSlider may "visually" do

Also got an exception (logs attached) when trying to set grid size to max
in GraphPaperPanel (slide to 360).  Note I loaded the change sets into
Etoys 4.1.  I can use 4.1.2alpha and update code from server and perhaps
test there, but I prefer Rita's idea of having a build we can all test as
the base.


On Thu, Mar 1, 2012 at 10:51 AM, Steve Thomas <sthomas1 at gosargon.com> wrote:

> Scott,
> Thanks for your efforts.  Couple of comments:
>    - NumberLine: When I change a number lines pixels per unit, its
>    xOnGraph (or yOnGraph) becomes !=0.
>    - x-y Plane: Also I realize I can build this using tiles, but can we
>    have the objects on the graph have there xOnGraph and yOnGraph stay the
>    same when we change the number lines unitsPerMark?  Hmmm perhaps would be
>    best to simply provide a project that does this, not sure.  FYI, I
>    basically wanted to create a x-y plane the kids could easily scale.
>    - Graph Paper: I like the sliders to change <coarse grid> and <grid
>    size> in the dialog. But for us older folks whose eyes are starting to age,
>    you may want to change the color scheme. At first I didn't even notice them
>    and thought, wow it would be great if we had sliders or those number
>    changing arrows.  The I eventually found them.
>    - Graph Paper: To facilitate comparison, in the GraphPaperPanel,
>    could/should we have a button to <revert> so that I can change my (colors,
>    grid size/coarseness, Offset) and click a button to switch back and forth
>    between the original and my new settings?
>    - Graph Paper: Not exactly sure what Offset does.
>    - Graph Paper: Can't change the transparency in the Graph Paper Panel
>    - Graph Paper: The color category in the viewer has all 0 values, and
>    once you change the color using the Viewer, the Graph Paper Panel becomes
>    inaccesible (ie: change color in viewer, then click on eye dropper in Halo)
> Stephen
> On Thu, Mar 1, 2012 at 6:49 AM, Scott Wallace <
> scott.wallace at squeakland.org> wrote:
>> I've been working on three somewhat related updates for the new release.
>> The attached zip contains the latest versions of all three, which are
>> expected to be loaded in this order:
>> numberLines-Richo-sw
>>        Number lines, which can be used as cuisinaire rods, graph axes,
>> etc.
>> followingWatcher-sw
>>        Watchers that behave as if attached to their observees, following
>> them around on the screen
>> graphPaper-sw
>>        Adds a graph-paper fill style, with a live editor for tuning its
>> parameters
>> -----
>> A "Graphing" category is added to the Objects tool, offering number
>> lines, graph paper, and a prebuilt cartesian plane.  (There are a few more
>> things I was intending to put in this category, but they're not ready so
>> may not make it out this round.)
>> For graphing, though an "x-y plane" is provided as an example, I think
>> it's best to encourage kids to build their own cartesian plane:  start with
>> a plain "playfield", or plain "graph" paper, and then drop Horizontal and
>> Vertical axes into the playfield, and configure the axes to have the scale
>> and appearance desired, and use the graph-paper panel to make compatible
>> "graph paper" to use with the axes.
>> Use any "morph" (object) as plot points -- a small Ellipse or Star works
>> well.
>> If there are horizontal and vertical axes present in a playfield used as
>> a graph, they define the metric by which cartesian coordinates called
>> "xOnGraph" and "yOnGraph" are reckoned.  Look in the "graphing" category of
>> a Viewer for these.
>> Shift-click on the cyan "open-viewer" icon of any plot point to get an
>> "attached" watcher showing the current "on graph" coordinates of the object.
>> A Number Line can be configured using items found at the bottom of its
>> halo menu.  But a much more efficient way to configure a number line is by
>> using its Viewer -- look in the "number line" category.
>> Any playfield can be given a fill style of "graph paper" from the "fill
>> style" item of its halo menu.  A special "graph paper" property sheet
>> allows you to configure grid spacing, tick-mark and legend spacing, and
>> colors of paper and grid.
>> CAUTION:  If you change the metrics of a number line used as an axis in a
>> playfield showing graph paper, it can easily happen that the grid of the
>> graph paper and the scale of the axes will become out of synch. The user
>> will need to adjust both the graph-paper and the axes so that they match up
>> well together.
>> Some of this work is still not 100% percent satisfactory, but in view of
>> the need to freeze and test, I put them out now for your scrutiny and
>> comments, and if Karl, Richo, and/or Bert deems it suitable, perhaps one of
>> you can "resolve" them and push them to the repository...
>> (all these change-sets have also been posted to the tracker.)
>>  -- Scott
>> _______________________________________________
>> etoys-dev mailing list
>> etoys-dev at squeakland.org
>> http://lists.squeakland.org/mailman/listinfo/etoys-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakland.org/pipermail/etoys-dev/attachments/20120301/d03101dd/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SqueakDebug.log
Type: application/octet-stream
Size: 3710 bytes
Desc: not available
URL: <http://lists.squeakland.org/pipermail/etoys-dev/attachments/20120301/d03101dd/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LowSpaceDebug.log
Type: application/octet-stream
Size: 3719 bytes
Desc: not available
URL: <http://lists.squeakland.org/pipermail/etoys-dev/attachments/20120301/d03101dd/attachment-0003.obj>

More information about the etoys-dev mailing list