TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

A JavaScript Port of the 1986 Amiga Juggler Raytracer

102 pointsby guru_meditationabout 10 years ago

10 comments

guru_meditationabout 10 years ago
For some context, this was the first raytracer that ran on any personal computer.<p>Some more context here: <a href="http:&#x2F;&#x2F;home.comcast.net&#x2F;~erniew&#x2F;juggler.html" rel="nofollow">http:&#x2F;&#x2F;home.comcast.net&#x2F;~erniew&#x2F;juggler.html</a><p>and a bit more here: <a href="http:&#x2F;&#x2F;www.pouet.net&#x2F;prod.php?which=10776" rel="nofollow">http:&#x2F;&#x2F;www.pouet.net&#x2F;prod.php?which=10776</a><p>The source code is refreshingly simple and easy to read: both the original C code and the ported JS code.
评论 #9351653 未加载
评论 #9352793 未加载
orionblastarabout 10 years ago
The Juggler showed off the Amiga graphic abilities. It is what helped sell some of the 1986 and 1987 Amiga computers.<p>Before that it was a bouncing checkered beach ball. Other computers did their own bouncing ball, but the Amiga could multitask and had multiple bouncing beach balls, each program running on its own. I think you could have multiple jugglers as well.
评论 #9351455 未加载
评论 #9351599 未加载
WhitneyLandabout 10 years ago
It&#x27;s pretty cool to click on the link and be able to run a ray tracer on your phone. Maybe more exciting because you get the drama of it taking a couple seconds to render.<p>Ironic that compute has come so far yet real time movie quality graphics are still only a dream.<p>We have GPU based ray tracing, and if you stuff a 44u rack full of them it becomes more tolerable, but still nothing approaching 24fps for complex scenes and effects,<p>This has a lot to do with the content being more complex compared to say, what was done for a movie like Tron. But it&#x27;s more than that. How many other problem domains could eat 5 orders of magnitude of performance increases and easily make use of it for everyday consumer applications? That still might not even be enough to get us out of the uncanny valley.
peterashfordabout 10 years ago
Heh. I thought it was going to be animated.
szimmer1about 10 years ago
This has nothing to do with the Amiga, but shameless plug for a cool in-browser ray-tracer we made for a school project <a href="http:&#x2F;&#x2F;camargo.github.io&#x2F;tracejs&#x2F;#&#x2F;" rel="nofollow">http:&#x2F;&#x2F;camargo.github.io&#x2F;tracejs&#x2F;#&#x2F;</a><p>Rendering times become exponentially slower with more objects in the scene (100% native Javascript, hence 0 hardware acceleration) but it&#x27;s fun to play with if you&#x27;re in the mood!
评论 #9354702 未加载
TazeTSchnitzelabout 10 years ago
It&#x27;s interesting that they chose to port the source to JS by hand, rather than compiling the C to asm.js with emscripten. It&#x27;d probably have been easier, and the resulting code faster, if this approach was taken.
评论 #9354252 未加载
wisoabout 10 years ago
Multithreaded ray tracing C# version: <a href="https:&#x2F;&#x2F;github.com&#x2F;wieslawsoltes&#x2F;rt" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;wieslawsoltes&#x2F;rt</a>
indypbabout 10 years ago
Project Amiga Juggler: <a href="http:&#x2F;&#x2F;meatfighter.com&#x2F;juggler&#x2F;" rel="nofollow">http:&#x2F;&#x2F;meatfighter.com&#x2F;juggler&#x2F;</a><p>Step by step tutorial in Java.
jherikoabout 10 years ago
i&#x27;m surprised to see so much badness in the original code.<p>it kind of takes away from the rose tinted view i have of the past being dominated by awesome programmers who got the most out of the hardware...
评论 #9351920 未加载
评论 #9352161 未加载
评论 #9352803 未加载
donatjabout 10 years ago
I wish he hadn&#x27;t made so many modifications.