NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Celtic Code: Drawing Knots with Python (2earth.github.io)
HansardExpert 14 days ago [-]
A web app that uses Python to create Celtic knots and it's really fun!
xnx 23 minutes ago [-]
Looks neat. Might be worth constraining the inputs. I got an error at 200x200:

  Uncaught PythonError: Traceback (most recent call last):
  File "<exec>", line 22, in resetKnot
  File "<exec>", line 473, in generateKnot
  File "/lib/python3.12/site-packages/PIL/Image.py", line 2941, in new
    return im._new(core.fill(mode, size, color))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
MemoryError
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 14:59:21 GMT+0000 (Coordinated Universal Time) with Vercel.