Regarding the use of Etoys in PC workstation, Suzanne Guyader a retired arts teacher told me she miss the thin pencil size for drawing. She found the thinest pencil size of the Etoys Paint tool to still be too big to achieve thin drawing.
Some productions of Suzanne, http://community.ofset.org/index.php/Art_et_Squeak
Suzanne, I don't know what it is possible to do...
Hilaire
On Thursday 02 Oct 2008 1:14:13 pm Hilaire Fernandes wrote:
Regarding the use of Etoys in PC workstation, Suzanne Guyader a retired arts teacher told me she miss the thin pencil size for drawing.
Three options depending on how many such shapes she needs.
1. Use a 5x5 Rectangle (set its pensize to 1 and pendown to true) to leave 1-pixel trail in a playfield by using its halo "move" button. Use "pickup" halo button to lift it. When the picture is ready, use "hand me .." button from the watcher menu of "pentrail graphic" tile in "pentrails" category of this playfield.
2. Create a Text object with "TinyPaint new openInHand" and press ALT+d. This will yield a small gray canvas for painting. Choose pensize and color from the halo "red" button. When done, use "grab morph" tool to carve out a sketch from it.
3. Attached picture shows how to create a custom "lasso style" button for sketches that require 1-pixel wide stampings. To create it,
1. Pick a scriptable button ("Press Me") from the Supplies 2. Bring up halo and click on lime-green script button 3. open up script menu 4. click on "show code textually" 5. Replace "^self" with the command shown. Press ALT+s to accept changes. 6. Close the script. 7. Rename button label if you like.
Now whenever the button is pressed, you get a '+' cursor. Use it like lasso tool to draw any figure. When done, you get a 1-pixel wide polygonal Etoy with transparent interior. This can be stamped repeatedly in a playfield.
FWIW .. Subbu
Her work looks really nice, which I read French.
The paint box tool is nice and basic but it's not easy to extend it's functionality. Sometimes I think about making a tool that is a little more advanced and that have a more modular design so new tools can be added more easily.
Karl
On 10/2/08, K. K. Subramaniam subbukk@gmail.com wrote:
On Thursday 02 Oct 2008 1:14:13 pm Hilaire Fernandes wrote:
Regarding the use of Etoys in PC workstation, Suzanne Guyader a retired arts teacher told me she miss the thin pencil size for drawing.
Three options depending on how many such shapes she needs.
- Use a 5x5 Rectangle (set its pensize to 1 and pendown to true) to leave
1-pixel trail in a playfield by using its halo "move" button. Use "pickup" halo button to lift it. When the picture is ready, use "hand me .." button from the watcher menu of "pentrail graphic" tile in "pentrails" category of this playfield.
- Create a Text object with "TinyPaint new openInHand" and press ALT+d.
This will yield a small gray canvas for painting. Choose pensize and color from the halo "red" button. When done, use "grab morph" tool to carve out a sketch from it.
- Attached picture shows how to create a custom "lasso style" button for
sketches that require 1-pixel wide stampings. To create it,
- Pick a scriptable button ("Press Me") from the Supplies
- Bring up halo and click on lime-green script button
- open up script menu
- click on "show code textually"
- Replace "^self" with the command shown. Press ALT+s to accept changes.
- Close the script.
- Rename button label if you like.
Now whenever the button is pressed, you get a '+' cursor. Use it like lasso tool to draw any figure. When done, you get a 1-pixel wide polygonal Etoy with transparent interior. This can be stamped repeatedly in a playfield.
FWIW .. Subbu
2008/10/2 karl ramberg karlramberg@gmail.com:
Her work looks really nice, which I read French.
Yes it is. In her tutorial there are many interesting ideas using Etoys scripting.
Hilaire
Hilaire Fernandes wrote:
Regarding the use of Etoys in PC workstation, Suzanne Guyader a retired arts teacher told me she miss the thin pencil size for drawing. She found the thinest pencil size of the Etoys Paint tool to still be too big to achieve thin drawing.
Some productions of Suzanne, http://community.ofset.org/index.php/Art_et_Squeak
Suzanne, I don't know what it is possible to do...
Hilaire
It's quite easy to change the value in the code, browse to:
PaintBoxMorph>>initializeBrush | brushMap | "PaintBoxMorph initialize" currentColor := Color blue. self brush: #brush3:. brushMap := Dictionary new. brushMap at: #brush1: put: 3. "<- Change the brush size here, then doIt: PaintBoxMorph initialize" brushMap at: #brush2: put: 7. brushMap at: #brush3: put: 13. brushMap at: #brush4: put: 26. brushMap at: #brush5: put: 50. brushMap at: #brush6: put: 80. brushMap keysAndValuesDo: [:key :value | (self submorphNamed: key) arguments at: 3 put: (Form dotOfSize: value)]
Karl
etoys-dev@lists.squeakfoundation.org