Skip to content

AtelierArith/RandomLogos.jl

Repository files navigation

RandomLogos.jl Build Status Stable Dev

image

Description

This repository aims to generate fancy fractal objects using an algorithm based on the SVD-based approach for sampling IFS (Iterated Function Systems), as Connor Anderson and Ryan Farrell proposed. While the original authors implemented the algorithm they suggested using Python, our implementation adopts JuliaLang, a JIT-compiled language.

How to use

Install Julia

Let's install JuliaLang v1.9.1 from https://julialang.org/downloads/. Make sure you can execute the julia command in your terminal:

$ date
Fri Jun  9 19:16:08 JST 2023
$ julia --version
1.9.1

Then run the following commands:

$ git clone https://github.com/AtelierArith/RandomLogos.jl.git
$ cd RandomLogos.jl
$ julia --project -e 'using Pkg; Pkg.instantiate()'
$ cat run.jl
using Images
using RandomLogos: render
canvas = render("examples/config_mt.toml")
save("logo.png", canvas)
$ julia --project run.jl
$ ls
logo.png

More examples can be found here