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 [hidden email] http://lists.squeakland.org/mailman/listinfo/etoys-dev threeFileouts-sw.1March2012.zip (29K) Download Attachment |
Scott,
Thanks for your efforts. Couple of comments:
Stephen On Thu, Mar 1, 2012 at 6:49 AM, Scott Wallace <[hidden email]> 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: _______________________________________________ etoys-dev mailing list [hidden email] http://lists.squeakland.org/mailman/listinfo/etoys-dev |
Scott,
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 nothing. 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.
Stephen
On Thu, Mar 1, 2012 at 10:51 AM, Steve Thomas <[hidden email]> wrote: Scott, _______________________________________________ etoys-dev mailing list [hidden email] http://lists.squeakland.org/mailman/listinfo/etoys-dev |
In reply to this post by Scott Wallace
Hi, Karl,
Thanks for publishing the graphPaper code. I'll have a few fixes for that coming this weekend, based on bug reports and suggestions received over the past couple of days. In the meantime, however, please note that both numberLines-Richo-sw and followingWatcher-sw are *prerequisites* for graphPaper… So right now, with graphPaper in the alpha stream but the other two not yet there, one gets an error when simply navigating to the Graphing category of the Objects Tool… So I think it might be a good idea to get the other two published pretty soon as well, unless there are objections… Thank you! -- Scott On Mar 1, 2012, at 1:49 AM, Scott Wallace 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 _______________________________________________ etoys-dev mailing list [hidden email] http://lists.squeakland.org/mailman/listinfo/etoys-dev |
On Sat, Mar 3, 2012 at 7:21 AM, Scott Wallace <[hidden email]> wrote: Hi, Karl, Yes, all the stuff will be included. I fixed a couple of issues with graph paper and will add the rest over the weekend. Karl
_______________________________________________ etoys-dev mailing list [hidden email] http://lists.squeakland.org/mailman/listinfo/etoys-dev |
On Mar 3, 2012, at 5:54 AM, karl ramberg wrote:
> ...Yes, all the stuff will be included. I fixed a couple of issues with graph paper and will add the rest over the weekend. Thank you, Karl! Attached now is a fileout that responds to all the issues and recommendations relating to the graphing tools that have appeared in the past few days, and cleans up a few loose ends. Its preamble: Change Set: graphingFixes-sw Date: 4 March 2012 Author: Scott Wallace Addresses various bug-reports and recommendations relating to recent number-line and graph-paper updates: - Enforce reasonable ranges for the sliders governing the grid parameters, taking the grid-size, coarse-grid-size , and playfield dimensions into account. - Provide a button to request 'graph paper' from the 'generic property sheet' when appropriate. - Retain position of number line when its pixelsPerUnit changes. - Disable the 'offset' when coarse-grid in effect. - Protect sliders against zero-divide that can happen if minVal = maxVal. - Protect InfiniteForms against incidental calls to #darker and #twiceDarker that can be sent to any object's fillStyle by some of the custom border code. - Removes about a dozen superfluous methods that had mistakenly lingered in the earlier updates, and removes three inst vars of NumberLineMorph that were remnants from earlier code…. ----------- Sorry this was just a little too late to make it into update 2398, but hopefully these cleanups can get pushed out soon; it wouldn't be good for users to start using the graphing tools before these fixes are in. Thanks again! -- Scott _______________________________________________ etoys-dev mailing list [hidden email] http://lists.squeakland.org/mailman/listinfo/etoys-dev graphingFixes-sw.4.cs.gz (5K) Download Attachment |
I fixed a issue with the coarse grid not behaving with offset. I had to find the proper starting point in the count variable and things worked fine.
Karl twoTierGridFormOrigin: origin grid: smallGrid background: backColor line: lineColor darkerGridEvery: darkerGridEvery darkerGridColor: darkerGridColor
"Answer an infinite form that repeats a pattern involving grid lines with darker ones at regular intervals, such as 'engineering paper'."
| smallGridAsPoint gridForm gridOrigin fullGrid aColor darkGridOrigin countX countY | smallGridAsPoint := smallGrid rounded asPoint.
fullGrid := smallGridAsPoint * darkerGridEvery. gridForm := Form extent: fullGrid depth: Display depth.
gridOrigin := origin \\ smallGridAsPoint. darkGridOrigin := origin \\ fullGrid.
backColor ifNotNil: [gridForm fillWithColor: backColor]. darkGridOrigin ifNotNil:[countX:= darkGridOrigin x. countY:= darkGridOrigin y]
ifNil:[countX:= countY := -1]. gridOrigin x to: gridForm width by: smallGridAsPoint x do:
[:x | aColor := (countX \\ darkerGridEvery) = 0 ifTrue: [darkerGridColor] ifFalse: [lineColor].
gridForm fill: (x@0 extent: 1@gridForm height) fillColor: aColor. countX:= countX+ 1.].
gridOrigin y to: gridForm height by: smallGridAsPoint y do: [:y | aColor := (countY\\ darkerGridEvery) = 0 ifTrue: [darkerGridColor] ifFalse: [lineColor].
gridForm fill: (0@y extent: gridForm width@1) fillColor: aColor. countY:= countY+ 1.].
^ InfiniteForm with: gridForm " | aPlayfield |
aPlayfield := PasteUpMorph authoringPrototype extent: 640 @ 480. aPlayfield color: (GraphPaperParameters twoTierGridFormOrigin: (0@0) grid: 16 background: Color green muchLighter line: Color blue muchLighter darkerGridEvery: 10 darkerGridColor: Color blue muchDarker).
aPlayfield openInHand " On Sun, Mar 4, 2012 at 10:20 PM, Scott Wallace <[hidden email]> wrote: On Mar 3, 2012, at 5:54 AM, karl ramberg wrote: _______________________________________________ etoys-dev mailing list [hidden email] http://lists.squeakland.org/mailman/listinfo/etoys-dev |
Okay, Karl is faster than me at finding this (or at least reporting it, assuming this is referring to the same problem I saw) and way faster at fixing by an order of magnitude of 0/(34 minutes).
So IF I understand Offset correctly it is the offset of the grid from the origin, yes?
The interface is very "Bret Victorish" (without the visible sliders). But it would be nice to be able to enter the #'s as getting to 0@0, can be a pain. Also why is Offset off, when course grid is on?
Also, let me know how to get this fix so I can test. A .cs or update code from server when ready is best. Thanks for all your efforts, Stephen On Sun, Mar 4, 2012 at 6:54 PM, karl ramberg <[hidden email]> wrote: I fixed a issue with the coarse grid not behaving with offset. I had to find the proper starting point in the count variable and things worked fine. _______________________________________________ etoys-dev mailing list [hidden email] http://lists.squeakland.org/mailman/listinfo/etoys-dev |
Now that Karl has made the graph-paper "offset" better-behaved, I've backed out of the code that had blocked the offset control when coarse-grid was in effect; that's the only difference between the attached version of "graphingFixes-sw" and the one sent out yesterday.
On Mar 4, 2012, at 2:08 PM, Steve Thomas wrote: > So IF I understand Offset correctly it is the offset of the grid from the origin, yes? > The interface is very "Bret Victorish" (without the visible sliders). But it would be nice to be able to enter the #'s as getting to 0@0, can be a pain. Yes, a digital readout (or two) for the offset would be good… The "offset" interface right now simply uses the long-standing property-sheet UI for setting point-valued variables, such as the "origin" and "direction" of a gradient fill. [Meanwhile, a useful hint is: to get the offset set to 0@0, position the mouse cursor at the top-left corner of the "offset" box.] > Also why is Offset off, when coarse grid is on? In yesterday's version, I disabled the Offset when coarse-grid was in effect because I had been unable to get it to work satisfactorily. In the attached fileout, I've re-enabled it, given Karl's fix. > Also, let me know how to get this fix so I can test. > A .cs or update code from server when ready is best. Update-from-server (including loading latest updates from the "default repository") will bring in Karl's offset fix. Then file in the attached (unless/until it also comes in via the update stream.) -- Scott > On Sun, Mar 4, 2012 at 6:54 PM, karl ramberg <[hidden email]> wrote: > I fixed a issue with the coarse grid not behaving with offset. I had to find the proper starting point in the count variable and things worked fine. > > Karl > > > twoTierGridFormOrigin: origin grid: smallGrid background: backColor line: lineColor darkerGridEvery: darkerGridEvery darkerGridColor: darkerGridColor > "Answer an infinite form that repeats a pattern involving grid lines with darker ones at regular intervals, such as 'engineering paper'." > > | smallGridAsPoint gridForm gridOrigin fullGrid aColor darkGridOrigin countX countY | > smallGridAsPoint := smallGrid rounded asPoint. > fullGrid := smallGridAsPoint * darkerGridEvery. > gridForm := Form extent: fullGrid depth: Display depth. > gridOrigin := origin \\ smallGridAsPoint. > darkGridOrigin := origin \\ fullGrid. > backColor ifNotNil: [gridForm fillWithColor: backColor]. > darkGridOrigin ifNotNil:[countX:= darkGridOrigin x. countY:= darkGridOrigin y] > ifNil:[countX:= countY := -1]. > > gridOrigin x to: gridForm width by: smallGridAsPoint x do: > [:x | > aColor := (countX \\ darkerGridEvery) = 0 ifTrue: [darkerGridColor] ifFalse: [lineColor]. > gridForm fill: (x@0 extent: 1@gridForm height) fillColor: aColor. > countX:= countX+ 1.]. > gridOrigin y to: gridForm height by: smallGridAsPoint y do: > [:y | > aColor := (countY\\ darkerGridEvery) = 0 ifTrue: [darkerGridColor] ifFalse: [lineColor]. > gridForm fill: (0@y extent: gridForm width@1) fillColor: aColor. > countY:= countY+ 1.]. > ^ InfiniteForm with: gridForm > > " > | aPlayfield | > aPlayfield := PasteUpMorph authoringPrototype extent: 640 @ 480. > aPlayfield color: (GraphPaperParameters twoTierGridFormOrigin: (0@0) grid: 16 background: Color green muchLighter line: Color blue muchLighter darkerGridEvery: 10 darkerGridColor: Color blue muchDarker). > aPlayfield openInHand > " > > > On Sun, Mar 4, 2012 at 10:20 PM, Scott Wallace <[hidden email]> wrote: > On Mar 3, 2012, at 5:54 AM, karl ramberg wrote: > > > ...Yes, all the stuff will be included. I fixed a couple of issues with graph paper and will add the rest over the weekend. > > Thank you, Karl! > > Attached now is a fileout that responds to all the issues and recommendations relating to the graphing tools that have appeared in the past few days, and cleans up a few loose ends. Its preamble: > > Change Set: graphingFixes-sw > Date: 4 March 2012 > Author: Scott Wallace > > Addresses various bug-reports and recommendations relating to recent number-line and graph-paper updates: > - Enforce reasonable ranges for the sliders governing the grid parameters, taking the grid-size, coarse-grid-size , and playfield dimensions into account. > - Provide a button to request 'graph paper' from the 'generic property sheet' when appropriate. > - Retain position of number line when its pixelsPerUnit changes. > - Disable the 'offset' when coarse-grid in effect. > - Protect sliders against zero-divide that can happen if minVal = maxVal. > - Protect InfiniteForms against incidental calls to #darker and #twiceDarker that can be sent to any object's fillStyle by some of the custom border code. > - Removes about a dozen superfluous methods that had mistakenly lingered in the earlier updates, and removes three inst vars of NumberLineMorph that were remnants from earlier code…. > > ----------- > > Sorry this was just a little too late to make it into update 2398, but hopefully these cleanups can get pushed out soon; it wouldn't be good for users to start using the graphing tools before these fixes are in. > > Thanks again! > > -- Scott > > > > _______________________________________________ > etoys-dev mailing list > [hidden email] > http://lists.squeakland.org/mailman/listinfo/etoys-dev > > _______________________________________________ etoys-dev mailing list [hidden email] http://lists.squeakland.org/mailman/listinfo/etoys-dev graphingFixes-sw.5.cs.gz (5K) Download Attachment |
Thanks Scott
I added this to the update stream. I think we have all the stuff in now. I will try to get a beta image out as soon as possible so we can get it tested.
Karl On Mon, Mar 5, 2012 at 8:14 PM, Scott Wallace <[hidden email]> wrote: Now that Karl has made the graph-paper "offset" better-behaved, I've backed out of the code that had blocked the offset control when coarse-grid was in effect; that's the only difference between the attached version of "graphingFixes-sw" and the one sent out yesterday. _______________________________________________ etoys-dev mailing list [hidden email] http://lists.squeakland.org/mailman/listinfo/etoys-dev |
Yay -- thank you Karl! Looking forward to the beta image!
Best, -- Scott On Mar 5, 2012, at 12:19 PM, karl ramberg wrote: > Thanks Scott > > I added this to the update stream. > I think we have all the stuff in now. > > I will try to get a beta image out as soon as possible so we can get it tested. > > > Karl > > > > > On Mon, Mar 5, 2012 at 8:14 PM, Scott Wallace <[hidden email]> wrote: > Now that Karl has made the graph-paper "offset" better-behaved, I've backed out of the code that had blocked the offset control when coarse-grid was in effect; that's the only difference between the attached version of "graphingFixes-sw" and the one sent out yesterday. > > > > > > On Mar 4, 2012, at 2:08 PM, Steve Thomas wrote: > > > So IF I understand Offset correctly it is the offset of the grid from the origin, yes? > > The interface is very "Bret Victorish" (without the visible sliders). But it would be nice to be able to enter the #'s as getting to 0@0, can be a pain. > > Yes, a digital readout (or two) for the offset would be good… The "offset" interface right now simply uses the long-standing property-sheet UI for setting point-valued variables, such as the "origin" and "direction" of a gradient fill. [Meanwhile, a useful hint is: to get the offset set to 0@0, position the mouse cursor at the top-left corner of the "offset" box.] > > > > Also why is Offset off, when coarse grid is on? > > In yesterday's version, I disabled the Offset when coarse-grid was in effect because I had been unable to get it to work satisfactorily. In the attached fileout, I've re-enabled it, given Karl's fix. > > > > Also, let me know how to get this fix so I can test. > > A .cs or update code from server when ready is best. > > Update-from-server (including loading latest updates from the "default repository") will bring in Karl's offset fix. Then file in the attached (unless/until it also comes in via the update stream.) > > -- Scott > > > > On Sun, Mar 4, 2012 at 6:54 PM, karl ramberg <[hidden email]> wrote: > > I fixed a issue with the coarse grid not behaving with offset. I had to find the proper starting point in the count variable and things worked fine. > > > > Karl > > > > > > twoTierGridFormOrigin: origin grid: smallGrid background: backColor line: lineColor darkerGridEvery: darkerGridEvery darkerGridColor: darkerGridColor > > "Answer an infinite form that repeats a pattern involving grid lines with darker ones at regular intervals, such as 'engineering paper'." > > > > | smallGridAsPoint gridForm gridOrigin fullGrid aColor darkGridOrigin countX countY | > > smallGridAsPoint := smallGrid rounded asPoint. > > fullGrid := smallGridAsPoint * darkerGridEvery. > > gridForm := Form extent: fullGrid depth: Display depth. > > gridOrigin := origin \\ smallGridAsPoint. > > darkGridOrigin := origin \\ fullGrid. > > backColor ifNotNil: [gridForm fillWithColor: backColor]. > > darkGridOrigin ifNotNil:[countX:= darkGridOrigin x. countY:= darkGridOrigin y] > > ifNil:[countX:= countY := -1]. > > > > gridOrigin x to: gridForm width by: smallGridAsPoint x do: > > [:x | > > aColor := (countX \\ darkerGridEvery) = 0 ifTrue: [darkerGridColor] ifFalse: [lineColor]. > > gridForm fill: (x@0 extent: 1@gridForm height) fillColor: aColor. > > countX:= countX+ 1.]. > > gridOrigin y to: gridForm height by: smallGridAsPoint y do: > > [:y | > > aColor := (countY\\ darkerGridEvery) = 0 ifTrue: [darkerGridColor] ifFalse: [lineColor]. > > gridForm fill: (0@y extent: gridForm width@1) fillColor: aColor. > > countY:= countY+ 1.]. > > ^ InfiniteForm with: gridForm > > > > " > > | aPlayfield | > > aPlayfield := PasteUpMorph authoringPrototype extent: 640 @ 480. > > aPlayfield color: (GraphPaperParameters twoTierGridFormOrigin: (0@0) grid: 16 background: Color green muchLighter line: Color blue muchLighter darkerGridEvery: 10 darkerGridColor: Color blue muchDarker). > > aPlayfield openInHand > > " > > > > > > On Sun, Mar 4, 2012 at 10:20 PM, Scott Wallace <[hidden email]> wrote: > > On Mar 3, 2012, at 5:54 AM, karl ramberg wrote: > > > > > ...Yes, all the stuff will be included. I fixed a couple of issues with graph paper and will add the rest over the weekend. > > > > Thank you, Karl! > > > > Attached now is a fileout that responds to all the issues and recommendations relating to the graphing tools that have appeared in the past few days, and cleans up a few loose ends. Its preamble: > > > > Change Set: graphingFixes-sw > > Date: 4 March 2012 > > Author: Scott Wallace > > > > Addresses various bug-reports and recommendations relating to recent number-line and graph-paper updates: > > - Enforce reasonable ranges for the sliders governing the grid parameters, taking the grid-size, coarse-grid-size , and playfield dimensions into account. > > - Provide a button to request 'graph paper' from the 'generic property sheet' when appropriate. > > - Retain position of number line when its pixelsPerUnit changes. > > - Disable the 'offset' when coarse-grid in effect. > > - Protect sliders against zero-divide that can happen if minVal = maxVal. > > - Protect InfiniteForms against incidental calls to #darker and #twiceDarker that can be sent to any object's fillStyle by some of the custom border code. > > - Removes about a dozen superfluous methods that had mistakenly lingered in the earlier updates, and removes three inst vars of NumberLineMorph that were remnants from earlier code…. > > > > ----------- > > > > Sorry this was just a little too late to make it into update 2398, but hopefully these cleanups can get pushed out soon; it wouldn't be good for users to start using the graphing tools before these fixes are in. > > > > Thanks again! > > > > -- Scott > > > > > > > > _______________________________________________ > > etoys-dev mailing list > > [hidden email] > > http://lists.squeakland.org/mailman/listinfo/etoys-dev > > > > > > > _______________________________________________ > etoys-dev mailing list > [hidden email] > http://lists.squeakland.org/mailman/listinfo/etoys-dev > > _______________________________________________ etoys-dev mailing list [hidden email] http://lists.squeakland.org/mailman/listinfo/etoys-dev |
In reply to this post by Karl Ramberg
I think we should turn on the propertySheetFromHalo preference so it is easier to get to the graph paper settings.
It will also be easier to get the graph paper settings back if you accidentally delete them. Karl
On Mon, Mar 5, 2012 at 9:19 PM, karl ramberg <[hidden email]> wrote: Thanks Scott _______________________________________________ etoys-dev mailing list [hidden email] http://lists.squeakland.org/mailman/listinfo/etoys-dev |
In reply to this post by Scott Wallace
Scott,
Some issues with latest build:
Last note: I am in Argentina two weeks and other than a chance to visit Ricardo, I generally don't like travelling especially for so long. I often say, and my boss likes to remind me, the reward for work well done is the opportunity to do more. So I often struggle with how good of a job to do (well not really, I always try to do my best).
So Scott, hopefully you are not feeling the same way with all my comments, your efforts are greatly appreciated. Thanks, Stephen On Mon, Mar 5, 2012 at 4:14 PM, Scott Wallace <[hidden email]> wrote: Now that Karl has made the graph-paper "offset" better-behaved, I've backed out of the code that had blocked the offset control when coarse-grid was in effect; that's the only difference between the attached version of "graphingFixes-sw" and the one sent out yesterday. _______________________________________________ etoys-dev mailing list [hidden email] http://lists.squeakland.org/mailman/listinfo/etoys-dev |
Hi guys,
I'm currently out of time to help with this because I'm preparing for an exam next week, but I wanted to say this looks absolutely *awesome*. I was thinking of adding to the number lines a couple of tiles called "transform to graph" and "transform to pixel" (or something similar). These tiles would take a number as a parameter and would return its value transformed from one coordinate system to the other. So I think they could be used as a general mechanism for building graphs (for instance, we could transform the length of a rectangle to build a bar graph). What do you think?
Cheers, Richo On Mon, Mar 5, 2012 at 6:56 PM, Steve Thomas <[hidden email]> wrote: Scott, _______________________________________________ etoys-dev mailing list [hidden email] http://lists.squeakland.org/mailman/listinfo/etoys-dev |
In reply to this post by Steve Thomas
Thanks for this report.
I'll look into it, I don't think I can address them all. Karl
On Mon, Mar 5, 2012 at 10:56 PM, Steve Thomas <[hidden email]> wrote: Scott, _______________________________________________ etoys-dev mailing list [hidden email] http://lists.squeakland.org/mailman/listinfo/etoys-dev |
In reply to this post by Karl Ramberg
On Mar 5, 2012, at 12:36 PM, karl ramberg wrote:
> I think we should turn on the propertySheetFromHalo preference so it is easier to get to the graph paper settings. > It will also be easier to get the graph paper settings back if you accidentally delete them. Switching to a graph-paper fill seems to me to be directly comparable to switching to a gradient fill. It's something that's needed much less often than simply setting a solid color with the small color-picker, so IMO it's still a good idea to put up the straightforward and much-less-intimidating small color picker. As when switching from a solid color to a gradient fill, the user has three ways to get a graph-paper fill, namely: (1) use the "fill style" item from the halo menu, and choose "graph paper" (or "gradient fill") from the ensuing submenu. (2) bring up the small color picker by clicking on the "change color" halo handle (purple eyedropper) and then click on the + icon in it to bring up the full property sheet, which offers, among other things, the opportunity to switch to graph paper (to a gradient fill). (3) shift-click on the "change color" halo handle to bring up the full property sheet directly, then choose graph paper (or gradient fill) from there. (And there's even a fourth way, because the old "make graph paper" item in the "playfield options" menu, which has been available all these years, is still available.) Educators, please speak up on this issue -- this should really be your decision. Do you think we should continue to have a simple click on the change-color halo handle bring up the small color picker, or do you think we should switch to having that click always bring up the big "property sheet"? -- Scott _______________________________________________ etoys-dev mailing list [hidden email] http://lists.squeakland.org/mailman/listinfo/etoys-dev |
On Thu, Mar 8, 2012 at 10:35 AM, Scott Wallace <[hidden email]> wrote:
How about making a very simple property field with just one color picker and two buttons to gradients and graph paper ? Karl _______________________________________________ etoys-dev mailing list [hidden email] http://lists.squeakland.org/mailman/listinfo/etoys-dev |
In reply to this post by Scott Wallace
On Thu, Mar 8, 2012 at 10:35 AM, Scott Wallace <[hidden email]> wrote:
I modified the property sheet to default to just show a single color picker. There is a button to show more controls (and the graph paper if it is a PasteUpMorph) If you update the image to latest packages you can look at it. I think this solution is quite good, but if you have objections I would like to hear them. Karl
_______________________________________________ etoys-dev mailing list [hidden email] http://lists.squeakland.org/mailman/listinfo/etoys-dev |
In reply to this post by Steve Thomas
On Mar 5, 2012, at 1:56 PM, Steve Thomas wrote:
> Some issues with latest build: Steve, thank you very much for your comments and recommendations. Sorry for the delay in responding. > • Take x-y plane from Object Catalog, Open Viewer for "vertical number line", change number lines <min val> to -10, then increase by 1 to -9. (number line shifts left). A little round-off error showing through here, I think. Making the line appear not to "move" as various parameters are changed can involve quite a bit of calculation, and occasionally round-off errors can conspire to bring about effects like this. > • If Number Lines <min val> is greater than zero, its not really a "show negative arrow head" tile. Not sure of good name. I am also not fond of this nomenclature. However, the arrowhead in question *does* point in the "negative" direction… Anyone have a better suggestion? > • If I set <VerticalNumberLine's>:<yOnGraph> to 0, it changes to 8 and moves down. This behavior repeats. It seems to be 8 when min value <=-10 and 4 when >-10. > • Perhaps related to the above items: I would expect the <xOnGraph> and <yOnGraph> to be 0, but they are not. Perhaps because of how you adjust for the labels and the max # of digits in the label. Perhaps have the "0" point on the number line be 0@0 onGraph. I've split off my reply for these two items into a separate memo, since this is a weird edge-case that seems to require so much verbiage in explanation that it would swamp the rest of this email, and people would stop reading right here... > I was also struck that the playfield does not use origin at center, but there is much I do not understand. When using the number-lines as axes, the "origin" would be where the two orthogonal number lines intersect, ideally at their zero points. This situation doesn't leave much room for a playfield's originAtCenter setting to play any role. > • When I turn "use gridding" from the playfield options, I need to reset the the "grid spacing" to match that set via the GraphPaperPanel. Right, these are independent. And advisedly so, I think -- I think that people will reasonably want the long-standing "use gridding" feature to grid to something finer than the graph paper grid. > • Should we have Etoys tiles for the grid size, coarse grid boolean and course grid value? I know I can get them by opening the viewer for the sliders and firing the EtoysUpdatingThreePhaseButton, but most folks won't figure that out. Some appearance parameters that can be set in property sheets, such as the "origin" and "direction" of a gradient fill, have been considered of too-narrow applicability to earn real-estate space in the viewer. For now, the graph-paper parameters, which seem marginally less important than the gradient fill parameters, arguably fall into that category. I think the real need here is to have a more facile UI for setting and *seeing* the values of these parameters within the graph-paper control panel, which is basically Steve's final item below. > • When I delete the x-y plane with the GraphPaperPanel open the panel does not disappear. Indeed this has always been true of all the various control panels, and is a bug that dates back many years. But I see that Karl has published a generic fix :) > • Balloon help for Vertical number <show negative arrow head< line states: "Whether to show an arrow-head at the extreme left edge of the axis". Perhaps "lower end" instead. Karl has also already fixed that :) > • It would be nice to have tiles for the offset and the numbers visible, without having to hover. The same could be claimed, with even greater vigor, for the point-valued parameters that govern the "origin" and "direction" of a gradient fill, in the Object Properties panel. It's that exact same not-so-satisfactory UI (with a momentary readout in a yellow box telling you the current value as you move the cursor with the button down) that is being re-used at present for specifying the "offset" of graph paper. Would indeed be nice to improve that -- it's a dubious UI that has been used in our properties panels for a dozen years :) Cheers, -- Scott _______________________________________________ etoys-dev mailing list [hidden email] http://lists.squeakland.org/mailman/listinfo/etoys-dev |
On Fri, Mar 9, 2012 at 6:01 AM, Scott Wallace <[hidden email]> wrote:
Agreed they should be independent. But I think their will also be cases where people will want to set the grid spacing values to the grid size. To do that now, requires a number of steps (7). It would be nice to have a checkbox or button to set the grid spacing to <grid size>@<grid size> and turn on <use gridding> With this, they can still change the grid to something finer. _______________________________________________ etoys-dev mailing list [hidden email] http://lists.squeakland.org/mailman/listinfo/etoys-dev |
Free forum by Nabble | Edit this page |