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

Report as inappropriate.

danpost
danpost presents ...

2019/6/29

Tracing Bounces in Circle World

Click to create a new bouncing tracer.

Download and run in greenfoot for a better viewing experience (at high speed).

2207 views / 8 in the last 7 days

2 votes | 0 in the last 7 days

Tags: with-source danpost

open in greenfoot
Your browser does not support the canvas tag.
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.

See all comments

Want to leave a comment? You must first log in.

Who likes this?

C1234567890 Super_Hippo