Important alert: (current site time 7/16/2013 2:28:30 AM EDT)
 

winzip icon

Sort your eastereggs by color

Email
Submitted on: 4/11/2007 9:11:13 AM
By: ULLI 
Level: Intermediate
User Rating: By 24 Users
Compatibility: VB 6.0
Views: 13603
author picture
(About the author)
 
     Animated Sort Algorithms --- Shows the behavior of these sorts: *Bubble*, *Cocktail Shaker*, *Insert*, *Improved Insert*, *Shell*, *Heap*, and three versions of *Quick". Download is 7.5 kB. Have fun...

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 111 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments

4/10/2007 4:05:50 AMenmity

omg......extremely unique piece;)
(If this comment was disrespectful, please report it.)

 
4/10/2007 11:26:11 AMPaul Bahlawan

That's excellent! It's interesting to see how some algorithms do so much work on data that is already sorted!
(If this comment was disrespectful, please report it.)

 
4/10/2007 3:15:10 PMShark

Ulli, I love it. Very eye catching, informative and well written. 5 Easter Eggs for you! Thanks for another quality post!
(If this comment was disrespectful, please report it.)

 
4/10/2007 5:10:28 PMSteppenwolfe

Well done Ulli. Helps to visualize logic of the algorthms..
(If this comment was disrespectful, please report it.)

 
4/10/2007 5:40:10 PMcarpetboy

5 for originality...


(If this comment was disrespectful, please report it.)

 
4/10/2007 7:51:32 PMTolgahan ALBAYRAK

5 from me.. very original..
(If this comment was disrespectful, please report it.)

 
4/10/2007 8:37:37 PMOption Explicit

Ulli this is great! Against all odds, you managed to make sorting fun (I would have thought that impossible given the inherent dryness of the subject). Thanks for sharing this gem; 5 big heap-sorted Easter Bunny poops for you :D
(If this comment was disrespectful, please report it.)

 
4/10/2007 9:34:07 PMT.Jackson

Extremely novel and very interesting. Take my 5.
(If this comment was disrespectful, please report it.)

 
4/12/2007 1:08:38 PMJohnGalt

Fascinating stuff -- especially good for those of us who approach abstract math and logic with pencil and doodling pad in hand. Thanks!
(If this comment was disrespectful, please report it.)

 
4/13/2007 10:41:05 AMHeriberto Mantilla Santamaria

Very very nice demo and few lines for this my god 5*.
(If this comment was disrespectful, please report it.)

 
5/26/2007 9:54:20 PMdamian

I LOVE IT!!
its soo amusing to watch :)
(If this comment was disrespectful, please report it.)

 
11/23/2009 5:58:35 PMAndrew Quee

Great visualisation - this would be an excellent educational tool for comparing efficiency of the different sorting routines.
(If this comment was disrespectful, please report it.)

 
11/27/2009 5:09:05 PMThePiper

Brilliant! Clean and lean code! Nearly perfect. The Wait procedure should be changed urgently. The slower the speed, the higher the CPU-Load. DoEvents-Loops are good for glowing CPUs and therefore good for the power plants. Tip: Use WaitForSingleObject API instead. Protect the environment and save a lot of money! ;-)
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.