Skip to content

Slime Mold Intelligence Card

A slow-moving, vein-like slime mold that actively explores the card. Its tendrils reach toward content clusters. Hover warms an area, attracting the mold to investigate. Clicking places a food source that the mold gradually optimizes its network to connect. Over multiple visits, the mold forms an efficient, beautiful network reflecting the user's unique interaction paths.

Slime Mold Intelligence Card

by FreeCsStyles Dev's

CardsOrganic Morph
🌐🎨⚛️💚🅰️🔥☁️
#slime mold#physarum#network#pathfinding#organic computing#vein#optimization#biological#intelligence

Embed this component

Paste this snippet into any site — the design renders in a sandboxed iframe served from /embed/slime-mold-intelligence-card.

<iframe src="/embed/slime-mold-intelligence-card" sandbox="allow-scripts" loading="lazy" title="Slime Mold Intelligence Card" style="border:0;width:100%;height:480px;overflow:hidden"></iframe>

Implementation code

Copy the HTML and CSS for Slime Mold Intelligence Card, or grab a framework-specific implementation. The HTML and CSS variants are self-contained; framework variants assume that framework's project setup.

HTML
<div class="slime-card">
  <svg class="slime-svg" viewBox="0 0 100 100">
    <line x1="50" y1="45" x2="25" y2="25" stroke="rgba(251,191,36,0.15)" stroke-width="0.8"/>
    <line x1="50" y1="45" x2="75" y2="25" stroke="rgba(251,191,36,0.15)" stroke-width="0.8"/>
    <line x1="50" y1="45" x2="35" y2="55" stroke="rgba(251,191,36,0.12)" stroke-width="0.6"/>
    <line x1="50" y1="45" x2="65" y2="55" stroke="rgba(251,191,36,0.12)" stroke-width="0.6"/>
  </svg>
  <div class="slime-nodes">
    <div class="slime-node" style="left:50%;top:45%"></div>
  </div>
  <div class="slime-content">
    <div class="slime-header">
      <div><div class="slime-title">Physarum Polycephalum</div><div class="slime-sub">Cellular Biologist</div></div>
      <div class="slime-status">EXPLORE</div>
    </div>
    <div class="slime-grid">
      <div class="slime-stat"><div class="slime-stat-val">5</div><div class="slime-stat-lbl">Nodes</div></div>
      <div class="slime-stat"><div class="slime-stat-val">0</div><div class="slime-stat-lbl">Food</div></div>
    </div>
    <div class="slime-hint">[▼ click to place food]</div>
  </div>
</div>
<style>
.slime-card { position: relative; width: 220px; min-height: 300px; border-radius: 16px; overflow: hidden; background: linear-gradient(160deg, #0a0a06, #060604); border: 1.5px solid rgba(251,191,36,0.08); box-shadow: 0 10px 30px rgba(0,0,0,0.3); cursor: pointer; }
.slime-card:hover { box-shadow: 0 0 30px rgba(251,191,36,0.08), 0 15px 40px rgba(0,0,0,0.4); }
.slime-svg { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0.5; }
.slime-nodes { position: absolute; top: 5%; left: 5%; width: 90%; height: 55%; pointer-events: none; z-index: 3; }
.slime-node { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: rgba(251,191,36,0.3); border: 1px solid rgba(251,191,36,0.15); transform: translate(-50%,-50%); }
.slime-content { position: absolute; inset-x: 0; bottom: 0; z-index: 10; padding: 20px; background: linear-gradient(0deg, rgba(0,0,0,0.5), transparent); }
.slime-header { display: flex; justify-content: space-between; align-items: center; }
.slime-title { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.9); }
.slime-sub { font-size: 9px; color: rgba(251,191,36,0.44); }
.slime-status { padding: 2px 8px; border-radius: 2px; font-size: 7px; font-weight: 700; letter-spacing: 0.1em; color: #fbbf24; background: rgba(251,191,36,0.08); border: 1px solid rgba(251,191,36,0.12); }
.slime-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.slime-stat { text-align: center; padding: 6px 4px; border-radius: 8px; background: rgba(251,191,36,0.02); border: 1px solid rgba(251,191,36,0.04); }
.slime-stat-val { font-size: 10px; font-weight: 600; color: #fbbf24; }
.slime-stat-lbl { font-size: 7px; margin-top: 2px; color: rgba(255,255,255,0.2); }
.slime-hint { text-align: center; font-size: 7px; font-family: monospace; color: rgba(251,191,36,0.2); }</style>
CSS
.slime-card { position: relative; width: 220px; min-height: 300px; border-radius: 16px; overflow: hidden; background: linear-gradient(160deg, #0a0a06, #060604); border: 1.5px solid rgba(251,191,36,0.08); box-shadow: 0 10px 30px rgba(0,0,0,0.3); cursor: pointer; }
.slime-card:hover { box-shadow: 0 0 30px rgba(251,191,36,0.08), 0 15px 40px rgba(0,0,0,0.4); }
.slime-svg { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0.5; }
.slime-nodes { position: absolute; top: 5%; left: 5%; width: 90%; height: 55%; pointer-events: none; z-index: 3; }
.slime-node { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: rgba(251,191,36,0.3); border: 1px solid rgba(251,191,36,0.15); transform: translate(-50%,-50%); }
.slime-content { position: absolute; inset-x: 0; bottom: 0; z-index: 10; padding: 20px; background: linear-gradient(0deg, rgba(0,0,0,0.5), transparent); }
.slime-header { display: flex; justify-content: space-between; align-items: center; }
.slime-title { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.9); }
.slime-sub { font-size: 9px; color: rgba(251,191,36,0.44); }
.slime-status { padding: 2px 8px; border-radius: 2px; font-size: 7px; font-weight: 700; letter-spacing: 0.1em; color: #fbbf24; background: rgba(251,191,36,0.08); border: 1px solid rgba(251,191,36,0.12); }
.slime-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.slime-stat { text-align: center; padding: 6px 4px; border-radius: 8px; background: rgba(251,191,36,0.02); border: 1px solid rgba(251,191,36,0.04); }
.slime-stat-val { font-size: 10px; font-weight: 600; color: #fbbf24; }
.slime-stat-lbl { font-size: 7px; margin-top: 2px; color: rgba(255,255,255,0.2); }
.slime-hint { text-align: center; font-size: 7px; font-family: monospace; color: rgba(251,191,36,0.2); }
Tailwind CSS
<div class="group relative w-[220px] min-h-[300px] rounded-2xl overflow-hidden border border-amber-400/20 shadow-lg group-hover:shadow-[0_0_30px_rgba(251,191,36,0.08),0_15px_40px_rgba(0,0,0,0.4)] bg-gradient-to-b from-[#0a0a06] to-[#060604] cursor-pointer">
  <svg class="absolute inset-0 z-[2] pointer-events-none opacity-50" viewBox="0 0 100 100">
    <line x1="50" y1="45" x2="25" y2="25" stroke="rgba(251,191,36,0.15)" stroke-width="0.8"/>
    <line x1="50" y1="45" x2="75" y2="25" stroke="rgba(251,191,36,0.15)" stroke-width="0.8"/>
    <line x1="50" y1="45" x2="35" y2="55" stroke="rgba(251,191,36,0.12)" stroke-width="0.6"/>
    <line x1="50" y1="45" x2="65" y2="55" stroke="rgba(251,191,36,0.12)" stroke-width="0.6"/>
  </svg>
  <div class="absolute inset-x-0 bottom-0 z-10 p-5 space-y-2 bg-gradient-to-t from-black/50 to-transparent">
    <div class="flex items-center justify-between">
      <div><p class="text-sm font-bold text-white/90">Physarum Polycephalum</p><p class="text-[9px] text-amber-400/50">Cellular Biologist</p></div>
      <div class="px-2 py-0.5 rounded-sm text-[7px] font-bold tracking-widest text-amber-400 bg-amber-500/10 border border-amber-500/20">EXPLORE</div>
    </div>
    <div class="h-px bg-gradient-to-r from-transparent via-amber-500/10 to-transparent"></div>
    <div class="grid grid-cols-2 gap-2">
      <div class="text-center py-1.5 rounded-lg bg-amber-500/10 border border-amber-500/20"><p class="text-[10px] font-semibold text-amber-400">5</p><p class="text-[7px] mt-0.5 text-white/20">Nodes</p></div>
      <div class="text-center py-1.5 rounded-lg bg-amber-500/10 border border-amber-500/20"><p class="text-[10px] font-semibold text-amber-400">0</p><p class="text-[7px] mt-0.5 text-white/20">Food</p></div>
    </div>
    <div class="text-center"><span class="text-[7px] font-mono text-amber-400/30">[▼ click to place food]</span></div>
  </div>
</div>
React
import React, { useState, useRef, useCallback, useEffect } from 'react';
import { motion, useMotionValue, useSpring, AnimatePresence } from 'framer-motion';

export function SlimeMoldIntelligenceCard() {
  const ref = useRef(null);
  const [isHovered, setIsHovered] = useState(false);
  const [foodCount, setFoodCount] = useState(0);
  const [efficiency, setEfficiency] = useState(45);
  const [foodSources, setFoodSources] = useState([]);
  const [isOptimizing, setIsOptimizing] = useState(false);
  const x = useMotionValue(0);
  const y = useMotionValue(0);
  const rotateX = useSpring(y, { damping: 25, stiffness: 200 });
  const rotateY = useSpring(x, { damping: 25, stiffness: 200 });
  const handleMouseMove = (e) => {
    if (!ref.current) return;
    const rect = ref.current.getBoundingClientRect();
    x.set(-((e.clientX - rect.left - rect.width / 2) / (rect.width / 2)) * 6);
    y.set(((e.clientY - rect.top - rect.height / 2) / (rect.height / 2)) * 6);
  };
  const handleClick = () => {
    setFoodCount((c) => c + 1);
    setFoodSources((prev) => [...prev, { id: Date.now(), x: 20+Math.random()*60, y: 15+Math.random()*30 }]);
    setIsOptimizing(true);
    const t = setInterval(() => {
      setEfficiency((e) => Math.min(100, e + 3));
    }, 300);
    setTimeout(() => { clearInterval(t); setIsOptimizing(false); }, 4000);
  };
  return (
    <div onMouseEnter={() => setIsHovered(true)} onMouseLeave={() => { setIsHovered(false); x.set(0); y.set(0); }}>
      <motion.div ref={ref} onMouseMove={handleMouseMove} onClick={handleClick} style={{ rotateX, rotateY, transformStyle: 'preserve-3d' }} className="relative cursor-pointer">
        <motion.div className="relative overflow-hidden rounded-2xl" style={{ width: 220, minHeight: 300, background: 'linear-gradient(160deg, #0a0a06, #060604)', border: '1.5px solid rgba(251,191,36,0.08)' }}
          animate={{ boxShadow: isHovered ? '0 0 30px rgba(251,191,36,0.08), 0 15px 40px rgba(0,0,0,0.4)' : '0 10px 30px rgba(0,0,0,0.3)' }} transition={{ type: 'spring', stiffness: 280, damping: 20 }}>
          <div className="absolute inset-0 z-[3] pointer-events-none" style={{ top: '5%', left: '5%', width: '90%', height: '55%' }}>
            <AnimatePresence>{foodSources.map((food) => (
              <motion.div key={food.id} className="absolute" style={{ left: `${food.x}%`, top: `${food.y}%`, transform: 'translate(-50%,-50%)' }}
                initial={{ scale: 0, opacity: 0 }}
                animate={{ scale: [1, 1.15, 1], opacity: 0.8 }}
                exit={{ scale: 0, opacity: 0 }}
                transition={{ scale: { duration: 1.5, repeat: Infinity }, opacity: { duration: 0.3 } }}>
                <div className="rounded-full" style={{ width: 8, height: 8, background: 'radial-gradient(circle at 35% 30%, rgba(253,230,138,0.6), rgba(251,191,36,0.2))', border: '1px solid rgba(251,191,36,0.2)', boxShadow: '0 0 6px rgba(251,191,36,0.15)' }} />
              </motion.div>
            ))}</AnimatePresence>
          </div>
          <div className="absolute inset-x-0 bottom-0 z-10 p-5 space-y-2" style={{ background: 'linear-gradient(0deg, rgba(0,0,0,0.5), transparent)' }}>
            <div className="flex items-center justify-between">
              <div><p className="text-sm font-bold" style={{ color: 'rgba(255,255,255,0.9)' }}>Physarum Polycephalum</p><p className="text-[9px]" style={{ color: 'rgba(251,191,36,0.44)' }}>Cellular Biologist</p></div>
              <motion.div className="px-2 py-0.5 rounded-sm text-[7px] font-bold tracking-widest" style={{ background: 'rgba(251,191,36,0.08)', border: '1px solid rgba(251,191,36,0.12)', color: '#fbbf24' }}>{isOptimizing ? 'OPTIMIZE' : isHovered ? 'WARM' : 'EXPLORE'}</motion.div>
            </div>
            <div className="h-px" style={{ background: 'linear-gradient(90deg, transparent, rgba(251,191,36,0.1), transparent)' }} />
            <div className="grid grid-cols-2 gap-2">
              <div className="text-center py-1.5 rounded-lg" style={{ background: 'rgba(251,191,36,0.02)', border: '1px solid rgba(251,191,36,0.04)' }}><p className="text-[10px] font-semibold" style={{ color: '#fbbf24' }}>{foodCount > 0 ? 5+foodCount : 5}</p><p className="text-[7px] mt-0.5" style={{ color: 'rgba(255,255,255,0.2)' }}>Nodes</p></div>
              <div className="text-center py-1.5 rounded-lg" style={{ background: 'rgba(251,191,36,0.02)', border: '1px solid rgba(251,191,36,0.04)' }}><p className="text-[10px] font-semibold" style={{ color: '#f59e0b' }}>{foodSources.length}</p><p className="text-[7px] mt-0.5" style={{ color: 'rgba(255,255,255,0.2)' }}>Food</p></div>
            </div>
            <motion.div className="text-center" animate={isHovered ? { y: [0, -1, 0] } : {}} transition={{ duration: 1.5, repeat: isHovered ? Infinity : 0 }}>
              <span className="text-[7px] font-mono" style={{ color: 'rgba(251,191,36,0.2)' }}>{isOptimizing ? '[▼ optimizing network...]' : '[▼ click to place food]'}</span>
            </motion.div>
          </div>
        </motion.div>
      </motion.div>
    </div>
  );
}

Where Slime Mold Intelligence Card fits

  • Pathfinding visualization
  • Network optimization demo
  • Biological computing UI
  • Natural algorithm displays
  • Interactive topology maps

Interaction states & animations

  • Vein pulsing
  • Tendril growth
  • Network optimization
  • Food consumption
  • Warm attraction

Topics

  • #slime mold
  • #physarum
  • #network
  • #pathfinding
  • #organic computing
  • #vein
  • #optimization
  • #biological
  • #intelligence

Accessibility notes

The pulsing vein network may be visually stimulating. The optimization process is gradual. Provide reduced motion alternative. The mold behavior is a simulation of real Physarum polycephalum.

Browser support

  • Chrome 90+
  • Firefox 105+
  • Safari 15+
  • Edge 90+