VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Voronoi diagrams

by David Rutten (3 Submissions)
Category: Complete Applications
Compatability: VB Script
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (16 Votes)

Exploration of several pixel-based voronoi diagram algorithms. Voronoi diagrams are used to divide space (in this case 2D space) amongst a collection of points.
The application comes with a helpfile.

Inputs
A collection of points and colours
Assumes
This code uses many GDI API calls to draw stuff into device contexes. If you're interested in such things than this might be very useful to you.
Code Returns
A voronoi diagram graphic
API Declarations
Loads of API calls. From the top of my head: MoveToEx, LineTo, Rectangle, CreateCompatibleDC, BitBlt, StretchBlt, TransparantBlt etc.

Rate Voronoi diagrams

Download Voronoi diagrams

Download Voronoi diagrams (328 KB)

Voronoi diagrams Comments

No comments have been posted about Voronoi diagrams. Why not be the first to post a comment about Voronoi diagrams.

Post your comment

Subject:
Message:
0/1000 characters