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

#2326 2010-05-14 09:32:45

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Panther development thread

SeptimusHeap wrote:

Post... Number... 708! NOEZ!!!

Huh?


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#2327 2010-05-14 14:42:30

dav09
Scratcher
Registered: 2009-03-25
Posts: 1000+

Re: Panther development thread

ok since you didnt like the 2nd one that much i decided to make another http://dav09.webs.com/flashvortex5.swf

Offline

 

#2328 2010-05-14 14:49:02

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Panther development thread

Hey guys, a little update for you, we're releasing a competition with Panther, this is likely to be that competition, so if any of you fancy winning, here it is, start thinking about it, even if you can't start programming:

Code:

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-------------------------------------------------------------------------------------
||                                                                                 ||
||                                                                                 ||
||                                  COMPETITION TIME!                              ||
||                                                                                 ||
||                                                                                 ||
||                                                                                 ||
-------------------------------------------------------------------------------------
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

The first Panther programming competition:

Thanks to many of Panthers new features, It is possible to convert images on the screen into text format,
effectively coding the image, this can then be decoded again by reversing the steps.

 ++++++++++++
|| THE TASK ||
 ++++++++++++

Create a project that can encode an image to a text file and decode any image stored in the same way.

 +++++++++++++++
|| MARK SCHEME ||
 +++++++++++++++
 
 ________________________________________________________
 |max points |              Description                  |
 |¯¯¯¯¯¯¯¯¯¯¯|¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|
 |     5     | Graphic quality of project                |
 |___________|___________________________________________|
 |           | Ease of use: how easy is it to find your  |
 |     5     | way around the project?                   |
 |___________|___________________________________________|
 |           | Download speed: how long does it take to  |
 |    10     | load the image?                           |
 |___________|___________________________________________|
 |           | loading speed: How long does it take to   |
 |    10     | redraw the coded image?                   |
 |___________|___________________________________________|
 |           | file size: how large is the file once it  |
 |    10     | has been coded to text?                   |
 |___________|___________________________________________|
 |           | Ingenuity: earn up to 5 marks for tackling|
 |     5     | the problem in a clever, well thought out |
 |           | method.                                   |
 |___________|___________________________________________|
 
 The competition entry projects will be marked by looking at the above catagories when loading a 300X200 full colour image, though your project
 should not be tailored to work most efficiantly at that image size, as we're likely to test performance for larger and smaller images too.
 
  +++++++++++++++++++++++++
 || THINGS TO THINK ABOUT ||
  +++++++++++++++++++++++++
  
  • Look at encoding techniques for popular image types such as the .JPG

  • If the final output file can be read when saved with an image file extention (so your coding method matches that used by a
    popular file type so that you can save and load in that format) then that is likely to impress us.

  • Think about how different approaches to coding match different sizes and quality and consider including quality options for coding.
  
  • Greyscale images are faster to process and use less space, so consider including that as an option in your project.
  
  • You are likely going to have to choose between speed, space and quality, find a good balance, or provide several options to suit all purposes.

What do you think? a little more advanced than scratch competitions, but you should be able to handle it. scanning an image with the colour and file blocks into hexadecimal is actually very easy, one of the first things I did with them, it's about getting it to work faster or more efficiently that's the challange.


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#2329 2010-05-14 15:24:54

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Panther development thread

dav09 wrote:

ok since you didnt like the 2nd one that much i decided to make another http://dav09.webs.com/flashvortex5.swf

Thats cool!


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#2330 2010-05-14 16:14:37

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: Panther development thread

markyparky56 wrote:

SeptimusHeap wrote:

Post... Number... 708! NOEZ!!!

Huh?

I missed 707  sad


http://i46.tinypic.com/dw7zft.png

Offline

 

#2331 2010-05-14 16:29:04

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Panther development thread

SeptimusHeap wrote:

markyparky56 wrote:

SeptimusHeap wrote:

Post... Number... 708! NOEZ!!!

Huh?

I missed 707  sad

Just wait till you get to 1337.


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#2332 2010-05-14 16:31:13

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

Re: Panther development thread

sparks wrote:

Thanks to many of Panthers new features, It is possible to convert images on the screen into text format,

I think you have to clarify the word "text" above.  When I read that sentence, I took it to mean printable ASCII and/or Unicode characters, but later you suggest using an existing image standard, none of which afaik are what I'd want to call text.  (Well, except for that one that's intended to be inserted in a C program source file.)

Are you envisioning using a COLOR AT <position> block to find the image data pixel by pixel?  Because if you want a fast program it'd be much better to expose pointers to the user, as in C, and just do a block I/O transfer, so you get something like a BMP format, very fast.  I'm just imagining something like an ADDRESS SPACE AS LIST block!  smile   Maybe along with a POINTER TO block, so you could say [POINTER TO [ITEM <n> OF [ADDRESS SPACE AS LIST]]] to cast a pointer to integer.

OTOH your comments about providing a quality-vs-size knob suggest that you're looking for something more like JPEG encoding. I'll be very impressed if Panther can run a JPEG encoder at reasonable speed!  That'd be a great selling point.

Oh, one more thing: You might want to say something about the nature of the images you'll be using.  If it's a cartoon or a diagram, then run-length encoding will probably be the best solution, but if it's a photograph, run-length encoding will just make the file bigger.

Looks like a fun contest.


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

Offline

 

#2333 2010-05-14 16:35:12

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Panther development thread

bharvey wrote:

sparks wrote:

Thanks to many of Panthers new features, It is possible to convert images on the screen into text format,

I think you have to clarify the word "text" above.  When I read that sentence, I took it to mean printable ASCII and/or Unicode characters, but later you suggest using an existing image standard, none of which afaik are what I'd want to call text.  (Well, except for that one that's intended to be inserted in a C program source file.)

Are you envisioning using a COLOR AT <position> block to find the image data pixel by pixel?  Because if you want a fast program it'd be much better to expose pointers to the user, as in C, and just do a block I/O transfer, so you get something like a BMP format, very fast.  I'm just imagining something like an ADDRESS SPACE AS LIST block!  smile   Maybe along with a POINTER TO block, so you could say [POINTER TO [ITEM <n> OF [ADDRESS SPACE AS LIST]]] to cast a pointer to integer.

OTOH your comments about providing a quality-vs-size knob suggest that you're looking for something more like JPEG encoding. I'll be very impressed if Panther can run a JPEG encoder at reasonable speed!  That'd be a great selling point.

Oh, one more thing: You might want to say something about the nature of the images you'll be using.  If it's a cartoon or a diagram, then run-length encoding will probably be the best solution, but if it's a photograph, run-length encoding will just make the file bigger.

Looks like a fun contest.

Looks like, but for someone like me, its tiring and frustrating.
But then, im a judge for it, so im fine.


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#2334 2010-05-14 16:43:56

dav09
Scratcher
Registered: 2009-03-25
Posts: 1000+

Re: Panther development thread

markyparky56 wrote:

dav09 wrote:

ok since you didnt like the 2nd one that much i decided to make another http://dav09.webs.com/flashvortex5.swf

Thats cool!

thanks  smile

Offline

 

#2335 2010-05-14 16:55:01

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Panther development thread

... mouth hangs open... wasn't really expecting it to be picked apart that much, it was only an idea anyway. Yes, we have a colour of pixil block, and yes, it has to be coded pixil by pixil, I see what you mean, there are faster ways of doing it... using a simple method that uses a lot of file space, I think a 50X50 pixil image took 7 seconds to code with turbo speed on. I think the challange with that competition will be to get the fastest coding using an ingeneous technique. We have code your own block features, so it might be possible to go a lot faster using a custom block.


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#2336 2010-05-14 17:15:12

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

Re: Panther development thread

sparks wrote:

We have code your own block features, so it might be possible to go a lot faster using a custom block.

Oh yeah, good point -- that's going to be a problem, I think, in judging any contest, because Smalltalk programmers have a big advantage over Scratch-level-of-abstraction programmers and you have to decide whether to handicap Smalltalk code in the awarding of points.


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

Offline

 

#2337 2010-05-14 17:17:35

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Panther development thread

well we are not awarding marks for smalltalk blocks if you look at the mark scheme, I think that it is unfair, I already though about that, so it would either be "no cyob" but that might restrict creativity or two seperate winners, one for smalltalk users and one for standard programming.


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#2338 2010-05-15 01:33:05

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

Re: Panther development thread

sparks wrote:

... mouth hangs open... wasn't really expecting it to be picked apart that much

Rereading this I realize that I'm not sure whether you meant "gee, thanks for taking such interest in this idea" or "foo, stop picking on me"!  If the latter, sorry, of course that wasn't my intent.  (I figured that since you said "What do you think?" in the original post, you'd expect exegesis from everybodysmile  )


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

Offline

 

#2339 2010-05-15 04:23:49

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Panther development thread

ah. true. no, I thank you for the suggestions and questions, I was just surprised.


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#2340 2010-05-15 04:38:51

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Panther development thread

Where is it T.T

IT'S THE WEEKEND!!!! > sad


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#2341 2010-05-15 05:18:18

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Panther development thread

woah! calm down! the two american devs are still asleep, expect it sunday afternoon/evening at the earliest.

Last edited by sparks (2010-05-15 05:27:05)


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#2342 2010-05-15 05:22:16

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Panther development thread

juststickman wrote:

Where is it T.T

IT'S THE WEEKEND!!!! > sad

If you talk to us like that we may delay the release. Don't spoil it for the rest.


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#2343 2010-05-15 05:36:15

meew0
Scratcher
Registered: 2010-02-22
Posts: 1000+

Re: Panther development thread

I made an animated banner for you!

http://imgur.com/cUn2I.gif

Code:

[url=http://pantherprogramming.weebly.com/][img]http://imgur.com/cUn2I.gif[/img][/url]

It works on the Scratch site!


http://i.imgur.com/mJV3j.pnghttp://i.imgur.com/HwWAX.pnghttp://i.imgur.com/sZ7Ui.pnghttp://i.imgur.com/0y6yh.pnghttp://i.imgur.com/nOC4l.png

Offline

 

#2344 2010-05-15 06:33:41

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Panther development thread

very nice! I might adopt that as a sig once we release it  smile  thanks m  smile


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#2345 2010-05-15 06:46:20

meew0
Scratcher
Registered: 2010-02-22
Posts: 1000+

Re: Panther development thread

@sparks: I have done your translation! Look at the German forum!


http://i.imgur.com/mJV3j.pnghttp://i.imgur.com/HwWAX.pnghttp://i.imgur.com/sZ7Ui.pnghttp://i.imgur.com/0y6yh.pnghttp://i.imgur.com/nOC4l.png

Offline

 

#2346 2010-05-15 06:59:33

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Panther development thread

thanks,  I saw, though I don't know which ones you changed and which ones are the same without scrolling back and forth. I might not adopt all of them because some are just too long for a block, some will have to be shortened.

Danke, Ich habe die Änderungen gesehen, aber ich weiß nich welch dass du geendert hast und welch noch  gleich sind ohne immer wieder hin und här zu scrollen. Alle kann ich nich brauchen weil sie ein bischen Lang sind für ein block und mussen verkürzt sein.

thanks though, I'll look through them.


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#2347 2010-05-15 07:45:04

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: Panther development thread

Yay! There's 1 American Dev!


http://i46.tinypic.com/dw7zft.png

Offline

 

#2348 2010-05-15 07:47:34

TheGameMaster1231
Scratcher
Registered: 2009-07-24
Posts: 1000+

Re: Panther development thread

Is Panther Gonna Be Out Today Or Tommorow? PLEASE MAKE IT BE TODAY!!!!!!!!!

OFF TOPIC: Hey Sep! You're Online!  big_smile

Last edited by TheGameMaster1231 (2010-05-15 07:48:06)

Offline

 

#2349 2010-05-15 08:24:13

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: Panther development thread

Yep  smile


http://i46.tinypic.com/dw7zft.png

Offline

 

#2350 2010-05-15 09:12:57

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Panther development thread

er, tomorrow! I did say:

sparks wrote:

xpect it sunday afternoon/evening at the earliest.


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

Board footer