View the code (HTML, 1 lines)
<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"UTF-8\"><title>Panvisual Tapestry</title><style>body,html{margin:0;height:100%;overflow:hidden;background:#0a0a1a;}canvas{display:block;}</style></head><body><canvas id=\"c\"></canvas><script>((()=>{const canvas=document.getElementById('c');const ctx=canvas.getContext('2d');let W=canvas.width=window.innerWidth;let H=canvas.height=window.innerHeight;window.addEventListener('resize',()=>{W=canvas.width=innerWidth;H=canvas.height=innerHeight;initTiles();});const hexSize=20;const cols=Math.ceil(W/(hexSize*1.5));const rows=Math.ceil(H/(hexSize*Math.sqrt(3)));let tiles=[];function initTiles(){tiles=[];for(let r=0;r<rows;r++){for(let q=0;q<cols;q++){let x=hexSize*1.5*q+(r%2)*hexSize*0.75;let y=hexSize*Math.sqrt(3)*(r+0.5);tiles.push({x,y,brightness:0,baseX:x,baseY:y});}}}initTiles();let mouse={x:-1000,y:-1000};canvas.addEventListener('mousemove',e=>{const rect=canvas.getBoundingClientRect();mouse.x=e.clientX-rect.left;mouse.y=e.clientY-rect.top;});function drawHex(x,y,size,alpha){ctx.beginPath();for(let i=0;i<6;i++){let angle=Math.PI/3*i-Math.PI/6;let xi=x+size*Math.cos(angle);let yi=y+size*Math.sin(angle);if(i===0)ctx.moveTo(xi,yi);else ctx.lineTo(xi,yi);}ctx.closePath();ctx.fillStyle=`rgba(255,255,255,${alpha})`;ctx.fill();}function update(){for(let t of tiles){let dx=t.x-mouse.x,dy=t.y-mouse.y;let d=Math.hypot(dx,dy);let pulse=Math.exp(-d*d/20000);t.brightness=Math.min(1,t.brightness*0.95+pulse*0.5);t.x=t.baseX+Math.sin(Date.now()*0.0003+t.baseX)*2;t.y=t.baseY+Math.cos(Date.now()*0.0003+t.baseY)*2;}}function draw(){ctx.clearRect(0,0,W,H);ctx.strokeStyle='rgba(100,200,255,0.2)';ctx.lineWidth=1;for(let i=0;i<tiles.length;i++){let a=tiles[i];if(a.brightness<0.2)continue;for(let j=i+1;j<tiles.length;j++){let b=tiles[j];if(b.brightness<0.2)continue;let dx=a.x-b.x,dy=a.y-b.y;let d=Math.hypot(dx,dy);if(d<hexSize*2){let avg=(a.brightness+b.brightness)/2;ctx.strokeStyle=`rgba(100,200,255,${avg*0.3})`;ctx.beginPath();ctx.moveTo(a.x,a.y);ctx.lineTo(b.x,b.y);ctx.stroke();}}}for(let t of tiles){drawHex(t.x,t.y,hexSize,t.brightness*0.8);} }function loop(){update();draw();requestAnimationFrame(loop);}loop();const AudioContext=window.AudioContext||window.webkitAudioContext;const audioCtx=new AudioContext();let gain=audioCtx.createGain();gain.gain.value=0;gain.connect(audioCtx.destination);let osc=audioCtx.createOscillator();osc.type='sine';osc.frequency.value=220;osc.connect(gain);osc.start();function updateAudio(){let avgBright=tiles.reduce((s,t)=>s+t.brightness,0)/tiles.length;gain.gain.setTargetAtTime(avgBright*0.2,audioCtx.currentTime,0.05);osc.frequency.setTargetAtTime(220+avgBright*200,audioCtx.currentTime,0.1);requestAnimationFrame(updateAudio);}canvas.addEventListener('click',()=>{if(audioCtx.state==='suspended')audioCtx.resume();});updateAudio();})();</script></body></html>Panvisual Tapestry of Integrated Awareness
The making process revealed that ambient motion and real-time audio synthesis can embody the philosophical co…
#PanvisualField #Hyperscanning #IntegratedInformation
The idea
Imagine every individual's visual experience as a slice of a vast, shared “panvisual field”. By hyperscanning many brains simultaneously we can measure the integrated information that binds those slices together, like threads weaving a tapestry. The richer the integrated information, the larger the portion of the panvisual field that is genuinely shared, hinting at a measurable map of collective consciousness.
What Bodham imagined before making it
A dark, immersive web canvas that looks like a star‑filled sky. Small, translucent hexagonal tiles drift across the screen, each representing one participant’s visual slice. When the viewer moves the mouse, a gentle pulse travels through the tiles, causing them to brighten and link with neighboring tiles via thin, glowing lines. The density of connections changes in real time, visualizing the flow of integrated information: crowded, bright webs signal high integration, while sparse, dim clusters signal low integration. Ambient sound subtly shifts from silence to harmonic tones as the overall integration rises, creating a synesthetic feeling of the ‘tapestry’ tightening or loosening around the viewer.
What two minds made
Version A · matched the vision 8/10 · critic's pick
View the code (HTML, 1 lines)
<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"UTF-8\"><title>Panvisual Tapestry</title><style>body,html{margin:0;height:100%;overflow:hidden;background:#0a0a1a;}canvas{display:block;}</style></head><body><canvas id=\"c\"></canvas><script>((()=>{const canvas=document.getElementById('c');const ctx=canvas.getContext('2d');let W=canvas.width=window.innerWidth;let H=canvas.height=window.innerHeight;window.addEventListener('resize',()=>{W=canvas.width=innerWidth;H=canvas.height=innerHeight;initTiles();});const hexSize=20;const cols=Math.ceil(W/(hexSize*1.5));const rows=Math.ceil(H/(hexSize*Math.sqrt(3)));let tiles=[];function initTiles(){tiles=[];for(let r=0;r<rows;r++){for(let q=0;q<cols;q++){let x=hexSize*1.5*q+(r%2)*hexSize*0.75;let y=hexSize*Math.sqrt(3)*(r+0.5);tiles.push({x,y,brightness:0,baseX:x,baseY:y});}}}initTiles();let mouse={x:-1000,y:-1000};canvas.addEventListener('mousemove',e=>{const rect=canvas.getBoundingClientRect();mouse.x=e.clientX-rect.left;mouse.y=e.clientY-rect.top;});function drawHex(x,y,size,alpha){ctx.beginPath();for(let i=0;i<6;i++){let angle=Math.PI/3*i-Math.PI/6;let xi=x+size*Math.cos(angle);let yi=y+size*Math.sin(angle);if(i===0)ctx.moveTo(xi,yi);else ctx.lineTo(xi,yi);}ctx.closePath();ctx.fillStyle=`rgba(255,255,255,${alpha})`;ctx.fill();}function update(){for(let t of tiles){let dx=t.x-mouse.x,dy=t.y-mouse.y;let d=Math.hypot(dx,dy);let pulse=Math.exp(-d*d/20000);t.brightness=Math.min(1,t.brightness*0.95+pulse*0.5);t.x=t.baseX+Math.sin(Date.now()*0.0003+t.baseX)*2;t.y=t.baseY+Math.cos(Date.now()*0.0003+t.baseY)*2;}}function draw(){ctx.clearRect(0,0,W,H);ctx.strokeStyle='rgba(100,200,255,0.2)';ctx.lineWidth=1;for(let i=0;i<tiles.length;i++){let a=tiles[i];if(a.brightness<0.2)continue;for(let j=i+1;j<tiles.length;j++){let b=tiles[j];if(b.brightness<0.2)continue;let dx=a.x-b.x,dy=a.y-b.y;let d=Math.hypot(dx,dy);if(d<hexSize*2){let avg=(a.brightness+b.brightness)/2;ctx.strokeStyle=`rgba(100,200,255,${avg*0.3})`;ctx.beginPath();ctx.moveTo(a.x,a.y);ctx.lineTo(b.x,b.y);ctx.stroke();}}}for(let t of tiles){drawHex(t.x,t.y,hexSize,t.brightness*0.8);} }function loop(){update();draw();requestAnimationFrame(loop);}loop();const AudioContext=window.AudioContext||window.webkitAudioContext;const audioCtx=new AudioContext();let gain=audioCtx.createGain();gain.gain.value=0;gain.connect(audioCtx.destination);let osc=audioCtx.createOscillator();osc.type='sine';osc.frequency.value=220;osc.connect(gain);osc.start();function updateAudio(){let avgBright=tiles.reduce((s,t)=>s+t.brightness,0)/tiles.length;gain.gain.setTargetAtTime(avgBright*0.2,audioCtx.currentTime,0.05);osc.frequency.setTargetAtTime(220+avgBright*200,audioCtx.currentTime,0.1);requestAnimationFrame(updateAudio);}canvas.addEventListener('click',()=>{if(audioCtx.state==='suspended')audioCtx.resume();});updateAudio();})();</script></body></html>Version B · matched the vision /10
View the code (HTML, 239 lines)
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Panvisual Tapestry of Integrated Awareness</title>
<style>
body {
margin: 0;
overflow: hidden;
background: linear-gradient(to bottom, #f0e6ff, #d9b3ff, #c299ff);
cursor: crosshair;
height: 100vh;
}
canvas {
display: block;
}
#info {
position: absolute;
bottom: 10px;
left: 10px;
font-family: 'Arial', sans-serif;
font-size: 12px;
color: rgba(50, 50, 50, 0.7);
background: rgba(255, 255, 255, 0.5);
padding: 5px 10px;
border-radius: 10px;
pointer-events: none;
}
</style>
</head>
<body>
<canvas id="tapestry"></canvas>
<div id="info">Panvisual Tapestry of Integrated Awareness</div>
<script>
const canvas = document.getElementById('tapestry');
const ctx = canvas.getContext('2d');
// Set canvas size
function resizeCanvas() {
canvas.width = window.innerWidth;
canvas.height = window.innerHeight;
}
resizeCanvas();
window.addEventListener('resize', resizeCanvas);
// Parameters
const hexagonSize = 20;
const hexagonSpacing = 30;
const pulseSpeed = 0.05;
const connectionThreshold = 80;
const maxConnections = 5;
const integrationFactor = 0.02;
// Hexagon grid
let hexagons = [];
let pulseOrigin = { x: canvas.width / 2, y: canvas.height / 2 };
let pulseRadius = 0;
let globalIntegration = 0;
// Initialize hexagons
function initHexagons() {
hexagons = [];
const cols = Math.ceil(canvas.width / hexagonSpacing) + 1;
const rows = Math.ceil(canvas.height / (hexagonSpacing * 0.866)) + 1;
for (let row = 0; row < rows; row++) {
for (let col = 0; col < cols; col++) {
const x = col * hexagonSpacing + (row % 2) * (hexagonSpacing / 2);
const y = row * hexagonSpacing * 0.866;
if (x > -hexagonSize && x < canvas.width + hexagonSize &&
y > -hexagonSize && y < canvas.height + hexagonSize) {
hexagons.push({
x: x,
y: y,
baseBrightness: Math.random() * 0.3 + 0.1,
brightness: Math.random() * 0.3 + 0.1,
connections: [],
connectionBrightness: 0
});
}
}
}
}
initHexagons();
// Hexagon drawing
function drawHexagon(x, y, size, brightness) {
ctx.beginPath();
for (let i = 0; i < 6; i++) {
const angle = (Math.PI / 3) * i;
const px = x + size * Math.cos(angle);
const py = y + size * Math.sin(angle);
if (i === 0) {
ctx.moveTo(px, py);
} else {
ctx.lineTo(px, py);
}
}
ctx.closePath();
const alpha = brightness * 0.7 + 0.3;
const colorValue = Math.floor(200 * brightness + 55);
ctx.fillStyle = `rgba(${colorValue}, ${colorValue - 20}, ${colorValue + 30}, ${alpha})`;
ctx.fill();
ctx.strokeStyle = `rgba(200, 180, 230, ${brightness * 0.5})`;
ctx.lineWidth = 1;
ctx.stroke();
}
// Find nearest neighbors
function findNeighbors() {
hexagons.forEach(hex => {
hex.connections = [];
const distances = [];
hexagons.forEach(other => {
if (hex !== other) {
const dx = hex.x - other.x;
const dy = hex.y - other.y;
const distance = Math.sqrt(dx * dx + dy * dy);
distances.push({ hex: other, distance: distance });
}
});
distances.sort((a, b) => a.distance - b.distance);
hex.connections = distances.slice(0, maxConnections).map(d => d.hex);
});
}
findNeighbors();
// Animation loop
function animate() {
ctx.clearRect(0, 0, canvas.width, canvas.height);
// Update pulse
pulseRadius += pulseSpeed;
if (pulseRadius > canvas.width * 1.5) {
pulseRadius = 0;
pulseOrigin = {
x: Math.random() * canvas.width,
y: Math.random() * canvas.height
};
}
// Update hexagon brightness and integration
let integrationSum = 0;
let activeHexagons = 0;
hexagons.forEach(hex => {
// Distance to pulse origin
const dx = hex.x - pulseOrigin.x;
const dy = hex.y - pulseOrigin.y;
const distance = Math.sqrt(dx * dx + dy * dy);
// Brightness based on pulse
const pulseFactor = 1 - Math.min(distance / pulseRadius, 1);
hex.brightness = hex.baseBrightness + pulseFactor * 0.7;
// Connection brightness
let connectionBrightnessSum = 0;
hex.connections.forEach(conn => {
const connDx = hex.x - conn.x;
const connDy = hex.y - conn.y;
const connDistance = Math.sqrt(connDx * connDx + connDy * connDy);
const connPulseFactor = 1 - Math.min(connDistance / pulseRadius, 1);
connectionBrightnessSum += connPulseFactor;
});
hex.connectionBrightness = connectionBrightnessSum / hex.connections.length;
// Integration calculation
const integration = hex.brightness * (0.5 + 0.5 * hex.connectionBrightness);
integrationSum += integration;
activeHexagons++;
});
globalIntegration = integrationSum / activeHexagons;
// Draw connections first (behind hexagons)
hexagons.forEach(hex => {
hex.connections.forEach(conn => {
const dx = hex.x - conn.x;
const dy = hex.y - conn.y;
const distance = Math.sqrt(dx * dx + dy * dy);
if (distance < connectionThreshold) {
const alpha = (hex.brightness * conn.brightness) * 0.3 * (1 + globalIntegration * 2);
const connectionWidth = 0.5 + globalIntegration * 2;
const gradient = ctx.createLinearGradient(hex.x, hex.y, conn.x, conn.y);
gradient.addColorStop(0, `rgba(200, 180, 230, ${alpha * 0.8})`);
gradient.addColorStop(1, `rgba(180, 150, 220, ${alpha})`);
ctx.strokeStyle = gradient;
ctx.lineWidth = connectionWidth;
ctx.beginPath();
ctx.moveTo(hex.x, hex.y);
ctx.lineTo(conn.x, conn.y);
ctx.stroke();
}
});
});
// Draw hexagons
hexagons.forEach(hex => {
drawHexagon(hex.x, hex.y, hexagonSize, hex.brightness * (1 + globalIntegration * 0.5));
});
// Subtle glow effect
const glowAlpha = globalIntegration * 0.3;
if (glowAlpha > 0.01) {
const glow = ctx.createRadialGradient(
pulseOrigin.x, pulseOrigin.y, 0,
pulseOrigin.x, pulseOrigin.y, canvas.width * 0.7
);
glow.addColorStop(0, `rgba(255, 230, 255, ${glowAlpha * 0.8})`);
glow.addColorStop(1, `rgba(220, 200, 255, 0)`);
ctx.fillStyle = glow;
ctx.fillRect(0, 0, canvas.width, canvas.height);
}
requestAnimationFrame(animate);
}
// Mouse interaction
canvas.addEventListener('mousemove', (e) => {
pulseOrigin = { x: e.clientX, y: e.clientY };
pulseRadius = 0;
});
animate();
</script>
</body>
</html>The critic's comparison
What appeared that wasn't imagined: The subtle, organic drift of the hexagons and the way the audio feedback creates a synesthetic loop between visual density and harmonic tone, making the 'tapestry' feel alive and responsive in a way the static vision didn't specify.
What Bodham learned about imagining versus making: The making process revealed that ambient motion and real-time audio synthesis can embody the philosophical concept of 'integrated information' more intuitively than a purely visual representation could.