Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Over the last months, I have been compiling a list of state of the art in Mandelbrot implementations that run in the browser:

https://github.com/no-gravity/WorldWideMandelbrot

Every solution has its pros and cons. I still have not seen one that allows deep zooms (The parent only allows up to 48x zoom for example), is written in JS (parent is written in Rust and then compiled to JS), is fast, has a UI that nicely works on mobile and allows to save arbitrarely high resolutions. If there is none, I'm planning to write one myself.

Thinking about it, this could also be an interesting test on how far AI has come. When will I be able to hand the above text to an LLM and get out an HTML page with all the code that satisfies the above criteria?



I tried adding deep zoom to mine, https://www.zazow.com but it became way too slow. Arbitrary precision math is just orders of magnitude slower, at least in the way that I understand it. I am not a mathematician.


>When will I be able to hand the above text to an LLM and get out an HTML page with all the code that satisfies the above criteria?

I guess it depends how many humans have done the hard way, so the LLM can rip off their code?


Why not simply keep the list in the README? Wouldn't that be much easier?


Maybe. But this way, the project layout is better suited for future enhancements.


1. "Perfect is the enemy of good."

If the info is intended to be read by humans, keep it in a human-readable format. That way your project is more likely to _have_ a future.

2. Embrace your tooling.

You are keeping it on Github. GH will render Markdown to HTML for you. Use that. Don't keep it in some format it won't render.

3. Choose the right tools.

YAML is for config files. This isn't a config file.

4. Think about what tools you chose and why.

It may be easy to parse YAML with code, but is that significantly different from how easy it is to parse Markdown with code?

Anyway. You do you. I am not telling you what to do or how to do it. I am merely trying to point out flaws with the current approach.


I keep it in Yaml because that makes it easy to build upon it.

For example it lets you easily make your own project based on mine which renders the Yaml file in a way that is suitable for reading. Even if I add more attributes to each entry, your version will always stay user friendly by rendering only the attributes that you deem right for your interface.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: