Show HN: Names
91–100 of 123 posts
Re: Show HN: Names
#92This would be great for generating avatars from usernames, very cool.
Repeating a string 4 times creates fun patterns with 360, 180 or 90 degree rotational symmetry (modifiable by adding spaces) which make nice looking avatars: "grosegrosegrosegrose" "grose grose grose grose"
Re: Show HN: Names
#93Re: Show HN: Names
#94Earlier quoted context omitted.
Looks like a bug to me.
Definitely not a bug. There is a piece of code in source that looks like this: function rotateLine(position) { if (position halfabet) { context.rotate((90 \* Math.PI) / 180); } else if (position === halfabet) { context.rotate((180 \* Math.PI) / 180); } }
Re: Show HN: Names
#95Re: Show HN: Names
#96Here's a fun one that's too long to print in this comment: https://gist.githubusercontent.com/chrisshroba/6c37c650668f4... And the code used to generate it: First some python to create a qr code from the link and output it as a json list of booleans: import qrcode, json code = qrcode.QRCode() code.add_data('https://youtu.be/dQw4w9WgXcQ') code.make() json.dumps(code.modules) Copy and paste the out into the browser con…
Re: Show HN: Names
#97Hilbert's curve: bbb..d..b..bbb..b..d..bbdb..b..bdbb..b..bbdb..b..f..b..bdbb..b..bbdb..b..bdbb..d..b..bbb..b..d..bbb..d..b..bdbb..b..bbdb..b..d..bbb..d..b..bbb..b..d..bbfbb..d..b..bbb..b..d..bbb..d..b..bdbb..b..bbdb..b..bbb..b..bdbb..b..bbdb..b..d..bbb..d..b..bbb..b..d..bbfbb..d..b..bbb..b..d..bbb..d..b..bdbb..b..bbdb..b..d..bbb..d..b..bbb..b..d..bbdb..b..bdbb..b..bbdb..b..f..b..bdbb..b..bbdb..b..bdbb..d..b..bbb..b..…
Re: Show HN: Names
#98Re: Show HN: Names
#99Here's a fun one that's too long to print in this comment: https://gist.githubusercontent.com/chrisshroba/6c37c650668f4... And the code used to generate it: First some python to create a qr code from the link and output it as a json list of booleans: import qrcode, json code = qrcode.QRCode() code.add_data('https://youtu.be/dQw4w9WgXcQ') code.make() json.dumps(code.modules) Copy and paste the out into the browser con…
For someone on phone, could you show the PNG of what the output is?
Re: Show HN: Names
#100It seems like a lost opportunity not to have diagonal lines.