Skip to content

Commit

Permalink
Fix image url
Browse files Browse the repository at this point in the history
  • Loading branch information
erikgoe committed Jan 24, 2021
1 parent 23cb123 commit 0b45a2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Original work: https://www.a1k0n.net/2011/07/20/donut-math.html
How long does it take for you to write a terminal program from scratch, which renders the same (or a similar) donut as above? No stackoverflow, no libraries (except terminal IO and trigonometric functions), no other sources. No preparation time. I did not read Andy's blog post before i started, just watched Joma's video. It's only allowed to look up elementary things (like how to clear the terminal window). Use any programming language you want. That said, let's start!

## The result
![The result](https://github.com/erikgoe/TerminalDonutChallenge/result.png "The result")
![The result](https://github.com/erikgoe/TerminalDonutChallenge/blob/main/result.png "The result")

It took me solid 3 hours and 19 minutes to complete the challenge (until the output looked similar to Andy's implementation). Actually I thought it would only take one hour max, but as you probably know time estimation is a major weakness of most (if not all) programmers. Fixing the math and my own mistakes took by far the most time, but tweaking the numbers to match the result was also time-consuming. I am happy with the result now, even if the code is not optimal at all and rather chaotic.

Expand Down

0 comments on commit 0b45a2f

Please sign in to comment.