Dialogue with the Primordial Sea by Alba Triana, an immersive kinetic sound installation featuring magnetic spheres that respond to invisible fields. Part of the Delirious Fields Series, the work explores unseen forces of nature. Commissioned for the Knight Digital Commission series, it transforms the Project Room into an exploration of self-organizing systems.
let hasShownRotateMessage = false;
function handleCloseRotateMessage() { const rotateMessage = document.getElementById(‘rotateMessage’); if (rotateMessage) { rotateMessage.style.display = ‘none’; hasShownRotateMessage = true; } }
function isMobileDevice() { return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent); }
function checkOrientation() { if (isMobileDevice()) { const isPortrait = window.matchMedia(“(orientation: portrait)”).matches; if (isPortrait && !hasShownRotateMessage) { // Create the rotateMessage div if it doesn’t exist let rotateMessage = document.getElementById(‘rotateMessage’); if (!rotateMessage) { rotateMessage = document.createElement(‘div’); rotateMessage.id = ‘rotateMessage’; rotateMessage.style.position = ‘fixed’; rotateMessage.style.top = ‘0’; rotateMessage.style.left = ‘0’; rotateMessage.style.right = ‘0’; rotateMessage.style.bottom = ‘0’; rotateMessage.style.backgroundColor = ‘rgba(0,0,0,0.8)’; rotateMessage.style.zIndex = ‘9999’; rotateMessage.style.display = ‘flex’; rotateMessage.style.flexDirection = ‘column’; rotateMessage.style.alignItems = ‘center’; rotateMessage.style.justifyContent = ‘center’; rotateMessage.style.color = ‘white’;
// Add the close button const closeButton = document.createElement(‘button’); closeButton.innerHTML = ‘✕’; closeButton.style.position = ‘absolute’; closeButton.style.top = ’20px’; closeButton.style.right = ’20px’; closeButton.style.background = ‘none’; closeButton.style.border = ‘none’; closeButton.style.color = ‘white’; closeButton.style.fontSize = ’24px’; closeButton.style.cursor = ‘pointer’; closeButton.onclick = handleCloseRotateMessage;
// Add the rotate icon as an SVG const rotateIcon = document.createElement(‘div’); rotateIcon.innerHTML = ` `;
// Add the message text const messageText = document.createElement(‘p’); messageText.innerText = ‘Please rotate your device’;
// Append elements to the rotateMessage div rotateMessage.appendChild(closeButton); rotateMessage.appendChild(rotateIcon); rotateMessage.appendChild(messageText);
// Append the rotateMessage div to the body document.body.appendChild(rotateMessage); } else { rotateMessage.style.display = ‘flex’; } } } }
window.addEventListener(‘load’, checkOrientation); window.addEventListener(‘resize’, checkOrientation); window.addEventListener(‘orientationchange’, handleCloseRotateMessage);