Trevor L. Davis

Results 124 comments of Trevor L. Davis

* With 9fe7298 if each of a cube's visible faces are hidden by an adjacent cube then cull that cube. * On my machine this brings down the 3D render...

Teun van den Brand writes on Fosstodon (after asked if he was aware of any z-axis examples for `{ggplot2}`): https://fosstodon.org/@teunbrand/112095503185084979 > @trevorld I'm not aware of such examples. The x-...

* `ggplot2::ggplotGrob()` converts a ggplot2 object into a grob (that we can use as a pattern fill) * `g + ggplot2::theme(plot.margin = ggplot2::margin(t=-1, r=-1, b=-1, l=-1, unit="cm"))` can be used...

More on removing margins: https://stackoverflow.com/questions/31254533/when-using-ggplot-in-r-how-do-i-remove-margins-surrounding-the-plot-area such as setting `+ scale_x_continuous(expand=c(0,0)) + scale_y_continuous(expand=c(0,0))`

* An alternative to `systemfonts::glyph_info()` would be to use the functions in https://github.com/yutannihilation/string2path and then re-normalize their x/y calculations

More info on penrose tilings: * https://www.chiark.greenend.org.uk/~sgtatham/quasiblog/aperiodic-tilings/ * https://en.wikipedia.org/wiki/Penrose_tiling

According to William R Chase "poisson disc sampling" works well: * https://github.com/will-r-chase/poissondisc * https://github.com/coolbutuseless/poissoned

Maybe have a "poisson disc" pattern? Then have different "type" patterns?: * Delaunay triangulation * Dirichlet tesselation * KD-tree

I opened a PR in `{mazing}` that would likely make it easier to make a "maze" pattern powered by it: https://github.com/kstreet13/mazing/pull/4

# Contribute pure R version to {argparse} I don't consider a pure R version to be out of scope for `{argparse}`. Just seemed like enough work that I didn't particularly...