I successfully recreated the 1996 Space Jam website with Claude
Posted by theahura 1 day ago
Recent and related: I failed to recreate the 1996 Space Jam website with Claude - https://news.ycombinator.com/item?id=46183294 (430 comments)
Comments
Comment by johnfn 1 day ago
I couldn’t understand why it had happened - it felt about as logical to my mind as writing a comment that Rust was faster than Node. I feel there is a strong anti-AI sentiment here, to the point that people will ignore evidence presented directly to them.
Personal vendetta aside, I enjoyed this post! You had some clever tricks I wouldn’t have considered. In fact, the idea of producing a pixel diff as output was particularly imaginative. And the bit about autoformalization definitely hits on something I’ve been feeling when working with AI recently.
EDIT: I notice my comment yesterday is in the positives. Please don’t vote it up. That was not my intention here.
Comment by simlevesque 1 day ago
Comment by DANmode 1 day ago
Comment by ls-a 1 day ago
Comment by johnfn 1 day ago
Comment by socalgal2 1 day ago
Comment by johnfn 1 day ago
Is there another definition of "one-shot" I'm not aware of?
Comment by socalgal2 1 day ago
If you throw 4 basketballs at a hoop and only the 4th one makes it in, that's not "one-shot". It's 4.
Your definition appears to be, after many failed attempts, a single prompt that gets the AI to complete the task was found. You called that "one-shot" but what really happened is there were several "shots" that failed.
Comment by johnfn 1 day ago
You appear to be extending the definition of "one-shot" to "an LLM should be able to accomplish anything no matter how poorly it was prompted", which is, I hope you can agree, not very reasonable. It's certainly not something I would be arguing in favor of.
Comment by socalgal2 1 day ago
Comment by johnfn 1 day ago
Comment by bdangubic 1 day ago
Comment by tapoxi 1 day ago
Comment by ls-a 1 day ago
Yeah not to mention setting up additional tooling
Comment by theahura 1 day ago
Comment by stanac 1 day ago
Comment by eCa 1 day ago
”The quality that makes you go to great effort to reduce overall energy expenditure. It makes you write labor-saving programs that other people will find useful and document what you wrote so you don't have to answer so many questions about it.”
Comment by fluidcruft 1 day ago
Comment by jack_h 1 day ago
Comment by godelski 1 day ago
One example of this is I might like a conversation that's responding to a comment I don't like. But it's a common misunderstanding so I want the conversation to be boosted. Therefore I upvote the comment I disagree with because it's parent to the comments I want to be more visible.
I don't think I'm the only one that does this on HN. And I think doing this can help reduce the repeated comments. In the above example an early common misconception might get downvoted, not seen by others, and then repeated by some, where it can then rise because it's seen by a different subset.
Anyways, I don't think people should vote strictly on agree/disagree
Comment by gaigalas 1 day ago
Go ahead, turn on the Web Inspector, and remove the body background:
Comment by Tiberium 1 day ago
> So it kind of cheated, though it clearly felt angst about it. After trying a few ways to get the stars to line up perfectly, it just gave up and copied the screenshot in as the background image, then overlaid the rest of the HTML elements on top.
Comment by Palmik 1 day ago
Comment by Ukv 1 day ago
But I feel it'd make more sense to just retake the screenshot properly and see if it can create a pixel-perfect replica.
Comment by gaigalas 1 day ago
Aside from that, I think it's a joke. Like the value of pi example I gave in the other comment. If it's not, it is really just sad.
Comment by theahura 1 day ago
Comment by gaigalas 1 day ago
---
> Make me a python script that calculates the value of PI
```python
print("3.1415")
```
"I think it's passable!" <--- The joke
---
If it's not a joke, then it's just sad.
Comment by johnfn 1 day ago
Comment by gaigalas 1 day ago
I would have accepted `22/7`.
Comment by theahura 1 day ago
Second, the original post was obviously about the placement of the buttons on the space jam website.
Third, I spend at least half the blog post responding to the exact complaint you have. If you do not have more to add beyond pointing out that the 'hack' exists, you aren't adding to the conversation.
Fourth, the blog post and the repo has a version that does not include the screenshot and actually tiles the gif.
I'm still convinced you haven't actually read the blog post because you have shown zero indication that you are engaging with the material. In which case, why even bother commenting?
Comment by gaigalas 1 day ago
The original Space Jam website is fluid (it's 90s lingo for responsive).
It is also a still relevant website because it is a living fossil of that era's way of doing webdesign.
Asking to recreate it, should include those aspects (epoch-relevant technical achievements such as fluid layouts) and faithfulness to the original implementation.
I'm not saying that Claude should know that out of the box (it would have been impressive if it did), but the prompt should have included those ideas.
A modern reconstruction in CSS3, in contrast to a faithful reproduction, should have mirrored what the techniques accomplished with modern tools. It would be useful in a sense of showcasing how CSS3 evolved, it would have a purpose.
Do you understand why this is not passable? It has no value as a recreation.
Comment by jayd16 1 day ago
Comment by johnfn 1 day ago
Comment by jayd16 1 day ago
Then you undercut the advice by adding "I've always wondered if <confident suggestion> would work", making it unclear how much of the advice is a shot in the dark and how much you've actually seen results from that advice.
Claims like "you might even one shot it" also make it seem like simple hype and not the war story of someone who's actually taken the advice.
But you know, people are down voting me for engaging with your question as well so I don't know. Maybe it's all bots these days :p
Comment by johnfn 1 day ago
Comment by kcatskcolbdi 1 day ago
Comment by Aldipower 1 day ago
Comment by johnfn 1 day ago
Comment by Aldipower 1 day ago
Comment by theahura 1 day ago
Comment by dingnuts 1 day ago
Comment by johnfn 1 day ago
Do we really need another post where I time how long it takes to prompt Claude to create the Space Jam website?
Comment by theahura 1 day ago
Initial prompt:
> I am giving you:
> 1. A full screenshot of the Space Jam 1996 landing page (screenshot.png)
> 2. A directory of raw image assets extracted from the original site (files/)
> Your job is to recreate the landing page as faithfully as possible, matching the screenshot exactly.
> Use the webapp-testing skill. Take screenshots and compare against the original. <required>You must be pixel perfect.</required>
plan response:
> they should all go to tilework.tech
> exact screenshot dimensions
which is 75 words
Comment by Aldipower 1 day ago
As a developer, I naturally prefer the former over the latter, as this becomes general programming knowledge that I can benefit from in later projects.
BTW one of the creators of the Space Jam Website left a comment on the blog post: " Sebastien Derenoncourt 20m
I must say as a person who worked on that original website, I am confused why you needed claude to do so much basic HTML/css we didn't even use tons of complex CSS until much later in time... "
Comment by johnfn 1 day ago
Comment by Aldipower 1 day ago
And after I have seen the final result coming from Claude, which is linked now in the blog post, I must say, recreation not completed! A lot of things are missing, proper zoom behavior, window resize, correct center aligned positioning. So what's the point here anyway?
Comment by johnfn 1 day ago
You are repeatedly trying to change the criteria to be different than what it contextually was. "It's not a perfect solution because as a developer I would not get benefit from this." "It's not a perfect solution because it doesn't handle <thing which was never enumerated as a success criteria>". None of that was a topic in the original blog post.
You can make another blog post, if you like, about how Claude can't handle proper zoom when creating the Space Jam website. My guess is someone will one-shot that too.
Comment by fluidcruft 1 day ago
https://news.ycombinator.com/threads?id=fluidcruft#46185996
(One fun wrinkle I enjoyed watching was I created the target screenshot in Firefox, and Claude was using playwright with Chrome. Ultimately, I have no idea whether either Firefox or Chrome has the correct actual fonts and I'm not a webdev and don't remember how to figure that all out)
Comment by fluidcruft 1 day ago
Comment by BearOso 1 day ago
Comment by gnabgib 1 day ago
Comment by thecr0w 1 day ago
Comment by fluidcruft 1 day ago
Comment by jfindper 1 day ago
Comment by fluidcruft 1 day ago
So it kind of cheated, though it clearly felt angst about
it. After trying a few ways to get the stars to line up
perfectly, it just gave up and copied the screenshot in
as the background image, then overlaid the rest of the
HTML elements on top.
Which is only "kind of" cheating if only the background was wrong. Everything being invisible and in the wrong spot doesn't seem like merely "kind of" cheating. You didn't come anywhere close to addressing the problem that the original post was about.Comment by jfindper 1 day ago
>What you wrote was: [...]
>You didn't [...]
It's not my post.
Comment by fluidcruft 1 day ago
Comment by thecr0w 1 day ago
Comment by Ukv 1 day ago
The version with the screenshot as a background is where it was asked to create an exact match for screenshot that had been scaled/compressed, which isn't really possible any other way. The article acknowledges this one as cheating.
Better I think would've been to retake the screenshot without the scaling/compression, to see if it can create a site that is both an exact match and using the original assets.
Comment by godelski 1 day ago
Comment by taejavu 1 day ago
Comment by Aldipower 1 day ago
Comment by QuantumNomad_ 1 day ago
I successfully recreated the 1996 Space Jam website twice, without using any LLMs
:p
Comment by Philpax 1 day ago
Comment by daemonologist 1 day ago
Comment by Aldipower 1 day ago
Comment by tclancy 1 day ago
Oh yeah, and no cheating and using CSS.
Comment by skeeter2020 1 day ago
This makes zero sense from a preservation perspective, and basic logic follows that if you wait it will be easier to recreate it when and if you actually need it for some reason.
Comment by internetter 1 day ago
Comment by theahura 1 day ago
The site claude made is live on github pages now too, enjoy
Comment by Aldipower 1 day ago
Comment by Ukv 1 day ago
> The screenshot shows viewport-specific positioning - should we match at a specific viewport size or make it responsive?
And the author responded:
> exact screenshot dimensions
So it's only intended to replicate the screenshot, but I do agree that making it center/zoom properly would've been more interesting.
Comment by internetter 1 day ago
Comment by layer8 1 day ago
Comment by cainxinth 1 day ago
Extremely important to remember when using LLMs.
Comment by xnx 1 day ago
Comment by bethekidyouwant 1 day ago
Comment by theahura 1 day ago
Comment by DANmode 1 day ago
No reason you can’t ask them to make their own living summaries of what they’ve done, tried and not gotten done, etc - for another instance of “themselves”, another agent.
Comment by nostrebored 1 day ago
Comment by simojo 1 day ago
Comment by verdverm 1 day ago
Comment by toroszo 1 day ago
is this a joke?
Comment by theahura 1 day ago
Comment by toroszo 1 day ago
Comment by fluidcruft 1 day ago
On the plus side, it does somewhat explain the weird patterns in his diff image which I had been puzzling over.
Comment by Ukv 1 day ago
The index_tiled.html version later in the article is what justifies the success claim IMO, and is the version I think it would've made more sense to host.
The currently hosted index.html just feels like a consequence of the author taking a scaled/compressed screenshot and asking Claude to produce an exact match.