Repotomata.jl
Create an animated gif from a GitHub repository using cellular automata.
Usage
images = repotomata("JuliaLang/Julia")
repotomata("JuliaLang/Julia", output=Repotomata.viewer)
repotomata("JuliaLang/Julia", output=Repotomata.gif, output_path="test.gif")
Read the documentation for more information.
Examples
Julia
repotomata("JuliaLang/Julia", output=Repotomata.gif, output_path="julia.gif")
IJulia
repotomata("JuliaLang/IJulia.jl", output=Repotomata.gif, output_path="ijulia.gif",
epochs=250,
seed_treshold=0.8,
)
React
repotomata("facebook/react", output=Repotomata.gif, output_path="react.gif",
epochs=350,
seed_treshold=0.6,
)
Tensorflow
repotomata("tensorflow/tensorflow", output=Repotomata.gif, output_path="tensorflow.gif",
width=1000,
epochs=200,
seed_treshold=0.56,
)
Django
repotomata("django/django", output=Repotomata.gif, output_path="django.gif",
width=800,
epochs=200,
seed_treshold=0.56,
background_color=RGB(0.90, 0.90, 0.90)
)
FreeCodeCamp
repotomata("freeCodeCamp/freeCodeCamp", output=Repotomata.gif, output_path="freeCodeCamp.gif",
width=800,
epochs=200,
seed_treshold=0.57,
background_color=RGB(0.2, 0.75, 0.30)
)
Rules
New rules can be easily created. See the rules directory for examples
Environment variables
- The GitHub GraphQL api token must be provided in the environment variable
GITHUB_TOKEN
JULIA_NUM_THREADS
can be used to add threads and speed up computations