Category: ThreeJS

  • The Chaos Sphere Generator

    The Chaos Sphere Generator

    See it live: https://caostar.com/sphere

    The Chaos Sphere Generator is a browser-based studio for designing, animating, and 3D-printing chaos spheres, the three-dimensional evolution of the classic Chaos Star.

    It’s completely free, runs entirely in your browser with nothing to install, and anything you upload stays on your device.

    Ever since I published the Chaos Star Generator back in 2013, I’d been thinking about the challenges of building a Chaos Sphere Generator. If you dig through my articles from back then, you can see my early 3D explorations.

    It started with discovering that the angle between a chaos sphere’s arrows is what science literally calls the Magic Angle. Which led me to incorporate the Chaos Mudra into my practice. Then I learned how to procedurally generate chaos spheres, tripped on them, and eventually hit the bugs that changed the way I see the symbol itself.

    Hundreds of chaos spheres scattered through space in Trip mode
    500 Chaos Spheres in Trip Mode

    Then I went on a hiatus, with my attention more focused on my sex magic path. Until AI came into the picture. For someone like me, with solid programming experience and a good grasp of software architecture, AI coding works very well: I know how it should be done, and I can guide the stupid (but powerful) models to do the heavy lifting for me.

    So this year I went on a roll. I finally launched the Chaos Follows You experiment. I completely revamped the Chaos Star Generator. I built a website to host my art. And now: the Chaos Sphere Generator.

    I wanted an app where I could design chaos spheres, so I packed in all the features I’d always wanted.

    • Control every aspect of the shape: sphere, shafts, and cones.
    • Dress the material however you like: solid colors, amazing shaders, media (images, GIFs, videos. Yes, I know what you are thinking: you can use porn as a chaos sphere texture), or design a sigil on the fly.
    • Highly realistic material presets.
    • Eerie environments, including an amazing Chaos Magic Temple.
    A chaos sphere inside an eerie environment
    • Random generation, one design or an endless stream, via “Inspire me randomly” or the “Surprise me” trip.
    “Surprise me” trip mode
    • Export your chaos sphere as an image or a 3D model, including watertight, print-ready STL/3MF files you can send straight to your favorite 3D printer.
    • All of it shareable with links that land on the exact same design or trip you created (as you can see from the many links in this article). The only exceptions are your custom textures and sigils: nothing of yours is ever saved, and it never travels with the shared links. It does work locally and persists across browser refreshes, though.

    About the Sigil texture mode: a built-in canvas editor for designing your own sigil. The 2:1 canvas uses the correct equirectangular ratio, so a pixel-circle drawn at the center projects as a true circle on the sphere’s face. The “Optimal Sigil Area” hairline shows where to place content so it lands centered on the front face. The sigil and the editor state both persist locally, and a “Download Sigil” button gives you a 1200 × 600 PNG. Combine this with the 3D Thrower motion in Trip mode (especially if you activate 3D glasses mode) and you have a powerful sigil charger.

    Animated chaos spheres flying toward the viewer while charging a sigil
    Charging sigils with Chaos Spheres flying into your face.

    Go make one: roll the dice with Inspire me randomly, charge a sigil, or drop in your own image. Then share the link and see where chaos takes you. caostar.com/sphere

  • The n-dimensional Chaos Sphere

    The n-dimensional Chaos Sphere

    This idea came to me while I was developing the Chaos Sphere Trip. For some reason, the x, y, and z positions got misaligned, and this little beauty appeared on my screen. I was mesmerized for a while, just watching it, until I realized that I had finally understood a vision from an old friend.

    A couple of years ago, a fellow frater came to one of our meetings, excited about a vision he had: a Chaos Sphere with several arrows. He said there were fourteen arrows, but then added, “That’s just how I see it—actually, it seems to have infinite arrows.” Inspired by the vision, he couldn’t stop talking about its meaning: “Freedom in all dimensions, beyond our simple three-dimensional comprehension.”

    With these words in mind, I believe I am finally clarifying his vision. Back then, it felt like a bit too much to take in all at once. He didn’t have the ability to “transmit the vision” clearly, if you know what I mean. But it planted a seed in my mind—a seed that has now blossomed into the n-dimensional Chaos Sphere.

    I’ve been meditating on this for a while now. Since its behavior is entirely shaped by randomness—a “code coincidence”—anything that emerges from it can be interpreted in an oracular way.

    It may look chaotic at first, but, like chaos itself, sometimes it reveals its hidden order, making you feel as though some “will” is guiding it.

    See for yourself (and then reload the page for a bit of randomness).

     

  • A Chaos Sphere trip

    A Chaos Sphere trip

    I’ve finally managed to create an interactive visualization of what happens inside my mind during deep meditations. It’s a very pleasant Chaos Sphere trip. I start to see thousands of them, and it feels like every atom of reality is, in fact, a Chaos Sphere.

    Now that I’ve developed this, I’m using it as a form of “reverse mind engineering.” Instead of meditating for hours to reach the mental state where I can see this, I can now simply watch it unfold on a large TV screen, which makes it much easier to access that state of mind. It’s incredibly interesting. For me, it’s like I’ve “stolen fire from heaven” because now I can just turn on my computer and see things that were once only visible in the realms of deep trance.

    I’m using the Three.js framework to build the 3D environment. I’ve only just started studying it, but I’m really enjoying it so far. The fact that you don’t have to compile anything is a blessing—just save it, and it’s done. It all runs in the browser (for WebGL-enabled browsers, of course), with no plugins required.

    After discovering the Magic Chaos Angle, I created a method for building Chaos Spheres: https://caostar.com/3d/js/custom/chaosphere.js
    It’s still just a scratch, but with this, you can generate a Chaos Sphere inside Three.js as easily as this:

    var newChaosSphere = createChaosSphere();

    I’ll be updating the JS file above with improvements over time.

    Click here to trip for yourself (and then reload the page for a bit of randomness).