This site requires JavaScript, please enable it in your browser!
Greenfoot back

Comments for Tracing Bounces in Circle World

Return to Tracing Bounces in Circle World

danpostdanpost

2019/6/29

Dang -- codes not showing.
A new version of this scenario was uploaded on 2019-06-29 01:21:43 UTC
danpostdanpost

2019/6/29

Codes show now.
A new version of this scenario was uploaded on 2019-06-29 01:39:24 UTC
A new version of this scenario was uploaded on 2019-06-30 16:57:22 UTC Modified for viewing pleasure.
danpostdanpost

2019/6/30

My God -- it is sooo slow in HTML5. Must make source available so it can be run off-line.
A new version of this scenario was uploaded on 2019-06-30 17:13:55 UTC Modified for viewing pleasure.
A new version of this scenario was uploaded on 2019-06-30 17:22:20 UTC Download and run a high speed for full visual effect.
A new version of this scenario was uploaded on 2019-06-30 17:23:22 UTC Download and run at high speed for full visual effect.
A new version of this scenario was uploaded on 2019-07-05 19:47:06 UTC Testing on-line speed with different coding.
danpostdanpost

2019/7/5

Still very slow on site !!!
A new version of this scenario was uploaded on 2019-07-05 19:49:28 UTC
Super_HippoSuper_Hippo

2019/7/6

For me, one line (from one side to the other, when it is moving almost through the middle) needs a little bit less than third of a second. (Just counted 60 in 22 seconds.)
danpostdanpost

2019/7/6

@Hippo, that is top speed -- right? Believable. However, in the greenfoot application, it runs SO much quicker (probably 20 to 30 or more times quicker). The visual effect is greatly enhanced..
Super_HippoSuper_Hippo

2019/7/6

Yes, it does run faster directly in GF. Unfortunately, even optimizing your code (if it is even possible in any way) won't really make a difference because all uploaded scenarios run slower since the conversion to JS. You can even notice a difference at speed 50 which makes playing games on the site often easier than they are in GF.
danpostdanpost

2019/7/6

@Hippo, I could probably determine the chord length of a completed line and, instead of moving (or drawing) 5 pixels at a time, move (draw) the entire chord length each act step. I would think that would help for the visual on the site.
A new version of this scenario was uploaded on 2019-07-15 00:26:04 UTC Should be faster now.
Super_HippoSuper_Hippo

2019/7/15

Yes, it is much faster now. :)
Super_HippoSuper_Hippo

2019/7/15

Oh, I just realized it doesn't start at 100 speed anymore. Then it is even faster. Good job!
C1234567890C1234567890

2019/11/17

Wow, really cool program. But how can I open it in Greenfoot?
A new version of this scenario was uploaded on 2019-11-17 13:04:51 UTC
danpostdanpost

2019/11/17

@C1234567890, source available now.
A new version of this scenario was uploaded on 2019-11-17 15:01:46 UTC
20WardW20WardW

2020/1/30

This program is great; it runs with no errors and moves quickly and smoothly.