Главная
Study mode:
on
1
Hello!
2
What is a Delaunay triangulation?
3
d3-delaunay package
4
Coding the delaunay triangulation.
5
What is a Voronoi diagram?
6
voronoi function on the delaunay object
7
Things you could try with the Voronoi diagram
8
Lloyd's "relaxation" algorithm
9
Calculate the average of a polygon's vertices
10
Calculate the area of a polygon
11
Calculate the proper centroid of a polygon
12
What is stippling?
13
Draw dots based on brightness value of pixel
14
Calculate a weighted centroid
15
Using delaunay.find
16
Ideas for you to try!
17
Goodbye!
Description:
Explore the artistic technique of weighted Voronoi stippling in this 29-minute coding challenge video. Learn to implement the algorithm using p5.js and the d3.js Delaunay triangulation package. Dive into concepts like Delaunay triangulation, Voronoi diagrams, and Lloyd's relaxation algorithm. Discover how to calculate polygon vertices, areas, and centroids. Apply these techniques to create stippled images based on pixel brightness. Gain hands-on experience with coding examples, including drawing dots, calculating weighted centroids, and using delaunay.find(). Get inspired by various applications and extensions of the technique, with multiple p5.js Web Editor sketches provided for further experimentation.

Weighted Voronoi Stippling Algorithm Implementation - Coding Challenge

Coding Train
Add to list
0:00 / 0:00