Package 'tjart'

Title: TJ's Generative Art
Description: TJ's stumblings in digital and generative art.
Authors: Troy James Palanca [aut, cre]
Maintainer: Troy James Palanca <[email protected]>
License: CC BY 4.0
Version: 0.1.0
Built: 2025-02-22 03:39:45 UTC
Source: https://github.com/tjpalanca/tjart

Help Index


Honeycomb

Description

A hexmap with randomly flashing hexes

Usage

honeycomb(
  hex_size = 50L,
  hex_stroke_width = 6L,
  flash_color = "#008080",
  basis_color = "#DCDCDC",
  flash_duration_secs = 6L,
  flash_interval_secs = 1L,
  ...,
  sizing = htmlwidgets::sizingPolicy(padding = 0)
)

Arguments

hex_size

scale of the hexes. Default is 50.

hex_stroke_width

width of the stroke dividing the hexes

flash_color

hex color of the flashing hexes

basis_color

basic color of the unflashing hexes

flash_duration_secs

seconds duration of the flashing

flash_interval_secs

seconds interval of each trigger

...

passed to r2d3::r2d3()

sizing

sizing policy according to htmlwidgets::sizingPolicy()