Solar Bubble

No JavaScript at all: a solar system in a glass bubble built from only HTML and CSS, with 3D orbits, planets lit by the Sun in phases, and Saturn's rings.

A frontend app built by Ananda Rizki. More of them at Labs.

Solar Bubble

No JavaScript · only HTML & CSS

Labs — by Ananda Rizki

Solar Bubble

Art

No JavaScript at all: not a single script tag. A solar system in a floating glass bubble, built with nothing but HTML and CSS, with no images, SVG or canvas either. The orbit plane is a real 3D plane, so planets pass in front of and behind the Sun. Each planet turns to face the camera and spins its own gradient-painted surface, and a day/night terminator computed from the orbit geometry keeps it lit from the Sun all the way round: full behind it, a crescent as it swings in front. Saturn's rings hold their attitude in space, the asteroid belt is spokes cut by rings, and even the pause and names toggles are plain checkboxes styled with CSS.

Built with
  • vanilla html/css
Related

Built by Ananda Rizki, a software engineer and designer, one of the small web apps he writes for fun.

Explore more apps on Labs