aboutsummaryrefslogtreecommitdiff
path: root/example.jl
diff options
context:
space:
mode:
authorJosh Ott <joshott16@gmail.com>2022-05-16 23:50:43 -0400
committerJosh Ott <joshott16@gmail.com>2022-05-16 23:50:43 -0400
commitd673f11be621544e02501fd9f38718a40183590d (patch)
tree5241faa790d4df57f04f073511053d10213a2e8f /example.jl
parent56fa8b8a06a317704d3199e3ed18ede01ed254c4 (diff)
downloadfourier-d673f11be621544e02501fd9f38718a40183590d.tar.gz
fourier-d673f11be621544e02501fd9f38718a40183590d.zip
Wrote README and added example
Diffstat (limited to 'example.jl')
-rw-r--r--example.jl8
1 files changed, 8 insertions, 0 deletions
diff --git a/example.jl b/example.jl
new file mode 100644
index 0000000..3dd01df
--- /dev/null
+++ b/example.jl
@@ -0,0 +1,8 @@
+cd(@__DIR__)
+include("fourier.jl")
+include("bezier.jl")
+include("animation.jl")
+
+curve = createCurve("graphics/jerma.svg")
+C = calculateCoefficients(curve, 250)
+createVideo(C, "jerma.gif", 400; width=250, n_drawing=2000, fps=30) \ No newline at end of file