[HN Gopher] Drawing hat tiling using Racket
___________________________________________________________________
Drawing hat tiling using Racket
Author : g0xA52A2A
Score : 45 points
Date : 2023-09-23 06:51 UTC (3 days ago)
(HTM) web link (rdivyanshu.github.io)
(TXT) w3m dump (rdivyanshu.github.io)
| mark_l_watson wrote:
| Nice!! The Racket code is clean and easy to read. I have never
| tried doing graphics with Racket but I might try it. (I am
| currently writing a Racket book: "Practical Artificial
| Intelligence Development With Racket". The examples will be very
| similar to those in my Common Lisp book, but written from scratch
| in Racket.)
| duck wrote:
| Looking forward to that book! Will it be on
| https://leanpub.com/u/markwatson?
| slowmovintarget wrote:
| It's that Hat.
|
| (Polygon that can tile a plain without ever repeating.)
| sillysaurusx wrote:
| Indeed. I've been seeing it everywhere.
|
| The backstory of the Hat is way cool -- it was discovered by a
| hobbyist: https://www.snexplores.org/article/einstein-vampire-
| tile-sha...
|
| Fun fact: if you use it when writing f-hat, g-hat, etc, your
| equations will all fit together in a visually pleasing way.
| (But watch out; you'll never be able to diagonalize them!)
| kubb wrote:
| The code is very clean, much cleaner than it could be in the "top
| 10" languages.
|
| Each of those has one or other repetitive idiosyncratic syntax or
| constructs that you can't do away with, and it becomes an endless
| source of frustration if you're like me and bang out several
| thousand lines per week.
___________________________________________________________________
(page generated 2023-09-26 23:01 UTC)