This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#6926 2013-02-16 04:44:16

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Fixed scope issue.


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#6927 2013-02-16 09:04:31

xly
Scratcher
Registered: 2010-04-17
Posts: 100+

Re: BYOB 3 - Discussion Thread

If it can help !!
I have discovered that Google Chrome Webstore offers a Shape/Sprite editor,  easy to make *.svg and/or  *.png shapes for sprite costumes

Offline

 

#6928 2013-02-16 13:20:36

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

xly wrote:

Google Chrome Webstore offers a Shape/Sprite editor,

Which one?  There are a zillion paint editors.  Is the one you like free software?  (Meaning, not only is it without cost, but is the source code available and could we legally embed it in Snap!?)  Tnx.

I'm thinking there's not that much benefit to an internal paint editor, vs. just letting users use their favorite program offline, unless we can modify it to add things like setting the rotation point seamlessly.


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#6929 2013-02-16 14:37:27

blob8108
Scratcher
Registered: 2007-06-25
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

I'm thinking there's not that much benefit to an internal paint editor, vs. just letting users use their favorite program offline, unless we can modify it to add things like setting the rotation point seamlessly.

It's actually really nice to be able to tweak things right inside the project — particularly to make pixel-perfect costumes. The incomplete/non-bitmap 2.0 paint editor is a pain...


Things I've made: kurt | scratchblocks2 | this cake

Offline

 

#6930 2013-02-16 15:41:07

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

blob8108 wrote:

It's actually really nice to be able to tweak things right inside the project

Oh, I'm not saying we shouldn't have one, just that we shouldn't pick someone else's with restrictions on modifying and redistributing source code.  (And it should be in Javascript...)


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#6931 2013-02-17 06:02:46

xly
Scratcher
Registered: 2010-04-17
Posts: 100+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

blob8108 wrote:

It's actually really nice to be able to tweak things right inside the project

Oh, I'm not saying we shouldn't have one, just that we shouldn't pick someone else's with restrictions on modifying and redistributing source code.  (And it should be in Javascript...)

The issue is the utilization of SVG files by Snap!
There are probably dozens of freeware paint editor for "pixel" shapes (Jpg,Gif,Png )
But freeware SVG shape editors are very rare.
For the moment Snap! can use SVG files as sprites (load them, move them etc) but such a Snap! application can't be SAVED.
Google provides one online Chrome Web Store Drawing editor for creating PNG, JPG and SVG shapes (to test Scratch 2.0 for example). This is far from meeting Snap! conditions, but it can be useful to know that it exists.

Last edited by xly (2013-02-17 06:05:27)

Offline

 

#6932 2013-02-17 07:08:45

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: BYOB 3 - Discussion Thread

I'm fixing the SVG costume saving issue right now, but it might take a few days until I'll put the fix into the official release. Bear with me, I'll post it here.


Jens Mönig

Offline

 

#6933 2013-02-17 09:08:10

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Hey Jens, this DOM 18 thing is really annoying (it also causes issues with "touching" blocks). Can you take a look at Canvg? It's a manual rasterizer—you can convert each SVG costume while opening a saved file.


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#6934 2013-02-17 10:10:45

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Hi Hardmath123, I want to fix SVGs for good, and also not really rasterize them at all, if possible...


Jens Mönig

Offline

 

#6935 2013-02-17 12:47:00

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Jens wrote:

not really rasterize them at all, if possible...

You mean, not unless the user explicitly says to, right?  blob8108 and I sometimes want to tweak the bits.  Even in Photoshop I rasterize things all the time because you can't floodfill them otherwise.


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#6936 2013-02-17 14:58:52

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

You mean, not unless the user explicitly says to, right?  blob8108 and I sometimes want to tweak the bits.  Even in Photoshop I rasterize things all the time because you can't floodfill them otherwise.

I don't use Photoshop, but don't most editors that support vector graphics let you do path unions/intersections/splits? You could use those tools and change the fill color of the resultant parts…


nXIII

Offline

 

#6937 2013-02-17 15:54:33

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

nXIII wrote:

don't most editors that support vector graphics let you do path unions/intersections/splits?

Probably, but when I try things like that, it never does what I want.  I think it's a good day in picture editing if Photoshop doesn't delete every file on my disk.  (And don't suggest GIMP, I know about that, but it never does what I want either.)

There seems to be some law saying that picture editing software is allowed to be designed only by the kind of idiot who thinks that shift-drag should mean to preserve the aspect ratio and unshift-drag should mean not to.   sad

Life is much easier with floodfill!


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#6938 2013-02-17 17:19:57

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

I think it's a good day in picture editing if Photoshop doesn't delete every file on my disk. (And don't suggest GIMP, I know about that, but it never does what I want either.)

Can I suggest Inkscape?


nXIII

Offline

 

#6939 2013-02-17 17:41:45

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

nXIII wrote:

Can I suggest Inkscape?

Thanks, I'll give it a try.


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#6940 2013-02-17 20:33:00

shadow_7283
Scratcher
Registered: 2007-11-07
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

...shift-drag should mean to preserve the aspect ratio and unshift-drag should mean not to.   sad

Err... isn't that standard? I mean, I can't think of a single program that doesn't use that key combination. Besides, how annoying would it be to have to hold shift every time you wanted to draw a non-regular rectangle?

@Inkscape: Definitely the most capable open-source option.

Last edited by shadow_7283 (2013-02-17 20:33:23)

Offline

 

#6941 2013-02-17 20:40:57

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: BYOB 3 - Discussion Thread

shadow_7283 wrote:

Err... isn't that standard? I mean, I can't think of a single program that doesn't use that key combination. Besides, how annoying would it be to have to hold shift every time you wanted to draw a non-regular rectangle?

I think he's talking about resizing things, where preserving aspect ratio is definitely the more common option.

Last edited by nXIII (2013-02-17 20:55:45)


nXIII

Offline

 

#6942 2013-02-17 20:54:04

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Jens wrote:

Hi Hardmath123, I want to fix SVGs for good, and also not really rasterize them at all, if possible...

So how will you fix "touching" without rasterizing it?  hmm


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#6943 2013-02-17 21:13:11

shadow_7283
Scratcher
Registered: 2007-11-07
Posts: 1000+

Re: BYOB 3 - Discussion Thread

nXIII wrote:

I think he's talking about resizing things, where preserving aspect ratio is definitely the more common option.

I was thinking of GIMP where drawing a rectangle means resizing a selection. That was just an example. More common option? What are some programs like that? Even Inkscape resizes objects in that manner (albeit with the control key).

Last edited by shadow_7283 (2013-02-17 21:13:27)

Offline

 

#6944 2013-02-17 23:05:58

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

shadow_7283 wrote:

Err... isn't that standard?

Yes, but only because all the authors of graphics editing programs are equally stupid.

PS  I was just thinking of you...  Since you're a Windows person, do you know how to convince Word to make underlined headings in which the underline is continuous between the number it generates and the heading text, like this:

II.  Custom Blocks
-----------------------

instead of like this:

II.  Custom Blocks
---  ------------------

?


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#6945 2013-02-17 23:15:42

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

shadow_7283 wrote:

More common option? What are some programs like that?

Not "more common" as in "more programs"; "more common" as in "what people almost always want to do"!  (Not in the case of drawing rectangles, but in the case of resizing a graphic element.)

In the fifth grade where I volunteer, they try to teach kids how to make yearbook pages and slideshows and stuff, and the kids are totally oblivious to aspect ratio and just drag things out to fit some space, even if it's their own photo, with the result that they all look like fun house mirrors.  Good software would give oblivious people the correct result, namely that people should look like people.

I'm always amazed at how often software designers get obvious things wrong.  People are still suffering, for example, from the fact that 20-odd years ago, the designer of the Unix mail client (at Berkeley, sad to say) decided that "r" should mean "reply to everyone" and "R" (shifted) should mean "reply to sender."  (Mostly, I think, modern mail clients get this right, if they have keyboard commands at all, but some of my colleagues are even older than I am, still use /usr/bin/mail, and don't know how to reply-to-sender -- or they're just oblivious to the distinction, like fifth graders with aspect ratio.)

Sorry, it's been a long day of struggling with idiot software.  hmm


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#6946 2013-02-17 23:18:28

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

So how will you fix "touching" without rasterizing it?

How does Scratch 2.0 do it?  And how do all those SVG editors do things like "intersection" and so on?  You're the mathematician...


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#6947 2013-02-17 23:25:47

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

PS  I was just thinking of you...  Since you're a Windows person, do you know how to convince Word to make underlined headings in which the underline is continuous between the number it generates and the heading text, like this:

II.  Custom Blocks
-----------------------

instead of like this:

II.  Custom Blocks
---  ------------------

?

I don't have Word on this machine, but have you tried a paragraph border? It extends across the entire page width, so it would cover the heading and the number.


nXIII

Offline

 

#6948 2013-02-18 02:33:40

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

nXIII wrote:

have you tried a paragraph border? It extends across the entire page width, so it would cover the heading and the number.

Yes, I thought of that, but, as you say, it extends across the entire page width.  I just want the heading underlined!


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#6949 2013-02-18 04:18:34

OldCodger
New Scratcher
Registered: 2012-05-16
Posts: 54

Re: BYOB 3 - Discussion Thread

bharvey wrote:

shadow_7283 wrote:

Err... isn't that standard?

Yes, but only because all the authors of graphics editing programs are equally stupid.

PS  I was just thinking of you...  Since you're a Windows person, do you know how to convince Word to make underlined headings in which the underline is continuous between the number it generates and the heading text, like this:

II.  Custom Blocks
-----------------------

instead of like this:

II.  Custom Blocks
---  ------------------

?

There is a simple solution! Use LaTeX

Offline

 

#6950 2013-02-18 04:26:25

OldCodger
New Scratcher
Registered: 2012-05-16
Posts: 54

Re: BYOB 3 - Discussion Thread

I'm just curious, but does Mitchell Resnick have any input to Snap! He was instrumental in developing StarLogo which doesn't seem to get much acknowledgement these days and has been somewhat eclipsed by NetLogo.

Offline

 

Board footer