294

Surreal Cognitive Recursion

Inspired by A. L. Crego (@ALCrego_). A stark monochrome optical surrealism study featuring recursive contemplation silhouettes, an impossible perpetual Escher staircase, rotating thought cogs with optical moiré line hatching, and cascading philosophical spheres in eternal harmonic motion.

Playground
60 FPS Canvas 2D
Click + Drag to interact with field
</>

Full Executable Algorithm Code

// Surreal Cognitive Recursion (experimental)
ctx.fillStyle = 'rgba(6, 8, 12, 0.18)';
ctx.fillRect(0, 0, width, height);

const cx = width * 0.5;
const cy = height * 0.5;
const maxR = Math.min(width, height) * 0.38;
const t = time * 1.2;

ctx.beginPath();
const steps = 360;
for (let i = 0; i <= steps; i++) {
  const phi = (i / steps) * Math.PI * 2;
  const r = maxR * (0.6 + 0.3 * Math.sin(phi * 6 + t * 2) * Math.cos(phi * 4 - t));
  const px = cx + Math.cos(phi) * r;
  const py = cy + Math.sin(phi) * r;
  if (i === 0) ctx.moveTo(px, py);
  else ctx.lineTo(px, py);
}
ctx.closePath();
ctx.strokeStyle = 'hsla(' + ((time * 30 + 195) % 360) + ', 95%, 68%, 0.85)';
ctx.lineWidth = 2.2;
ctx.stroke();
Edit in Interactive Playground Zero Dependencies • Standalone Canvas 2D
ƒ

Mathematical Formulation

high
Analytical Equation
r(θ,s)=R[(sN+tT)mod1]1.6,θs=4πnorm(s)r(\theta, s) = R \cdot \left[\left(\frac{s}{N} + \frac{t}{T}\right) \bmod 1\right]^{1.6}, \quad \theta_s = 4\pi \cdot \text{norm}(s)
Click to expand
Compact Formula
r(s, t) = R * ((s/N + t/T) % 1)^1.6, θ = 4π * norm

Mathematical Tags

#monochrome #surrealism #optical-illusion #loop #escher #ALCrego
Author: A. L. Crego (@ALCrego_) Tribute Target: 60 FPS

Export & Embed: Surreal Cognitive Recursion

4K PNG Snapshot

High-resolution single frame render

WebM Video (5s Loop)

60 FPS browser-captured stream

Standalone JS Script

Complete executable Canvas 2D algorithm

HTML Iframe Embed

<iframe src="https://art.fazleyrabbi.xyz/embed/surreal-cognitive-recursion" width="500" height="500" frameborder="0" loading="lazy"></iframe>
ESC
↑↓ Navigate Select
111 Mathematical Artworks
Made by Fazley Rabbi

Support the Project

Keep mathematical creative coding alive & open source

Or via Direct Payoneer ($0 Fee)
Payoneer Customer ID: $0 Fee Direct
24076084

💡 Payoneer app: Go to Pay → Pay to recipient → Enter ID 24076084.

Thank you for supporting generative mathematical animations! ✨