8000 GitHub - thobbs/sway
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

thobbs/sway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sway

A generative art mural design for the GitHub offices in Bellevue, Washington.

This work was inspired by the ecosystems surrounding Bellevue, both aquatic and terrestrial. It is also a reminder that the new digital environments we build for ourselves must be constructed with love and care.

dependencies

To run this project, you'll need the standard setup for Clojure (i.e. the JDK), and specifically the lein build system.

This project utilizes my genartlib libraryand Quil, a Clojure wrapper around Processing. Those dependencies should all be handled automatically by lein.

running

I normally work with the lein repl. From the project directory, run:

lein repl

Once the repl starts up, you can run the code with:

(use 'sway.core)

This will take about a minute to run. Once it has finished, you should see the artwork on your screen and an image saved in the directory.

After making any code changes to dynamic.clj, you can re-run the code by running:

(refresh)

This will result in a new image being saved.

tinkering

To adjust the image size, edit core.clj. Note that any changes to the aspect ratio may result in a different image being generated.

To change the behavior of the algorithm, you'll want to edit dynamic.clj.

If you don't care about matching the original mural image, I recommend switching from having the fixed seed and instead letting (System/nanoTime) be used to pick the seed.

license

Copyright Anticlassic Studios LLC, 2021. All rights reserved.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0