Show HN: Beautiful interactive explainers generated with Claude Code

(paraschopra.github.io)

40 points | by paraschopra 12 hours ago ago

27 comments

  • datguyfromAT 10 hours ago ago

    Kinda funny, because on the surface it looks really pretty, but if you dig a little deeper the flaws emerge. For example in the llm explainer section 3: king - man + woman = queen. But if I input queen - woman + man = ???

    I guess that is what "one shot" ai generated code gets without any human or even ai review

    • syl5x 10 hours ago ago

      Pretty much, Ive tried the other examples and none of them work

      • paraschopra 10 hours ago ago

        Yeah, that specific one doesn't work so well but apart from it, does any other example not work?

        • kelseydh 8 hours ago ago

          The Fourier transform audio examples fooled me. The example sounds and slider for them appeared consistent as far as I could tell... but then again I don't know much about Fourier transforms.

          Maybe I'm out of the loop but have to say this is the first time I have seen an LLM generate a webpage with working audio widgets.

          • paraschopra 8 hours ago ago

            yep, i was pretty surprised by audio widgets too.

  • webcoon 11 hours ago ago

    Are these animated visualizations in the sky-explainer all original? If so, I am blown away by the visual consistency and meaningfulness of these throughout the article.

    • paraschopra 10 hours ago ago

      Yeah, all of it was done by Opus 4.6

  • lordgrenville 10 hours ago ago

    And as a bonus, sometimes the information is correct!

    • paraschopra 10 hours ago ago

      yes, i noticed that occasionally but i'm curious which one did you find is incorrect?

  • sixtyj 11 hours ago ago

    There was a discussion yesterday that LLM generated “Show HN” posts should be moved to another thread :)

    Nevertheless, it looks nice but I can’t be sure that texts are correct. Did OP check everything because she/he knows deeply the topic?

    Citations give credits to text but can we be sure about them if they are automatically generated? Live links to arXiv or ResearchGate would be much better.

    Graphics and visualisations look great, well done.

    • paraschopra 10 hours ago ago

      I verified the Fourier one and the LLM one. The scaling law one is likely okay too as I long back read the book.

  • Otterly99 9 hours ago ago

    The Fourier transform one is really cool. I loved the 5x oscilloscopes builder and the "draw your own wave" widget. Also, seeing the correlation coefficients of the 3Hz + 7Hz wave was really neat.

  • coulix 11 hours ago ago

    Looking great, how did you standardized animations / canvas work? Did AI help?

  • yu3zhou4 11 hours ago ago

    Please share prompts or md files so we can generate more!

    • paraschopra 10 hours ago ago

      Current prompt is like this:

      I want to build a self-contained html/js/css file explainer page as close as possible to this explainer: https://explainers.blog/posts/why-is-the-sky-blue/

      What I want you to do is this: - Install playwright and chromium headless to take screenshots of https://explainers.blog/posts/why-is-the-sky-blue/ and interact with the page to deeply understand its style, aesthetics, tone, interactivity, visuals, fonts, etc. - Make comprehensive notes of what you observe so you can implement EXACTLY that when building your explainer - Then on the topic provided below plan to build an explainer with similar length, quality, interactivity, writing style, fun, informative as the article given - produce animations in svg (or otherwise) and interactions as necessary. Similar colour scheme but fun/vibrant/happy. Be very very creative. Act like an expert UI/UX designer who can build stunning explainers. Target it for intelligent hacker-news reader. - Get your plan verified by codex - Produce page one small change at a time. Don't output big chunks in one go. But pay extra attention to number of sections and length of the explained. I want it to be as comprehensive as possible (don't skimp on length) - Keep testing what you produce via playwright on chromium headless.

      After you’re finished with index.html, can you check via chromium that all animations, diagrams and interactions that they match with their captions and are visually ok (not too small, large, overlapping, etc.). Sometimes there are factual errors in what the caption or text says and what the diagram suggests.

      Topic: diffusion models from first principles

      • yu3zhou4 7 hours ago ago

        Thank you very much!

  • chinathrow 10 hours ago ago

    One-shot - how did you review that the output is accurate?

    • paraschopra 10 hours ago ago

      I read all of the outputs.

  • maille 11 hours ago ago

    Would make one piece on optical interferometry? Inalways struggle explaining this with simple terms when asked to.

  • verdverm 11 hours ago ago

    Are they accurate? How do you verify?

  • kelseydh 11 hours ago ago

    It's mindblowing while reading this that I had no idea they were LLM generated.

  • energy123 11 hours ago ago

    > Asking CC to verify its plan via codex

    How does this work? You tell it to call `codex exec`?

    • paraschopra 10 hours ago ago

      Yes, the skill is something like the following:

      # Codex Verification Skill

      Use OpenAI Codex as an independent reviewer via `codex exec`.

      ## How to Call Codex

      *Standard pattern with answer extraction:* ```bash CODEX_OUTPUT=$(timeout 120 codex exec '<your prompt here>. Put your complete analysis inside <answer></answer> tags.' 2>/dev/null)

    • verdverm 10 hours ago ago

      In something like ADK, you can have multiple agents and subagents, each can have it's own prompt and model assigned, and they can just do their thing as normal.

      One can always give it the CLI and keys to any service, chat bot or otherwise