Skip to content

Instantly share code, notes, and snippets.

View tkarna's full-sized avatar

Tuomas Kärnä tkarna

  • Intel
  • Finland
View GitHub Profile
lc = 1.0/25.0;
Point(1) = {0, 0, 0, lc};
Point(2) = {1, 0, 0, lc};
Point(3) = {1, 1, 0, lc};
Point(4) = {0, 1, 0, lc};
Line(1) = {4, 3};
Line(2) = {3, 2};
Line(3) = {2, 1};
Line(4) = {1, 4};
Line Loop(5) = {1, 2, 3, 4};
@tkarna
tkarna / draw_golden_spiral.py
Created May 14, 2016 15:01
Draw Golden Spiral
"""
Draws Golden Spriral
Adapted from
http://junilyd.github.io/blog/2014/08/13/fibonacci-mystery-pythonified/
Tuomas Karna
2016-05-14
"""
import matplotlib.pyplot as plt