mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-16 21:58:26 +01:00
rename
This commit is contained in:
parent
0e8b676c09
commit
b0c521f8c1
@ -1,6 +1,6 @@
|
||||
use <_impl/_pp_poisson.scad>
|
||||
use <_impl/_pp_poisson2.scad>
|
||||
|
||||
function pp_poisson(size, r, start, k = 30, seed = undef, history = false) =
|
||||
function pp_poisson2(size, r, start, k = 30, seed = undef, history = false) =
|
||||
let(
|
||||
s = _pp_poisson(sampling(size, r, start, k), is_undef(seed) ? floor(rands(0, 1000, 1)[0]) : seed),
|
||||
samples = [
|
||||
@ -11,11 +11,11 @@ function pp_poisson(size, r, start, k = 30, seed = undef, history = false) =
|
||||
history ? [samples, sampling_history(s)] : samples;
|
||||
|
||||
/*
|
||||
use <pp/pp_poisson.scad>
|
||||
use <pp/pp_poisson2.scad>
|
||||
use <polyline_join.scad>
|
||||
|
||||
|
||||
pts_history = pp_poisson([100, 100], 5, seed = 1, history = true);
|
||||
pts_history = pp_poisson2([100, 100], 5, seed = 1, history = true);
|
||||
for(p = pts_history[0]) {
|
||||
translate(p)
|
||||
circle(1);
|
Loading…
x
Reference in New Issue
Block a user