Files
2026-04-30 13:50:11 +09:00

64 lines
1.9 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="Cache-Control" content="no-cache">
<title>StemEngine Fluid Visualizer</title>
<style>
* {
user-select: none;
box-sizing: border-box;
}
html,
body {
overflow: hidden;
margin: 0;
width: 100%;
height: 100%;
background: radial-gradient(circle at 50% 50%, #0f172a 0%, #020617 100%);
transition: background 160ms linear;
}
canvas {
width: 100%;
height: 100%;
display: block;
transition: filter 120ms linear;
}
</style>
</head>
<body>
<canvas></canvas>
<script>
window.__STEMENGINE_VIZ_PROVIDER_ID__ = 'fluid';
window.__STEMENGINE_VIZ_STYLES__ = ['default'];
window.__STEMENGINE_VIZ_CAPABILITIES__ = {
providerId: 'fluid',
protocolVersion: 1,
presets: ['fluid_vortex', 'fluid_plasma', 'fluid_glass'],
params: [
{ name: 'audio_sensitivity', label: 'Audio Sensitivity', type: 'number', default: 1.0, min: 0, max: 2, step: 0.05 },
{ name: 'hue_shift', label: 'Hue Shift', type: 'number', default: 0, min: -180, max: 180, step: 1 },
{ name: 'brightness', label: 'Brightness', type: 'number', default: 1.0, min: 0.5, max: 1.8, step: 0.01 },
{ name: 'contrast', label: 'Contrast', type: 'number', default: 1.0, min: 0.6, max: 1.8, step: 0.01 },
{ name: 'pulse', label: 'Beat Pulse', type: 'number', default: 0.55, min: 0, max: 1.5, step: 0.01 }
],
palette: {
supported: true,
slotCount: 8
}
};
</script>
<script src="/stemengine-bootstrap.js"></script>
<script src="/stemengine-audio-engine.js"></script>
<script src="/stemengine-feature-extractor.js"></script>
<script src="/stemengine-router.js"></script>
<script src="/fluid-sim.js"></script>
<script src="/stemengine-fluid-adapter.js"></script>
</body>
</html>