Skip to content

danieledapo/circle-packing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

circle-packing

Packs circles in a 2D shape using the power of SDFs!

A simple program is provided for experimenting with packing circles in a rectangle with results that someone could define as "pleasing wallpapers".

Here are a couple of examples

$ cargo run --release -- --list-themes
$ cargo run --release -- --min-radius 20 --padding 5
$ cargo run --release -- --min-radius 5  --padding 3 --theme dt08 --no-inside

Also, take a look at the examples for additional functionality the library has, but that's not exposed to the binary.

packed_logo.png packing_no_inside.png packing.png

About

dead simple circle packing algorithm

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages