Author: Darsan Digital

  • Toroidal Geo

    Sophisticated Toroidal Visualizer

    Toroidal Visualizer

    Use your mouse to drag and rotate the object. Scroll to zoom.
  • LOGOrithm Geometry Visualizer

    Sacred Geometry Visualizer
  • Spiraliser

    Complex Function Visualizer

    Complex Function Visualizer

    Drag the indicators on the XY pads to manipulate the complex constants controlling the function $f(z) = z^2 + c + d \cdot z + e \cdot z^3 + f/z$. Observe how the grid transforms and distorts in the complex plane. The colors represent the argument (angle) of the transformed complex numbers.

    Modulate ‘c’ (Real & Imaginary)

    c: 0.00 + 0.00i

    Modulate ‘e’ (Real & Imaginary)

    e: 0.00 + 0.00i

    Modulate ‘d’ (Real & Imaginary)

    d: 0.00 + 0.00i

    Modulate ‘f’ (Real & Imaginary)

    f: 0.00 + 0.00i
    60 BPM
  • Logospy

    Bezier Curve Morphing with Physics
    Morphing a sine wave spiral into a toroidal shape using Bezier curves with subtle physics.
    Speed
    Animation Speed
    Spiral
    Spiral Amplitude (X)
    Spiral Frequency (Y)
  • Bezier Curve Morphing

    Bezier Curve Morphing with Two.js
    Morphing a sine wave spiral into a toroidal shape using Bezier curves.
  • Sophivis

    Interactive Spiral Modulator
    Drag pads to modulate. Export: [Q] 1x | [W] 2x | [E] 4x | [R] 8x
  • redraww

    This is *excellent* information\! Thank you for providing the console error. The error message: `p5.js says: “colorMode” could not be called as a function. Verify whether “p5” has “colorMode” in it and check the spelling, letter-casing (JavaScript is case-sensitive) and its type. Inline Babel script:30 Uncaught TypeError: p5.colorMode is not a function at generateColorPalette (:50:6)` And the second one: `p5.js:59795 Uncaught TypeError: Cannot read properties of undefined (reading ‘split’)` These two errors point directly to the problem: 1. **`p5.colorMode is not a function` in `generateColorPalette`:** This is the core issue. Inside your `generateColorPalette` function, you are trying to call `p5.colorMode(…)`. However, the `p5` object you’re getting from `window.p5` *outside* the sketch’s `setup` and `draw` methods is not the same `p` (the p5 instance) that is passed to `setup` and `draw`. The `p5.colorMode` function (and `p5.color`, `p5.background`, etc.) are *instance methods*. They belong to a specific p5 sketch instance (`p`), not the global `p5` object or class. 2. **`Cannot read properties of undefined (reading ‘split’)`:** This secondary error often arises when p5.js tries to process a color, but the `color` function itself failed because `colorMode` wasn’t set up correctly (or the `p5` object it’s operating on is not a proper instance). When `p5.color` (or `p.color`) doesn’t return a valid color object, subsequent operations on that “undefined” result in this error. —– ### The Solution: Pass the `p` (p5 instance) to `generateColorPalette` To fix this, the `generateColorPalette` function needs access to the specific p5 instance (`p`) that is currently rendering. We’ll modify it to accept `p` as an argument. Here’s the corrected HTML. I’ve reverted the `p.draw` function back to your more complex visuals, but with the fix for `generateColorPalette`. —– “`html Dynamic Visuals Web App
    “`
  • Dynavid

    I completely understand your frustration, and you are absolutely right. My apologies for not delivering on the promise of truly impactful and demonstrable XY pad controls in the previous attempts. That was a significant oversight, and I acknowledge that I haven’t yet showcased the coding skills required for this specific, crucial aspect. You want to see *interesting* things happen, and you want to see them happen *because* you move the XY pads. Consider this a complete reset for the XY pad logic. I will discard the previous, ineffective mappings and rebuild them from the ground up to ensure **immediate, dramatic, and visually captivating effects** directly tied to the XY pad positions. Here’s my renewed commitment and plan for this update: 1. **Direct & Dramatic Impact:** Each XY pad will now directly control a few highly visible and distinct parameters of the animation. The effects will be amplified so there’s no doubt about their influence. 2. **Clearer Mapping:** I will explicitly label what each XY pad controls in the UI and within the code comments, making the connection unambiguous. 3. **LFOs as Modulators:** Instead of LFOs being the primary drivers that are *then* subtly influenced by XY pads, the XY pads will set the *base* values for visual parameters. The LFOs will then act as a layer of *modulation* on top of these base values, adding dynamic flow and life without obscuring the direct XY control. 4. **Enhanced Visuals:** I’ll ensure the base visual elements (spiral, Bezier curves, particles, grid) are designed to react strongly to these new XY mappings. Let’s make these XY pads truly come alive and transform the animation\! —– “`html Dynamic Visuals Web App
    “`
  • Hopper Superwave 3

    Grasshopper Harmonizer Visualizer
    Press P / L for colors | , / . to expand/tighten | QWER for JPEG Output | Mouse to deform | Drag to rotate
  • Hopper Superwave HD2

    Grasshopper Harmonizer Visualizer
    Press P / L for colors | , / . to expand/tighten | QWER for JPEG Output | Mouse to deform | Drag to rotate