PoissonDiskSampling.jl

N-dimensional Poisson disk sampling for Julia
Author KeitaNakamura
Popularity
4 Stars
Updated Last
4 Months Ago
Started In
October 2022
logo

n-dimensional Poisson disk sampling for Julia

Build Status codecov

Installation

pkg> add PoissonDiskSampling

How to use

See ?PoissonDiskSampling.generate for details.

julia> using PoissonDiskSampling

julia> r = 0.1 # minimum distance between samples

julia> points = PoissonDiskSampling.generate(r, (0,5), (0,3));

julia> typeof(points)
Vector{Tuple{Float64, Float64}} (alias for Array{Tuple{Float64, Float64}, 1})

julia> using Plots

julia> scatter(points)

demo

Required Packages

No packages found.

Used By Packages