Hundreds of particles fall towards the pointer. They swing past, loop back, collide with the walls and settle into orbits that never quite repeat. With a mouse, a click fixes the centre of gravity in place and another click sets it free to follow the pointer again. On a phone or tablet, a tap places the centre of gravity and a drag carries it around.
Ramaparticles began as a BBC BASIC program written many years ago. This new version keeps the original physics and adds trails that fade, a choice of colour schemes, a steady downward pull and the freedom to rewrite the law of gravity itself.
Photosensitivity warning: Ramaparticles shows fast-moving, flashing and pulsing light with bright colour changes. For a small number of people, patterns like these can trigger seizures. Please do not play if you have photosensitive epilepsy, and stop at once if you feel dizzy or unwell.
Ramaparticles shows fast-moving, flashing and pulsing light, with bright colour changes and high-contrast patterns. For a small number of people, patterns like these can trigger seizures, including in people with no history of epilepsy.
Please do not play if you have photosensitive epilepsy. Stop at once and look away if you feel dizzy, notice any change in your vision, or feel twitching or disorientation.
Ways to play
Roll the dice. The dice button creates a random new universe, with its own mix of settings, colours and effects. When one is special, the restart button replays it from the very beginning, and the share button keeps it for good.
Watch it breathe. Leave the pointer still in the middle and let the particles find their own orbits. Turn on fading trails for long, looping light paintings.
Change the universe. The Universe slider sets how quickly gravity weakens with distance. At 2 it follows the inverse square law of our own cosmos. Slide towards 1 and the pull reaches right across the screen, so the particles breathe in and out together. Slide towards 3 and the pull gathers close to the centre, flinging anything that passes near it out towards the walls. Every other setting is a universe that never existed.
Push instead of pull. Repulsion turns gravity inside out and the particles flee to the walls. Switch it back and watch them pour home.
Let it rain. Down adds a steady pull towards the floor. With soft walls the particles pile up, bounce and slosh like water.
Play with light. The Effects panel turns the universe into something new. Kaleidoscope mirrors every movement into a living mandala. Glow lets dense clusters blaze like a nebula. Speed colour shows every slingshot in red-hot colour, Stretch draws particles out like long-exposure photographs, and Twinkle, Colour drift, Constellations and Pulsing each add their own life. Particles can also become squares, stars, hexagons or tiny yin-yang symbols. The effects combine freely, and some combinations are remarkable.
Keep a picture. The camera button saves the screen as a PNG image, ready for a wallpaper or a post. When sharing pictures on social media, please add #ramaparticles, so we can all find each other's universes.
Share a universe. The share button creates a link that carries every setting, so a friend opens exactly the same world.
Keyboard
P or Space to pause, N for a random new universe, B or Esc to restart the current one, R to switch between attraction and repulsion, S and F for slower and faster, T for trails, W for walls, G for the downward pull, U for pulsing, K for the kaleidoscope, H to change shape, + and − to zoom, C to save a screenshot, X to fix or free the centre of gravity, O for settings and Z for full screen.
The Inner-Light edition
Supporters on Patreon can play the enhanced edition, here on this very page once they sign in, with new physics to explore:
Vortex: a twist in gravity that spins the cloud into a spiral galaxy
Breathing gravity: the pull swells and fades in a slow rhythm to breathe along with
Black hole: whatever reaches the centre vanishes and is reborn at the edges
Accretion: particles that touch merge, building planets until only giants remain
Shockwave: a double-click or double-tap blasts a ring of force outwards
Wall sparks: hard impacts with the walls throw off showers of sparks
Inner-Light is £2.10 a month and opens every enhanced app on this very page. Not ready yet? Patreon also has a free tier, so we can follow along at no cost.
Already a supporter? Sign in once and the enhanced edition opens here.
Members of Ramapani on Patreon sign in here once, and the Inner-Light features open on this device. Signing in sets one cookie that keeps us signed in here for thirty days; Sign out removes it (privacy & cookies). Not a member yet? Join on Patreon: there is a free tier, and Inner-Light is £2.10 a month.
One membership. Every enhanced app.
Joining Inner-Light on Patreon and signing in here opens the enhanced edition of Ramaparticles and all 8 other apps below, on their own pages, plus the member downloads, for as long as we stay a member. Radiance, the tier above, adds every retreat in Ramapani Retreats.
🌙DriftAmbient sounds for sleep and relaxationInner-Light: Sleep timer, Evolve, saved mixes and supporter presetsTry it free
🥁TranceShamanic drumming and rhythm journeysInner-Light: 70 extra instruments, every key and 33 world scales, step grid, full sequencer, recording to MP3 and WAVTry it free
🎶ToneMeditation tones and chakra-linked soundInner-Light: More instruments and presets, longer sessions, save and load, Breath ModeTry it free
🎧BeatsBinaural beats for meditation and focusInner-Light: 8 more instruments, 6 noises, 7 effects, every DJ intention, the DJ wake-up call, programmes and moon calendar, recording to MP3 and WAVTry it free
🌬BreatheGuided breathing practices and DJ journeysInner-Light: The trainer for every practice, our own journeys to build, save and share, and changing any DJ setTry it free
☯Oracle of the I ChingA fast, modern I Ching oracleInner-Light: No daily count, and a journal of readingsTry it free
☰RamapanichingCast and read the I ChingInner-Light: Unlimited readings, the Journal, save and export readingsTry it free
this app✨RamaparticlesAn interactive gravity toyInner-Light: Vortex, breathing gravity, black hole, accretion, shockwaves, saved universes
✍Uni-VerseA shared poem, three words a dayInner-Light: Emojis, and saving the whole poemTry it free
🎁Member downloadsFiles for supportersInner-Light: High-resolution phone backgrounds and other downloadsFor members
One sign-in opens every enhanced edition on this device, and nothing about us is kept on the server. Supporting Ramapani keeps the servers running and new features coming. About membership
The original BBC BASIC version
Ramaparticles was first written in BBC BASIC, the language that taught a generation of us to program. The web version on this page is a faithful port of that original, with the same physics at its heart.
The original BBC BASIC version, including the full source code and the executable, is in the member downloads for Inner-Light members. It is a chance to read the program line by line, run it as it first ran and change it for ourselves.
Copy and paste the code below into a web page. The embed carries the settings currently on the screen above, so set up a favourite universe first and the code updates as the sliders move.
Embed code copied.
The embedded version keeps every control, including full screen, settings and share links. The height can be changed to suit the page. The same code is also available from the settings panel under "Copy embed code".