Discuss Scratch

ironmannn
Scratcher
100+ posts

A mystery image. :)

So I thought I would share some code for you all to try and generate an image from, I assume it should be easy but just incase anyone wants something to do.

Coming straight from an image encoded for my graphics engine,
100,50:24-100,27:1.
100,50:23-100,27:2.
100,50:2-100,38:21-100,27:2.100,50:2-100,38:21-100,27:2.100,50:2-100,38:21-100,27:2.100,50:2-100,38:21-100,27:2.100,50:2-100,38:21-100,27:2.100,50:2-100,38:21-100,27:2.100,50:2-100,38:21-100,27:2.100,50:2-100,38:21-100,27:2.100,50:2-100,38:21-100,27:2.100,50:2-100,38:21-100,27:2.100,50:2-100,38:21-100,27:2.100,50:2-100,38:21-100,27:2.100,50:2-100,38:21-100,27:2.100,50:2-100,38:21-100,27:2.100,50:2-100,38:21-100,27:2.100,50:2-100,38:21-100,27:2.100,50:2-100,38:21-100,27:2.100,50:2-100,38:21-100,27:2.100,50:2-100,38:21-100,27:2.100,50:2-100,38:21-100,27:2.100,50:2-100,38:21-100,27:2.100,50:2-100,27:23.100,50:1-100,27:24.

HINT: There are no coordinates, instead there is a number indicating how many times to repeat a pixel.
This is to make it easier to manipulate an image's position.

Last edited by ironmannn (Sept. 19, 2014 13:36:29)


when green flag clicked
do really complicated thing
MegaApuTurkUltra
Scratcher
1000+ posts

A mystery image. :)

I have no idea how to parse that. I don't know if coordinates are
x,y
or
x:y
Or if those are coordinates at all.

Hints please?

$(".box-head")[0].textContent = "committing AT crimes since $whenever"
Servine
Scratcher
33 posts

A mystery image. :)

Agree with MegaApuTurkUltra.

As a side note, it'd be more efficient if you compressed it or didn't reinvent the wheel From the looks of it, it's only a few pixels, and it'd be much, much more efficient if you used an existing encoding

astro-mechanic
Scratcher
500+ posts

A mystery image. :)

Oh I see the format here!

COORD := NUM "," NUM ":" NUM
LINE := COORD LC
LC := "-" LINE | "."

I know the first 2 numbers of a COORD are the actual coords but not the third number…layer maybe?

Last edited by astro-mechanic (Sept. 18, 2014 16:55:31)


sign here
emperor of shiny things
MegaApuTurkUltra
Scratcher
1000+ posts

A mystery image. :)

astro-mechanic wrote:

Oh I see the format here!

COORD := NUM "," NUM ":" NUM
LINE := COORD LC
LC := "-" LINE | "."

I know the first 2 numbers of a COORD are the actual coords but not the third number…layer maybe?
+1 for taking the effort to figure this out. I was way to lazy to…
Ah time to parse this thing. I'm trying to decide if using ANTLR is overkill…
grammar derp_image;
COMMA = ',';
COLON = ':';
DASH = '-';
DOT = '.';
NUM = [0-9]+;
coord = NUM COMMA NUM COLON NUM;
coordGroup = coord (DASH coord)* DOT; // easier than the whole lc thing?
WS: (' ' | '\t' | '\r'| '\n') -> skip;

$(".box-head")[0].textContent = "committing AT crimes since $whenever"
astro-mechanic
Scratcher
500+ posts

A mystery image. :)

MegaApuTurkUltra wrote:

astro-mechanic wrote:

Oh I see the format here!

COORD := NUM "," NUM ":" NUM
LINE := COORD LC
LC := "-" LINE | "."

I know the first 2 numbers of a COORD are the actual coords but not the third number…layer maybe?
+1 for taking the effort to figure this out. I was way to lazy to…
Ah time to parse this thing. I'm trying to decide if using ANTLR is overkill…
grammar derp_image;
COMMA = ',';
COLON = ':';
DASH = '-';
DOT = '.';
NUM = [0-9]+;
coord = NUM COMMA NUM COLON NUM;
coordGroup = coord (DASH coord)* DOT; // easier than the whole lc thing?
WS: (' ' | '\t' | '\r'| '\n') -> skip;
Your coordGroup looks a bit weird to me, it wouldn't parse
1,2:3-1,2:3.
as a single line because it looks for 2 DOTs?

sign here
emperor of shiny things
MegaApuTurkUltra
Scratcher
1000+ posts

A mystery image. :)

astro-mechanic wrote:

MegaApuTurkUltra wrote:

astro-mechanic wrote:

Oh I see the format here!

COORD := NUM "," NUM ":" NUM
LINE := COORD LC
LC := "-" LINE | "."

I know the first 2 numbers of a COORD are the actual coords but not the third number…layer maybe?
+1 for taking the effort to figure this out. I was way to lazy to…
Ah time to parse this thing. I'm trying to decide if using ANTLR is overkill…
grammar derp_image;
COMMA = ',';
COLON = ':';
DASH = '-';
DOT = '.';
NUM = [0-9]+;
coord = NUM COMMA NUM COLON NUM;
coordGroup = coord (DASH coord)* DOT; // easier than the whole lc thing?
WS: (' ' | '\t' | '\r'| '\n') -> skip;
Your coordGroup looks a bit weird to me, it wouldn't parse
1,2:3-1,2:3.
as a single line because it looks for 2 DOTs?
Ah I made several mistakes (moral: don't handwrite code in a language you don't fully know yet). This works for me (ANTLR 4):
grammar derp_image;
start : (coordGroup | coord)+;
coordGroup : coord (DASH coord)* DOT;
coord : NUM COMMA NUM COLON NUM;

COMMA : ',';
COLON : ':';
DASH : '-';
DOT : '.';
NUM : ('0'..'9')+;
WS: (' ' | '\t' | '\r'| '\n') -> skip;
I still feel too lazy to actually open up Eclipse and write a program to grab all the coordinates and draw them
I might get to it tomorrow…

$(".box-head")[0].textContent = "committing AT crimes since $whenever"
ironmannn
Scratcher
100+ posts

A mystery image. :)

HINT: There are no coordinates, instead there is a number indicating how many times to repeat a pixel.

This code squeezes out a full 25x25 pixel image

I will explain the image format monday if nobody figures it out by then

Last edited by ironmannn (Sept. 19, 2014 13:39:11)


when green flag clicked
do really complicated thing
MegaApuTurkUltra
Scratcher
1000+ posts

A mystery image. :)

ironmannn wrote:

HINT: There are no coordinates, instead there is a number indicating how many times to repeat a pixel.

This code squeezes out a full 25x25 pixel image

I will explain the image format monday if nobody figures it out by then
Ok then, looks like we are completely wrong. This puzzle seems impossible but for some reason I still want to solve it
Also, you have inspired me to post my own puzzle involving scratch or programming: look out for it soon,

$(".box-head")[0].textContent = "committing AT crimes since $whenever"
MegaApuTurkUltra
Scratcher
1000+ posts

A mystery image. :)

Ok so there are 25 phrases ending with “.” and each has 2 or more dash separated groups of 3 numbers, which all seem to start with 100, then either 38, 27, or a couple of other numbers, and then all groups' last numbers add up to 25.

…I still have no idea how to decode this…

Last edited by MegaApuTurkUltra (Sept. 19, 2014 15:06:12)


$(".box-head")[0].textContent = "committing AT crimes since $whenever"
ironmannn
Scratcher
100+ posts

A mystery image. :)

MegaApuTurkUltra wrote:

Ok so there are 25 phrases ending with “.” and each has 2 or more dash separated groups of 3 numbers, which all seem to start with 100. I still have no idea how to decode this but 25 phrases must mean something…

I will be adding a more complex code puzzle soon after this one closes.

when green flag clicked
do really complicated thing
MegaApuTurkUltra
Scratcher
1000+ posts

A mystery image. :)

Lolz is this it? I finally got around to writing a program to decode this…

I assumed 100,x meant “a grayscale value of x/100”

That's a pretty boring picture though if you ask me…

Last edited by MegaApuTurkUltra (Sept. 19, 2014 19:54:30)


$(".box-head")[0].textContent = "committing AT crimes since $whenever"
goldfish678
Scratcher
1000+ posts

A mystery image. :)

MegaApuTurkUltra wrote:

That's a pretty boring picture though if you ask me…
Well, you can't really expect much from a 25x25 image.
MegaApuTurkUltra
Scratcher
1000+ posts

A mystery image. :)

goldfish678 wrote:

MegaApuTurkUltra wrote:

That's a pretty boring picture though if you ask me…
Well, you can't really expect much from a 25x25 image.
How about a 50x50 image? (hmm it reminds me of something in my signature (although much worse quality). I wonder why…?)

(yep the program I wrote to generate this was too lazy to check for similar pixels to put in a line so everything's one pixel)
100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1.100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1.100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1.100,28:1-100,27:1-100,27:1-100,27:1-100,28:1-100,28:1-100,27:1-100,27:1-100,27:1-100,27:1-100,27:1-100,28:1-100,28:1-100,27:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,27:1-100,27:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,27:1-100,27:1-100,27:1-100,28:1-100,28:1-100,28:1.100,28:1-100,28:1-100,27:1-100,27:1-100,28:1-100,28:1-100,28:1-100,27:1-100,27:1-100,28:1-100,28:1-100,28:1-100,28:1-100,27:1-100,27:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,27:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,27:1-100,27:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,27:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1.100,77:1-100,77:1-100,62:1-100,62:1-100,66:1-100,66:1-100,62:1-100,62:1-100,62:1-100,49:1-100,41:1-100,28:1-100,54:1-100,59:1-100,60:1-100,63:1-100,62:1-100,47:1-100,41:1-100,41:1-100,47:1-100,49:1-100,41:1-100,53:1-100,49:1-100,49:1-100,60:1-100,56:1-100,47:1-100,40:1-100,47:1-100,40:1-100,40:1-100,49:1-100,37:1-100,27:1-100,42:1-100,47:1-100,47:1-100,47:1-100,47:1-100,41:1-100,33:1-100,49:1-100,47:1-100,47:1-100,47:1-100,41:1-100,41:1-100,41:1.100,78:1-100,81:1-100,64:1-100,64:1-100,64:1-100,63:1-100,64:1-100,65:1-100,67:1-100,49:1-100,46:1-100,37:1-100,64:1-100,64:1-100,64:1-100,62:1-100,64:1-100,61:1-100,50:1-100,50:1-100,47:1-100,49:1-100,47:1-100,52:1-100,53:1-100,47:1-100,60:1-100,59:1-100,50:1-100,50:1-100,50:1-100,50:1-100,50:1-100,53:1-100,49:1-100,37:1-100,36:1-100,50:1-100,50:1-100,50:1-100,50:1-100,50:1-100,41:1-100,50:1-100,47:1-100,47:1-100,52:1-100,52:1-100,47:1-100,57:1.100,64:1-100,64:1-100,64:1-100,64:1-100,63:1-100,63:1-100,63:1-100,63:1-100,64:1-100,45:1-100,46:1-100,41:1-100,64:1-100,63:1-100,61:1-100,62:1-100,63:1-100,63:1-100,64:1-100,50:1-100,47:1-100,49:1-100,47:1-100,54:1-100,52:1-100,45:1-100,59:1-100,59:1-100,50:1-100,50:1-100,50:1-100,50:1-100,50:1-100,53:1-100,38:1-100,37:1-100,36:1-100,50:1-100,50:1-100,50:1-100,50:1-100,50:1-100,45:1-100,50:1-100,50:1-100,50:1-100,56:1-100,57:1-100,64:1-100,64:1.100,64:1-100,64:1-100,64:1-100,64:1-100,64:1-100,63:1-100,63:1-100,65:1-100,64:1-100,50:1-100,38:1-100,42:1-100,65:1-100,63:1-100,61:1-100,63:1-100,63:1-100,64:1-100,56:1-100,51:1-100,50:1-100,49:1-100,47:1-100,53:1-100,53:1-100,45:1-100,63:1-100,61:1-100,50:1-100,50:1-100,50:1-100,50:1-100,50:1-100,52:1-100,43:1-100,37:1-100,37:1-100,50:1-100,50:1-100,50:1-100,50:1-100,52:1-100,47:1-100,50:1-100,58:1-100,64:1-100,63:1-100,64:1-100,63:1-100,64:1.100,65:1-100,64:1-100,63:1-100,63:1-100,63:1-100,63:1-100,63:1-100,65:1-100,61:1-100,47:1-100,38:1-100,58:1-100,66:1-100,62:1-100,61:1-100,63:1-100,63:1-100,64:1-100,61:1-100,61:1-100,53:1-100,49:1-100,51:1-100,50:1-100,49:1-100,50:1-100,60:1-100,59:1-100,50:1-100,50:1-100,50:1-100,50:1-100,50:1-100,52:1-100,43:1-100,37:1-100,37:1-100,50:1-100,50:1-100,50:1-100,52:1-100,50:1-100,41:1-100,52:1-100,50:1-100,64:1-100,64:1-100,64:1-100,64:1-100,64:1.100,65:1-100,63:1-100,63:1-100,63:1-100,63:1-100,63:1-100,63:1-100,63:1-100,60:1-100,47:1-100,38:1-100,53:1-100,63:1-100,65:1-100,61:1-100,63:1-100,64:1-100,63:1-100,64:1-100,64:1-100,62:1-100,49:1-100,55:1-100,59:1-100,53:1-100,50:1-100,63:1-100,60:1-100,50:1-100,50:1-100,50:1-100,50:1-100,50:1-100,52:1-100,43:1-100,37:1-100,37:1-100,52:1-100,50:1-100,52:1-100,50:1-100,50:1-100,41:1-100,50:1-100,56:1-100,63:1-100,63:1-100,63:1-100,63:1-100,64:1.100,65:1-100,65:1-100,63:1-100,64:1-100,64:1-100,66:1-100,65:1-100,66:1-100,60:1-100,46:1-100,38:1-100,62:1-100,65:1-100,64:1-100,61:1-100,64:1-100,62:1-100,65:1-100,65:1-100,64:1-100,61:1-100,49:1-100,64:1-100,62:1-100,59:1-100,51:1-100,60:1-100,56:1-100,47:1-100,50:1-100,50:1-100,50:1-100,50:1-100,53:1-100,43:1-100,38:1-100,36:1-100,52:1-100,50:1-100,57:1-100,57:1-100,62:1-100,50:1-100,64:1-100,64:1-100,64:1-100,64:1-100,63:1-100,63:1-100,63:1.100,63:1-100,63:1-100,61:1-100,81:1-100,52:1-100,52:1-100,76:1-100,66:1-100,56:1-100,46:1-100,38:1-100,75:1-100,65:1-100,65:1-100,62:1-100,59:1-100,71:1-100,67:1-100,65:1-100,65:1-100,64:1-100,49:1-100,64:1-100,61:1-100,62:1-100,55:1-100,63:1-100,60:1-100,47:1-100,50:1-100,50:1-100,57:1-100,50:1-100,53:1-100,43:1-100,37:1-100,37:1-100,62:1-100,65:1-100,63:1-100,63:1-100,57:1-100,40:1-100,64:1-100,63:1-100,63:1-100,63:1-100,63:1-100,63:1-100,63:1.100,80:1-100,83:1-100,63:1-100,81:1-100,95:1-100,96:1-100,81:1-100,81:1-100,49:1-100,38:1-100,38:1-100,79:1-100,64:1-100,67:1-100,75:1-100,61:1-100,69:1-100,71:1-100,64:1-100,64:1-100,61:1-100,49:1-100,61:1-100,66:1-100,68:1-100,61:1-100,63:1-100,60:1-100,57:1-100,50:1-100,57:1-100,61:1-100,61:1-100,52:1-100,42:1-100,37:1-100,38:1-100,66:1-100,65:1-100,65:1-100,64:1-100,57:1-100,57:1-100,61:1-100,63:1-100,63:1-100,64:1-100,64:1-100,63:1-100,63:1.100,81:1-100,81:1-100,63:1-100,68:1-100,28:1-100,81:1-100,81:1-100,81:1-100,47:1-100,37:1-100,38:1-100,81:1-100,63:1-100,79:1-100,79:1-100,60:1-100,63:1-100,81:1-100,75:1-100,75:1-100,71:1-100,50:1-100,81:1-100,81:1-100,72:1-100,81:1-100,63:1-100,73:1-100,81:1-100,59:1-100,65:1-100,64:1-100,63:1-100,64:1-100,49:1-100,37:1-100,38:1-100,63:1-100,65:1-100,63:1-100,63:1-100,57:1-100,57:1-100,64:1-100,64:1-100,64:1-100,64:1-100,63:1-100,63:1-100,63:1.100,81:1-100,81:1-100,63:1-100,36:1-100,36:1-100,81:1-100,81:1-100,63:1-100,38:1-100,37:1-100,37:1-100,81:1-100,63:1-100,63:1-100,81:1-100,60:1-100,55:1-100,81:1-100,81:1-100,81:1-100,78:1-100,48:1-100,81:1-100,81:1-100,68:1-100,81:1-100,63:1-100,73:1-100,69:1-100,65:1-100,65:1-100,64:1-100,64:1-100,64:1-100,49:1-100,37:1-100,37:1-100,62:1-100,65:1-100,63:1-100,65:1-100,50:1-100,57:1-100,64:1-100,64:1-100,64:1-100,63:1-100,63:1-100,63:1-100,68:1.100,81:1-100,81:1-100,42:1-100,34:1-100,73:1-100,81:1-100,81:1-100,60:1-100,38:1-100,37:1-100,63:1-100,81:1-100,63:1-100,63:1-100,79:1-100,60:1-100,55:1-100,81:1-100,81:1-100,79:1-100,63:1-100,48:1-100,80:1-100,81:1-100,72:1-100,81:1-100,63:1-100,73:1-100,73:1-100,65:1-100,64:1-100,64:1-100,64:1-100,64:1-100,56:1-100,38:1-100,38:1-100,62:1-100,63:1-100,63:1-100,63:1-100,50:1-100,61:1-100,64:1-100,63:1-100,64:1-100,68:1-100,78:1-100,83:1-100,83:1.100,83:1-100,84:1-100,84:1-100,64:1-100,74:1-100,82:1-100,81:1-100,45:1-100,38:1-100,37:1-100,67:1-100,81:1-100,67:1-100,63:1-100,81:1-100,64:1-100,61:1-100,68:1-100,75:1-100,81:1-100,71:1-100,44:1-100,80:1-100,81:1-100,72:1-100,81:1-100,63:1-100,77:1-100,81:1-100,66:1-100,61:1-100,71:1-100,65:1-100,64:1-100,60:1-100,38:1-100,36:1-100,62:1-100,65:1-100,65:1-100,65:1-100,51:1-100,66:1-100,64:1-100,74:1-100,80:1-100,83:1-100,83:1-100,83:1-100,81:1.100,83:1-100,83:1-100,80:1-100,80:1-100,83:1-100,88:1-100,84:1-100,49:1-100,37:1-100,37:1-100,77:1-100,81:1-100,67:1-100,63:1-100,81:1-100,72:1-100,61:1-100,59:1-100,79:1-100,81:1-100,63:1-100,48:1-100,63:1-100,81:1-100,72:1-100,81:1-100,63:1-100,77:1-100,81:1-100,81:1-100,62:1-100,81:1-100,74:1-100,64:1-100,60:1-100,37:1-100,37:1-100,62:1-100,63:1-100,63:1-100,63:1-100,56:1-100,80:1-100,81:1-100,83:1-100,81:1-100,83:1-100,83:1-100,83:1-100,81:1.100,81:1-100,80:1-100,78:1-100,88:1-100,80:1-100,68:1-100,95:1-100,37:1-100,37:1-100,37:1-100,81:1-100,81:1-100,72:1-100,63:1-100,79:1-100,81:1-100,60:1-100,55:1-100,72:1-100,81:1-100,62:1-100,48:1-100,77:1-100,81:1-100,63:1-100,81:1-100,63:1-100,64:1-100,81:1-100,81:1-100,63:1-100,81:1-100,81:1-100,68:1-100,60:1-100,38:1-100,38:1-100,67:1-100,70:1-100,78:1-100,79:1-100,71:1-100,79:1-100,81:1-100,83:1-100,83:1-100,81:1-100,83:1-100,83:1-100,83:1.100,88:1-100,80:1-100,78:1-100,96:1-100,80:1-100,63:1-100,96:1-100,37:1-100,37:1-100,37:1-100,83:1-100,87:1-100,72:1-100,63:1-100,81:1-100,81:1-100,60:1-100,59:1-100,73:1-100,81:1-100,62:1-100,54:1-100,77:1-100,81:1-100,72:1-100,81:1-100,60:1-100,64:1-100,81:1-100,81:1-100,63:1-100,81:1-100,81:1-100,81:1-100,60:1-100,50:1-100,60:1-100,92:1-100,79:1-100,81:1-100,79:1-100,71:1-100,79:1-100,79:1-100,83:1-100,81:1-100,83:1-100,83:1-100,83:1-100,95:1.100,96:1-100,77:1-100,77:1-100,96:1-100,77:1-100,63:1-100,88:1-100,42:1-100,37:1-100,37:1-100,81:1-100,81:1-100,83:1-100,63:1-100,81:1-100,81:1-100,63:1-100,61:1-100,63:1-100,81:1-100,63:1-100,49:1-100,81:1-100,81:1-100,72:1-100,81:1-100,63:1-100,69:1-100,81:1-100,81:1-100,65:1-100,81:1-100,81:1-100,87:1-100,67:1-100,67:1-100,66:1-100,84:1-100,87:1-100,89:1-100,81:1-100,71:1-100,79:1-100,83:1-100,83:1-100,83:1-100,83:1-100,83:1-100,82:1-100,96:1.100,92:1-100,78:1-100,77:1-100,92:1-100,78:1-100,74:1-100,53:1-100,37:1-100,37:1-100,37:1-100,88:1-100,91:1-100,80:1-100,63:1-100,64:1-100,81:1-100,77:1-100,61:1-100,63:1-100,81:1-100,67:1-100,49:1-100,73:1-100,81:1-100,80:1-100,81:1-100,65:1-100,67:1-100,81:1-100,81:1-100,72:1-100,88:1-100,89:1-100,89:1-100,76:1-100,66:1-100,66:1-100,82:1-100,88:1-100,89:1-100,81:1-100,80:1-100,87:1-100,87:1-100,83:1-100,81:1-100,81:1-100,83:1-100,91:1-100,96:1.100,74:1-100,74:1-100,74:1-100,74:1-100,69:1-100,69:1-100,44:1-100,37:1-100,37:1-100,37:1-100,72:1-100,72:1-100,77:1-100,63:1-100,63:1-100,87:1-100,84:1-100,61:1-100,60:1-100,81:1-100,63:1-100,60:1-100,77:1-100,87:1-100,80:1-100,87:1-100,63:1-100,73:1-100,92:1-100,92:1-100,92:1-100,77:1-100,92:1-100,92:1-100,74:1-100,67:1-100,67:1-100,88:1-100,89:1-100,89:1-100,81:1-100,81:1-100,89:1-100,87:1-100,81:1-100,81:1-100,81:1-100,75:1-100,95:1-100,96:1.100,80:1-100,80:1-100,80:1-100,80:1-100,80:1-100,80:1-100,42:1-100,43:1-100,37:1-100,37:1-100,82:1-100,87:1-100,88:1-100,63:1-100,63:1-100,87:1-100,87:1-100,61:1-100,60:1-100,87:1-100,63:1-100,60:1-100,69:1-100,49:1-100,44:1-100,60:1-100,60:1-100,63:1-100,84:1-100,92:1-100,91:1-100,77:1-100,92:1-100,92:1-100,67:1-100,68:1-100,68:1-100,87:1-100,92:1-100,92:1-100,75:1-100,88:1-100,89:1-100,87:1-100,81:1-100,71:1-100,81:1-100,80:1-100,95:1-100,96:1.100,78:1-100,80:1-100,80:1-100,80:1-100,80:1-100,80:1-100,49:1-100,43:1-100,37:1-100,42:1-100,81:1-100,87:1-100,87:1-100,63:1-100,64:1-100,87:1-100,87:1-100,64:1-100,55:1-100,73:1-100,60:1-100,64:1-100,64:1-100,64:1-100,74:1-100,74:1-100,74:1-100,77:1-100,83:1-100,74:1-100,81:1-100,77:1-100,92:1-100,91:1-100,65:1-100,65:1-100,68:1-100,80:1-100,92:1-100,92:1-100,71:1-100,92:1-100,93:1-100,81:1-100,78:1-100,63:1-100,80:1-100,81:1-100,96:1-100,96:1.100,80:1-100,80:1-100,80:1-100,80:1-100,80:1-100,80:1-100,43:1-100,43:1-100,37:1-100,42:1-100,80:1-100,87:1-100,87:1-100,63:1-100,64:1-100,87:1-100,87:1-100,63:1-100,59:1-100,64:1-100,64:1-100,64:1-100,64:1-100,64:1-100,74:1-100,77:1-100,76:1-100,83:1-100,76:1-100,76:1-100,77:1-100,83:1-100,77:1-100,81:1-100,68:1-100,68:1-100,68:1-100,88:1-100,92:1-100,92:1-100,67:1-100,93:1-100,87:1-100,84:1-100,83:1-100,63:1-100,83:1-100,83:1-100,96:1-100,96:1.100,80:1-100,80:1-100,80:1-100,80:1-100,80:1-100,78:1-100,43:1-100,43:1-100,37:1-100,44:1-100,81:1-100,87:1-100,87:1-100,63:1-100,63:1-100,87:1-100,82:1-100,68:1-100,64:1-100,64:1-100,64:1-100,64:1-100,64:1-100,64:1-100,74:1-100,77:1-100,76:1-100,83:1-100,76:1-100,77:1-100,74:1-100,68:1-100,74:1-100,83:1-100,88:1-100,77:1-100,65:1-100,72:1-100,92:1-100,82:1-100,45:1-100,90:1-100,78:1-100,83:1-100,81:1-100,73:1-100,90:1-100,80:1-100,92:1-100,96:1.100,81:1-100,80:1-100,80:1-100,80:1-100,80:1-100,74:1-100,46:1-100,43:1-100,37:1-100,49:1-100,81:1-100,87:1-100,88:1-100,63:1-100,63:1-100,84:1-100,81:1-100,73:1-100,64:1-100,64:1-100,64:1-100,64:1-100,64:1-100,68:1-100,83:1-100,77:1-100,77:1-100,77:1-100,77:1-100,77:1-100,73:1-100,69:1-100,73:1-100,84:1-100,74:1-100,65:1-100,68:1-100,65:1-100,87:1-100,83:1-100,40:1-100,78:1-100,90:1-100,81:1-100,68:1-100,83:1-100,90:1-100,72:1-100,88:1-100,96:1.100,81:1-100,73:1-100,80:1-100,80:1-100,80:1-100,56:1-100,46:1-100,38:1-100,37:1-100,60:1-100,77:1-100,77:1-100,81:1-100,77:1-100,63:1-100,72:1-100,81:1-100,63:1-100,61:1-100,64:1-100,64:1-100,64:1-100,64:1-100,64:1-100,77:1-100,77:1-100,74:1-100,74:1-100,77:1-100,77:1-100,77:1-100,74:1-100,73:1-100,83:1-100,84:1-100,80:1-100,55:1-100,36:1-100,62:1-100,82:1-100,58:1-100,81:1-100,56:1-100,90:1-100,63:1-100,81:1-100,90:1-100,72:1-100,68:1-100,96:1.100,81:1-100,63:1-100,73:1-100,77:1-100,80:1-100,60:1-100,49:1-100,37:1-100,42:1-100,61:1-100,59:1-100,59:1-100,69:1-100,81:1-100,84:1-100,37:1-100,37:1-100,35:1-100,33:1-100,36:1-100,36:1-100,36:1-100,36:1-100,36:1-100,36:1-100,36:1-100,36:1-100,36:1-100,36:1-100,36:1-100,36:1-100,36:1-100,36:1-100,36:1-100,36:1-100,36:1-100,34:1-100,34:1-100,28:1-100,34:1-100,36:1-100,35:1-100,36:1-100,58:1-100,62:1-100,87:1-100,81:1-100,63:1-100,81:1-100,92:1.100,81:1-100,63:1-100,63:1-100,81:1-100,81:1-100,49:1-100,50:1-100,37:1-100,59:1-100,59:1-100,59:1-100,59:1-100,59:1-100,74:1-100,83:1-100,69:1-100,36:1-100,36:1-100,45:1-100,37:1-100,36:1-100,53:1-100,36:1-100,36:1-100,35:1-100,36:1-100,36:1-100,36:1-100,36:1-100,36:1-100,36:1-100,35:1-100,35:1-100,36:1-100,35:1-100,35:1-100,36:1-100,36:1-100,36:1-100,36:1-100,36:1-100,36:1-100,35:1-100,57:1-100,57:1-100,56:1-100,57:1-100,63:1-100,73:1-100,77:1.100,79:1-100,62:1-100,66:1-100,76:1-100,81:1-100,48:1-100,46:1-100,44:1-100,61:1-100,45:1-100,41:1-100,59:1-100,59:1-100,69:1-100,83:1-100,84:1-100,64:1-100,64:1-100,59:1-100,45:1-100,33:1-100,28:1-100,37:1-100,37:1-100,64:1-100,36:1-100,36:1-100,36:1-100,36:1-100,36:1-100,36:1-100,36:1-100,36:1-100,37:1-100,36:1-100,36:1-100,36:1-100,36:1-100,36:1-100,36:1-100,37:1-100,36:1-100,54:1-100,57:1-100,71:1-100,78:1-100,63:1-100,60:1-100,28:1-100,28:1.100,65:1-100,66:1-100,66:1-100,66:1-100,81:1-100,50:1-100,42:1-100,36:1-100,49:1-100,33:1-100,28:1-100,53:1-100,59:1-100,69:1-100,83:1-100,83:1-100,83:1-100,78:1-100,69:1-100,64:1-100,64:1-100,64:1-100,64:1-100,49:1-100,45:1-100,33:1-100,33:1-100,49:1-100,36:1-100,36:1-100,53:1-100,36:1-100,36:1-100,41:1-100,36:1-100,33:1-100,33:1-100,36:1-100,36:1-100,36:1-100,41:1-100,36:1-100,41:1-100,57:1-100,61:1-100,66:1-100,63:1-100,63:1-100,27:1-100,28:1.100,65:1-100,67:1-100,66:1-100,71:1-100,78:1-100,49:1-100,37:1-100,28:1-100,28:1-100,41:1-100,36:1-100,59:1-100,59:1-100,74:1-100,83:1-100,69:1-100,64:1-100,64:1-100,69:1-100,74:1-100,83:1-100,83:1-100,74:1-100,64:1-100,64:1-100,64:1-100,61:1-100,61:1-100,59:1-100,53:1-100,41:1-100,41:1-100,33:1-100,41:1-100,36:1-100,36:1-100,45:1-100,36:1-100,41:1-100,49:1-100,42:1-100,30:1-100,57:1-100,56:1-100,56:1-100,56:1-100,58:1-100,33:1-100,27:1-100,28:1.100,65:1-100,67:1-100,67:1-100,67:1-100,27:1-100,27:1-100,27:1-100,29:1-100,29:1-100,27:1-100,27:1-100,27:1-100,29:1-100,27:1-100,27:1-100,29:1-100,28:1-100,27:1-100,29:1-100,64:1-100,29:1-100,27:1-100,28:1-100,28:1-100,27:1-100,29:1-100,27:1-100,27:1-100,27:1-100,27:1-100,27:1-100,27:1-100,27:1-100,27:1-100,27:1-100,27:1-100,28:1-100,27:1-100,29:1-100,74:1-100,27:1-100,27:1-100,27:1-100,27:1-100,27:1-100,27:1-100,29:1-100,27:1-100,28:1-100,27:1.100,65:1-100,67:1-100,67:1-100,67:1-100,96:1-100,96:1-100,96:1-100,96:1-100,29:1-100,96:1-100,96:1-100,98:1-100,28:1-100,96:1-100,96:1-100,68:1-100,74:1-100,96:1-100,29:1-100,64:1-100,28:1-100,96:1-100,69:1-100,98:1-100,96:1-100,29:1-100,96:1-100,74:1-100,96:1-100,98:1-100,96:1-100,96:1-100,96:1-100,96:1-100,96:1-100,96:1-100,74:1-100,96:1-100,29:1-100,81:1-100,98:1-100,96:1-100,98:1-100,96:1-100,96:1-100,96:1-100,29:1-100,28:1-100,28:1-100,27:1.100,65:1-100,67:1-100,67:1-100,66:1-100,96:1-100,96:1-100,74:1-100,96:1-100,29:1-100,96:1-100,74:1-100,29:1-100,28:1-100,96:1-100,96:1-100,69:1-100,74:1-100,96:1-100,29:1-100,64:1-100,28:1-100,96:1-100,98:1-100,96:1-100,96:1-100,29:1-100,96:1-100,74:1-100,96:1-100,98:1-100,29:1-100,96:1-100,98:1-100,29:1-100,96:1-100,96:1-100,74:1-100,96:1-100,29:1-100,64:1-100,98:1-100,96:1-100,29:1-100,98:1-100,96:1-100,29:1-100,29:1-100,27:1-100,28:1-100,27:1.100,69:1-100,69:1-100,65:1-100,65:1-100,96:1-100,96:1-100,74:1-100,96:1-100,29:1-100,96:1-100,96:1-100,98:1-100,74:1-100,96:1-100,96:1-100,98:1-100,74:1-100,96:1-100,29:1-100,64:1-100,64:1-100,96:1-100,96:1-100,96:1-100,96:1-100,28:1-100,96:1-100,27:1-100,96:1-100,98:1-100,29:1-100,96:1-100,98:1-100,29:1-100,96:1-100,96:1-100,96:1-100,96:1-100,29:1-100,53:1-100,98:1-100,96:1-100,29:1-100,98:1-100,96:1-100,29:1-100,28:1-100,28:1-100,28:1-100,28:1.100,66:1-100,65:1-100,65:1-100,65:1-100,96:1-100,96:1-100,74:1-100,96:1-100,29:1-100,96:1-100,80:1-100,56:1-100,98:1-100,96:1-100,98:1-100,96:1-100,74:1-100,96:1-100,29:1-100,64:1-100,64:1-100,98:1-100,96:1-100,96:1-100,98:1-100,69:1-100,96:1-100,29:1-100,96:1-100,98:1-100,29:1-100,96:1-100,98:1-100,29:1-100,96:1-100,96:1-100,80:1-100,96:1-100,29:1-100,63:1-100,98:1-100,96:1-100,29:1-100,98:1-100,96:1-100,29:1-100,27:1-100,28:1-100,28:1-100,28:1.100,57:1-100,51:1-100,45:1-100,47:1-100,96:1-100,96:1-100,74:1-100,96:1-100,29:1-100,96:1-100,74:1-100,29:1-100,96:1-100,96:1-100,96:1-100,96:1-100,74:1-100,96:1-100,29:1-100,29:1-100,74:1-100,74:1-100,96:1-100,96:1-100,74:1-100,96:1-100,96:1-100,29:1-100,96:1-100,98:1-100,29:1-100,96:1-100,98:1-100,29:1-100,96:1-100,96:1-100,74:1-100,96:1-100,29:1-100,62:1-100,98:1-100,96:1-100,29:1-100,98:1-100,96:1-100,29:1-100,27:1-100,28:1-100,28:1-100,28:1.100,49:1-100,49:1-100,49:1-100,49:1-100,96:1-100,96:1-100,96:1-100,96:1-100,29:1-100,96:1-100,96:1-100,96:1-100,96:1-100,98:1-100,74:1-100,96:1-100,74:1-100,96:1-100,96:1-100,29:1-100,74:1-100,74:1-100,96:1-100,96:1-100,27:1-100,96:1-100,96:1-100,29:1-100,96:1-100,98:1-100,29:1-100,96:1-100,98:1-100,29:1-100,96:1-100,96:1-100,74:1-100,96:1-100,29:1-100,62:1-100,98:1-100,96:1-100,29:1-100,98:1-100,96:1-100,29:1-100,28:1-100,28:1-100,28:1-100,28:1.100,49:1-100,49:1-100,59:1-100,33:1-100,28:1-100,28:1-100,28:1-100,29:1-100,29:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,29:1-100,74:1-100,29:1-100,28:1-100,28:1-100,29:1-100,28:1-100,28:1-100,29:1-100,28:1-100,28:1-100,29:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,29:1-100,59:1-100,28:1-100,28:1-100,29:1-100,28:1-100,28:1-100,29:1-100,28:1-100,28:1-100,28:1-100,27:1.100,47:1-100,45:1-100,36:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,84:1-100,83:1-100,83:1-100,83:1-100,47:1-100,73:1-100,74:1-100,74:1-100,74:1-100,74:1-100,74:1-100,74:1-100,74:1-100,74:1-100,74:1-100,74:1-100,74:1-100,74:1-100,74:1-100,74:1-100,74:1-100,74:1-100,74:1-100,56:1-100,45:1-100,37:1-100,37:1-100,37:1-100,58:1-100,78:1-100,81:1-100,47:1-100,49:1-100,49:1-100,56:1-100,49:1-100,37:1-100,27:1-100,77:1.100,42:1-100,62:1-100,33:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,30:1-100,83:1-100,83:1-100,83:1-100,78:1-100,73:1-100,74:1-100,74:1-100,74:1-100,74:1-100,74:1-100,74:1-100,74:1-100,74:1-100,74:1-100,74:1-100,74:1-100,74:1-100,74:1-100,74:1-100,74:1-100,74:1-100,49:1-100,27:1-100,69:1-100,38:1-100,37:1-100,37:1-100,36:1-100,83:1-100,81:1-100,67:1-100,49:1-100,49:1-100,59:1-100,49:1-100,49:1-100,49:1-100,43:1.100,36:1-100,60:1-100,52:1-100,29:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,27:1-100,47:1-100,66:1-100,68:1-100,63:1-100,60:1-100,64:1-100,64:1-100,64:1-100,64:1-100,64:1-100,69:1-100,78:1-100,78:1-100,59:1-100,61:1-100,64:1-100,64:1-100,64:1-100,64:1-100,74:1-100,69:1-100,60:1-100,42:1-100,33:1-100,36:1-100,36:1-100,34:1-100,29:1-100,66:1-100,58:1-100,47:1-100,53:1-100,42:1-100,36:1-100,41:1-100,49:1-100,35:1-100,54:1.100,27:1-100,27:1-100,28:1-100,27:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,27:1-100,27:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1.100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,27:1-100,27:1-100,27:1-100,27:1-100,27:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,27:1-100,27:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1.100,28:1-100,28:1-100,28:1-100,27:1-100,28:1-100,28:1-100,27:1-100,27:1-100,27:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,27:1-100,27:1-100,27:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,27:1-100,27:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1.100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1-100,28:1.

Last edited by MegaApuTurkUltra (Sept. 19, 2014 20:26:25)


$(".box-head")[0].textContent = "committing AT crimes since $whenever"
__init__
Scratcher
1000+ posts

A mystery image. :)

I made it less pixelated and removed the borders.
http://jsfiddle.net/w4jmwogh/4/

thisandagain pls explain
ironmannn
Scratcher
100+ posts

A mystery image. :)

Congrats to MegaApuTurkUltra on decoding a grayscale version of the image,

Here is the format for one line of an image
color,shade:length-color,shade:length.

Lets see what you guys can make (the code is compatible with my PAGE engine, enter it into the list called graphics and render the image
(finally senses if the mouse is touching a boundary. )


number on the list = image ID

when green flag clicked
do really complicated thing
MegaApuTurkUltra
Scratcher
1000+ posts

A mystery image. :)

ironmannn wrote:

Congrats to MegaApuTurkUltra on decoding a grayscale version of the image,

Here is the format for one line of an image
color,shade:length-color,shade:length.

Lets see what you guys can make (the code is compatible with my PAGE engine, enter it into the list called graphics and render the image
(finally senses if the mouse is touching a boundary. )


number on the list = image ID
Ah color,shade:length
I had it as maximumValue,value:length

$(".box-head")[0].textContent = "committing AT crimes since $whenever"
ironmannn
Scratcher
100+ posts

A mystery image. :)

Yeah, Color,shade:length. I would use a more complex and efficient method but I'm too lazy to reprogram the Rendering block at the moment in my engine, I spent like a week trying to fix a bug in the code that was causing it to render strangely.

If anyone knows why the pen seems buggy when rendering, please let me know. I have a weird two pixels missing in my renderings (Atleast on my chromebook)

when green flag clicked
do really complicated thing
nXIII
Scratcher
1000+ posts

A mystery image. :)

http://jsfiddle.net/qsel/a0vt1tvg/

The pen issues are probably related to the way Scratch makes pen dots. A size-1 pen at integer coordinates won't fill the whole pixel.

nXIII · GitHub

Powered by DjangoBB