scimonster wrote:
Scratch now? Panther?
I did Scratch before. Now I'll wok on Panther.
~SSBBM
Offline
Oh, didn't notice.
Offline
All work.
Offline
The Library looks much cooler now.
Offline
YourLocalBlockLib wrote:
Ok! Done with Panther!
~SSBBM
Great!
Offline
sparks wrote:
... I was going to say this eariler but don't you think the spaces between the blocks should be un-linked so there isn't a line between each link square?
Yes, I think that but I'm too lazy to log out and change it. XD
Offline
I was but I had to leave in the middle.
Offline
Hey Guys, I was having a bit of fun and came up with this:
The Panther project directly accesses the statistics page of the block library, filters out the number of blocks in each category and displays them in a bar chart as shown above.
Download the project here!
I thought about doing this when eariler, I noticed that there were far more operator blocks than any other in most parts of the library, probably because they are easy to make and useful and I then wanted to see how many of each block type had been shared over the three applications the library caters for!
The project does not pull up sharer information which is a shame, maybe someone would like to edit the project to add it? The thing I like about this project is it should always work without us having to update a second set of figures when we add a new block!
Though it wasn't needed, the project happens to be 0 sprite 1 script which was fun to do and in this case did not detract from operation speed
This may have applications for the library with a little tweaking as block library updates could occasionally have something similar to this shown so that viewers can get an idea of how the library looks statistically. It's a little easier to picture the meaning of this bar chart than the pure numbers given in the stats page.
Last edited by sparks (2011-05-02 17:49:26)
Offline
sparks wrote:
Hey Guys, I was having a bit of fun and came up with this:
http://dl.dropbox.com/u/22935223/screenshot.gif
The Panther project directly accesses the statistics page of the block library, filters out the number of blocks in each category and displays them in a bar chart as shown above.
Download the project here!
I thought about doing this when eariler, I noticed that there were far more operator blocks than any other in most parts of the library, probably because they are easy to make and useful and I then wanted to see how many of each block type had been shared over the three applications the library caters for!
The project does not pull up sharer information which is a shame, maybe someone would like to edit the project to add it? The thing I like about this project is it should always work without us having to update a second set of figures when we add a new block!
Though it wasn't needed, the project happens to be 0 sprite 1 script which was fun to do and in this case did not detract from operation speed
This may have applications for the library with a little tweaking as block library updates could occasionally have something similar to this shown so that viewers can get an idea of how the library looks statistically. It's a little easier to picture the meaning of this bar chart than the pure numbers given in the stats page.
AWESOME! I have an idea, w can take off the script and upload it online to scratch. Then we can whenever a library update happens re make it, save a picture of the stage, and put it on scratch, and update the project! Like the idea? It would be kinda useless besides to show people who didn't download the project how it looks, actually, we could every time save a picture and every update add the project with a new costume of the blocks, then we can make it so the left arrow will change the costume by - 1 and right arrow change to the next costume, you could see it moving! It would be kinda cool.
Offline
sparks wrote:
Hey Guys, I was having a bit of fun and came up with this:
http://dl.dropbox.com/u/22935223/screenshot.gif
The Panther project directly accesses the statistics page of the block library, filters out the number of blocks in each category and displays them in a bar chart as shown above.
Download the project here!
I thought about doing this when eariler, I noticed that there were far more operator blocks than any other in most parts of the library, probably because they are easy to make and useful and I then wanted to see how many of each block type had been shared over the three applications the library caters for!
The project does not pull up sharer information which is a shame, maybe someone would like to edit the project to add it? The thing I like about this project is it should always work without us having to update a second set of figures when we add a new block!
Though it wasn't needed, the project happens to be 0 sprite 1 script which was fun to do and in this case did not detract from operation speed
This may have applications for the library with a little tweaking as block library updates could occasionally have something similar to this shown so that viewers can get an idea of how the library looks statistically. It's a little easier to picture the meaning of this bar chart than the pure numbers given in the stats page.
How is that 0s1s!?
It's awesome!
Offline
scimonster wrote:
How is that 0s1s!?
It's awesome!
It's 0s 1s because the stage holds two costumes (white and display). It then uses the text and rectangle stamp blocks to stamp the information onto the screen. Taking the HTML from the page with the stats page it then filters out the stats post, then divides that into rough chunks that contain the information for Scratch, Panther and BYOB to seperate variables . Then it takes it to the next stage by filtering our the bare surrounding HTML and working out the number inside the [ ]'s on each category! As long as no-one changes the location of the little block images at the top of each statistics part and the layout is drastically changed it should filter it all out nicely! It relies on the (index of [ ] starting at ( ) in [ ]) block a lot, very useful block, as well as three panther library blocks - stamp text, stamp rectangle and set stepping speed (the last one lets the project parser and display the information faster.
Offline
New Panther Blocks:
Name:
get var $String$ from online
Type
r
Code:
| t2 t3 t4 t5 t6 t7 t8 | t8 _ t1 asString. t2_ 'http://scratchlive.xtreemhost.com/'. t2 _ t2 asString. t3 _ t2 , 'set.php?user=' , t8 , '&pass=1'. t4 _ self readLine: 4 FromUrl: t3. t4 = '<html>' ifTrue: [t4 _ '']. t5 _ 0. t7 _ ''. t4 size timesRepeat: [t5 _ t5 + 1. t6 _ self letter: t5 of: t4. t6 = '_' ifTrue: [t6 _ ' ']. t7 _ t7 , t6]. ^ t7
Name:
set/make a online var $String$ to $String$
Type
-
Code:
| t3 t4 t5 t6 t7 t8 t9 t10 | t9 _ t2 asString. t10 _ t1 asString. t6 _ 0. t8 _ ''. t9 size timesRepeat: [t6 _ t6 + 1. t7 _ self letter: t6 of: t9. t7 = ' ' ifTrue: [t7 _ '_']. t8 _ t8 , t7]. t3 _ PhpUrl. t3 _ 'http://scratchlive.xtreemhost.com/'. t3 _ t3 asString. t4 _ t3 , 'set.php?user=' , t10 , '&pass=1&value=' , t8. t5 _ self readLine: 4 FromUrl: t4. ^ t5
Here, all data and variable names can be seen.
*These are also in Claw
Offline
Panther blocks (online connection needed):
First one:
box1:
number of registered users
box2:
r
Color: any (most likely sensing color)
box3:
^self readFromUrl: 'http://scratch.mit.edu/api/getregisteredusers'
[
Second one:
box1:
number of scratchers with at least one project online
box2:
r
Color: any (most likely sensing color)
box3:
^self readFromUrl: 'http://scratch.mit.edu/api/getcreators'
Third one:
box1:
number of projects online
box2:
r
Color: any (most likely sensing color)
box3:
^self readFromUrl: 'http://scratch.mit.edu/api/gettotalprojects'
Fourth one:
box1:
number of scripts online
box2:
r
Color: any (most likely sensing color)
box3:
^self readFromUrl: 'http://scratch.mit.edu/api/gettotalscripts'
Fifth one:
box1:
number of sprites online
box2:
r
Color: any (most likely sensing color)
box3:
^self readFromUrl: 'http://scratch.mit.edu/api/gettotalsprites.'
There is plenty more where that came from that I have, but they need inserts and I can't get them all working quite yet.
Last edited by Pecola1 (2011-05-03 12:49:08)
Offline
Pecola1 wrote:
Panther blocks (online connection needed):
First one:
box1:number of registered users
box2:
r
Color: any (most likely sensing color)
box3:^self readFromUrl: 'http://scratch.mit.edu/api/getregisteredusers'
Second one:
box1:number of scratchers with at least one project online
box2:
r
Color: any (most likely sensing color)
box3:^self readFromUrl: 'http://scratch.mit.edu/api/getcreators'
Third one:
box1:number of projects online
box2:
r
Color: any (most likely sensing color)
box3:^self readFromUrl: 'http://scratch.mit.edu/api/gettotalprojects'
Fourth one:
box1:number of scripts online
box2:
r
Color: any (most likely sensing color)
box3:^self readFromUrl: 'http://scratch.mit.edu/api/gettotalscripts'
Fifth one:
box1:number of sprites online
box2:
r
Color: any (most likely sensing color)
box3:^self readFromUrl: 'http://scratch.mit.edu/api/gettotalsprites.'
There is plenty more where that came from that I have, but they need inserts and I can't get them all working quite yet.
I never thought of doing this!
Offline
scimonster wrote:
Pecola1 wrote:
Panther blocks (online connection needed):
...
There is plenty more where that came from that I have, but they need inserts and I can't get them all working quite yet.I never thought of doing this!
*facepalm* You shouldn't quote a long post like that, cut some of it out. (I am such a hypocrite ) (again with the :P)
LOL)
Last edited by Pecola1 (2011-05-03 13:07:07)
Offline
Pecola1 wrote:
scimonster wrote:
Pecola1 wrote:
Panther blocks (online connection needed):
...
There is plenty more where that came from that I have, but they need inserts and I can't get them all working quite yet.I never thought of doing this!
*facepalm* You shouldn't quote a long post like that, cut some of it out. (I am such a hypocrite ) (again with the
Code:
:P)LOL)
What's with the :P smiley?
Time for a survey!
Offline
scimonster wrote:
Pecola1 wrote:
scimonster wrote:
I never thought of doing this!*facepalm* You shouldn't quote a long post like that, cut some of it out. (I am such a hypocrite ) (again with the
Code:
:P)LOL)
What's with the :P smiley?
Time for a survey!
Ah... I never noticed you could do that. Well, now I don't need the [code] and [/code] I can just do :P)
Offline
johnnydean1 wrote:
Are you gonna add my blocks?
We need Sparks for Panther.
Offline
johnnydean1 wrote:
scimonster wrote:
johnnydean1 wrote:
Are you gonna add my blocks?
We need Sparks for Panther.
Coolio.
How is it coolio? I isn't really that cool.
Offline