Log In  

Cart #sort_animated-0 | 2023-07-11 | Code ▽ | Embed ▽ | No License
7

This here is the sort demo by Zep that I animated. I don't really like how the code looks, but it works very well.

Hope you enjoy

EDIT: Now without the one frame delay that was in the first version

bilodau

P#125259 2023-02-03 21:58 ( Edited 2023-07-11 00:08)

1

Very good game!

P#125308 2023-02-04 15:07

@RedRetroTriangle Thank you, but this was originally made by Zep. I just animated the swapping and growing/shrinking of the giraffes.

P#125309 2023-02-04 15:42
1

I like the animation effect, @bilodau. Gold star. For those people unfamiliar - this is a BUBBLE SORT.

https://en.wikipedia.org/wiki/Bubble_sort

It is one of the easiest ways to sort data.

While this program shows the method - the actual calculations are not displayed. A challenge for a Piconion to code, perhaps ?

P#125314 2023-02-04 17:36 ( Edited 2023-02-04 17:37)

@dw817 Thank you! Didn't know it was called like that.

Also, it isn't exactly bubble sorting, because it only swaps once by step.

P#125327 2023-02-04 21:28 ( Edited 2023-02-04 21:31)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-29 00:27:18 | 0.060s | Q:26