You are browsing as a guest. Sign up (or log in) to start making projects!

My very own WebOS

  • 3 Devlogs
  • 3 Total hours

A quantum themed os made by me!

Ship #1

RishavOS is a quantum research WebOS I built in a single HTML file. It has three draggable windows — a Superposition launcher with an animated RN black hole in the background, a terminal where you can type rn 0.95 and get live κ, T_H and C(κ) from my actual paper's formulas, and a quantum clock. The unique feature is the decoherence particle system on the desktop — particles exist in superposition with ghost states drifting around them, click the desktop and they collapse, coherence drops to 0 and recovers over 3 seconds, same physics as my ISEF research. Hardest part was a duplicate variable declaration in the drag function that silently killed all JS — windows rendered but nothing worked. To test: type help in the terminal, try rn 0.99, drag windows from the titlebar, click the desktop to collapse particles.

Try project → See source code →
Open comments for this post

41m 39s logged

DEVLOG #3 — JS, debugging, and deployment
wrote all the JavaScript today. boot sequence, particle system, black hole canvas, terminal, clock, and window management — drag, resize, focus, minimize, maximize, hide.
hit a critical bug almost immediately after merging the JS. duplicate sx and sy declarations inside the drag() function — syntax error that silently killed every line of JS after it. windows rendered but nothing was interactive. took a while to spot because there was no console error thrown at the right line.
fixed that along with a handful of other issues: font-weigh missing the t so the boot title wasn’t bold, .tb-icon.hover was a class selector instead of a pseudo-class so taskbar hover never fired, .dot-x was missing the dot chaining so the green maximize button didn’t work, border-class typo in the cyan badge CSS, nested .dots div inside another .dots div in the clock window breaking the titlebar structure entirely, and the canvas id was particle in the HTML but particles in the JS so the particle system never initialized.
after fixing all that, deployed to Vercel. got a 404. the file was named RishavOS.html and Vercel looks for index.html at root by default. renamed the file and pushed again — deployed clean.
live at rishav-os.vercel.app.

0

Loading discussion…

0
1
Open comments for this post

1h 4m 32s logged

DEVLOG #2 — structure, styling, windowsgot the full HTML skeleton done today. no JS yet — just structure and CSS.started with the CSS variables. dark space palette — #03040a background, cyan #00d4ff, gold #f5c842, violet #a259ff. JetBrains Mono for everything terminal-facing, Space Grotesk for UI. both from Google Fonts.laid out the core systems: particle canvas fixed behind everything at z-index 0, desktop layer above it, taskbar pinned to the bottom with backdrop blur. window class with focused state (cyan border glow), hidden state, draggable titlebar, resize handle at bottom-right.boot screen CSS done — the big “RishavOS” title in cyan, loading bar that transitions from cyan to violet, status message underneath.then the three windows in HTML: Superposition launcher with the black hole canvas behind the content, terminal with input row, quantum clock. taskbar has icons for all three with the active dot indicator underneath.from the screenshot — windows are rendering but sitting center-screen stacked. positioning is off because the JS for drag/focus/layout hasn’t been written yet. that’s next session.what’s left: all the JS. boot animation, particle decoherence system, black hole canvas, window drag + resize + focus, terminal commands, clock ticker.

0

Loading discussion…

0
1
Open comments for this post

1h 2m 51s logged

DEVLOG #1 — boot, windows, particles
started from scratch today. single HTML file, no frameworks.
got the boot sequence working first — loading bar, status messages cycling through kernel init to desktop ready. takes about a second. sets the tone.
draggable windows next. three of them: Superposition launcher, a quantum terminal, and a clock widget. all drag, all resize from the bottom-right corner. window focus works — clicking a window brings it to front, title bar gets a cyan glow.
the thing i’m most happy with: the decoherence particle system on the desktop background. particles render in superposition — each one has two ghost positions offset from its core, connected by faint lines. they drift. click the desktop or hit the observe button on the clock and they collapse — ghosts vanish, coherence bar drops to 0%, then slowly recohere over a few seconds. the mechanic is trivial to implement but it’s the exact physics from the research. didn’t plan it that way. just followed the concept.
terminal is functional. rn 0.95 computes κ, T_H, and C(κ) live from the actual paper formulas (L = 2.1895×10⁻⁴). decoherence prints the scaling table. paper shows the DOI and key result.

0

Loading discussion…

0
1

Followers

Loading…