Description Usage Details Author(s)
View source: R/codeart_random.R
Create Random Code Art
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | codeart_random(
w = 1200,
h = 1200,
code_lines = 60,
min_segments = 8,
max_segments = 20,
min_segment_length = 15,
max_segment_length = 60,
segment_sep = 20,
line_break_chance = 0.4,
indent_size = 50,
max_indents = 6,
indent_inc_chance = 0.4,
indent_dec_chance = 0.3,
change_chance = 0.4,
cols = NULL
)
|
Inspired by [Eric Davidson](https://github.com/erdavids/Simulated-Code).
David Schoch
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.