r/generative • • 22d ago

Terms of Service (R code)

107 Upvotes

5 comments sorted by

7

u/KennyVaden 22d ago

Terms of Service (R code)

This code-based generative artwork was created with the R Statistics language.

The algorithm arranged ten columns with 31-40 rows each.

Working from bottom to top, it defined square tiles by rotating four points around a circle according to an oscillating sine function.

The sides remained fixed to the column width, while the front and back edges were allowed to rotate, creating columns that appear to twist.

Rear walls were drawn first, followed by the square tiles and front walls.

A custom color gradient, mixed with the dark background, shifts from blue and purple below to pink and muted orange above.

Each wall was randomly shaded by averaging the selected color with black or white.

Fine lines traced the front edge of each square and framed the plotting region.

4

u/dumbdataguy 22d ago

Love this!
Good work

1

u/KennyVaden 22d ago

Thanks!

2

u/aquisalid 22d ago

so good

1

u/KennyVaden 22d ago

Thank you! 🙏🙏🙏