Author Archives: julia on Abel Soares Siqueira

Koch snowflakes for the holidays

By: julia on Abel Soares Siqueira

Re-posted from: https://abelsiqueira.com/blog/2018-12-12-koch-snowflakes-for-the-holidays/

Code for these images.

I hope you’re familiar with the Koch curve
fractal or snowflake
.
It essentially consists taking a line segment, splitting it in three, and substituting
the middle part by two segments that form an equilateral triangle without the base.
From one segment you obtain four. For each new segment, repeat the process.

Images:







The most important aspect of the koch line is that it looks awesome. Furthermore, you
can do it for any image that is a collection of segments. In particular, regular
polygons, both outward and inward.

Koch snowflakes for the holidays

By: julia on Abel Soares Siqueira

Re-posted from: https://abelsiqueira.com/blog/2018-12-12-koch-snowflakes-for-the-holidays/

Code for these images.
I hope you’re familiar with the Koch curve fractal or snowflake. It essentially consists taking a line segment, splitting it in three, and substituting the middle part by two segments that form an equilateral triangle without the base. From one segment you obtain four. For each new segment, repeat the process.
Images:
The most important aspect of the koch line is that it looks awesome. Furthermore, you can do it for any image that is a collection of segments.

Package Development in Julia 1.0 using the REPL

By: julia on Abel Soares Siqueira

Re-posted from: https://abelsiqueira.com/blog/2018-12-05-package-development-on-julia-10/

This is a quick post on package development in Julia 1.0. Let me know if you’re
interested in more, and what.

Suppose you’re developing a package – say, MyPackage.jl – whether from scratch, or
updating from Julia 0.6.
First, and foremost, you need to be able to run and test it.
On Julia 1.0, this is one possible way, while using the REPL.

Choose a folder to develop it and create the necessary files