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

#76 2012-12-23 14:53:22

RoboNeo9
Scratcher
Registered: 2012-05-09
Posts: 100+

Re: An Idea That Will Blow Your Mind

Firedrake969 wrote:

RoboNeo9 wrote:

Firedrake969 wrote:


Just harder.

what do you mean

A wall with slight shadows is the same color all around on 2.0.

can you be more clear?

Offline

 

#77 2012-12-23 15:21:21

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Re: An Idea That Will Blow Your Mind

Not very precise color detection.


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

#78 2013-01-03 12:34:40

RoboNeo9
Scratcher
Registered: 2012-05-09
Posts: 100+

Re: An Idea That Will Blow Your Mind

I just checked. In turbo mode, scratch can change a variable by 1, 1,000,000 times in 237.6 seconds.

Offline

 

#79 2013-01-03 12:47:33

RoboNeo9
Scratcher
Registered: 2012-05-09
Posts: 100+

Re: An Idea That Will Blow Your Mind

RoboNeo9 wrote:

I just checked. In turbo mode, scratch can change a variable by 1, 1,000,000 times in 237.6 seconds.

Never mind! On the scratch website it only takes 7.64 seconds to do that in turbo mode!  yikes  wow!

Offline

 

#80 2013-01-03 12:49:32

RoboNeo9
Scratcher
Registered: 2012-05-09
Posts: 100+

Re: An Idea That Will Blow Your Mind

3.984 seconds for 517,500 variable changes!

Offline

 

#81 2013-01-05 01:14:24

RoboNeo9
Scratcher
Registered: 2012-05-09
Posts: 100+

Re: An Idea That Will Blow Your Mind

TorbyFork234 wrote:

RoboNeo9 wrote:

laser314 wrote:


It will still be ultra slow.

Not quite ULTRA slow, just slow.

yes, ultra slow.

For every pixel, it will have to do about 100 checks (if you put them in if elses, it'll go quicker, I'm averaging to 100). So 1 point of data is 100 Scratch calculations, so far. Then, it'll have to check if it's the last point of data. So it would have to check every pixel around it, which is 8 more pixels. 820 calculations (for the initial ifs I add 20) per point. It would then have to do this for about 25x25 pixels, which means 625 pixels.
So, to just map out the data, you would have to have about 512,500 scratch calculations. Which is A LOT!!! and makes it ultra slow.
For the actual angles and edges, I don't know the complex math around it, but for the entire object, I'm going to add in 5000 (because of the complex math, it's not just 1+1, it's more calculations.).
to get one object, and to find the angles/edges, it would take you 517,500 scratch calculations. And if you make a simple "TURBO" speed calculation detector (if you want I can make it for you), you can see how long it takes for it to do 1+1 517,500 times.

well, I could put the most common colors first. It would still be very slow.

Offline

 

#82 2013-01-05 17:59:02

RoboNeo9
Scratcher
Registered: 2012-05-09
Posts: 100+

Re: An Idea That Will Blow Your Mind

Would anybody like to do a collab with me on this? If so contact me on my "RoboNeo9 Collab Account" by (me) HiTechPrograms

Offline

 

#83 2013-01-05 18:04:02

HiTechPrograms
New Scratcher
Registered: 2013-01-05
Posts: 2

Re: An Idea That Will Blow Your Mind

In this account now

Offline

 

Board footer