AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
my first crack at a rayTracer
Translation pending
Developer toolsJavaScript · HTMLGitHub @travis-hortonOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Loading the full README. The saved excerpt is shown below.
rayTracer
my first crack at a rayTracer
Plain JavaScript modules: no build step, nothing to install to run it.
Run it
Browsers only load modules over http, so serve the folder and open the page:
The pieces
• ray-tracer.js — the entry: renderRayTracerInElement(id) draws the picture into the element with that id (this is what travish.com calls)
• lib/render.js — traces one ray per pixel into an RGBA array; needs no browser
• lib/scene.js — the camera, light, background and the four spheres
• lib/sphere.js, lib/vector.js, lib/color.js — the shapes and the math
Test
npm testRead the full README ↗my first crack at a rayTracer
Plain JavaScript modules: no build step, nothing to install to run it.
Browsers only load modules over http, so serve the folder and open the page:
python3 -m http.server 8000
# then open http://localhost:8000
ray-tracer.js — the entry: renderRayTracerInElement(id) draws the picture into the element with that id (this is what travish.com calls)lib/render.js — traces one ray per pixel into an RGBA array; needs no browserlib/scene.js — the camera, light, background and the four sphereslib/sphere.js, lib/vector.js, lib/color.js — the shapes and the mathnpm test
Includes a fingerprint of the whole 800×600 picture, so any change to the image fails the test.