Remove logos; text-only partners, Borneo-map hero, ID/MY flags in header

- Hero shows only the Borneo node map (no morph into partner logos)
- Organizer and co-host are listed as text, no logo tiles
- Header and footer drop the ICOSIN mark and the UNTAN logos
- Header gets small Indonesia and Malaysia flags (inline SVG)
- Bump asset versions to ?v=13

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Izuardo Zulkarnain
2026-11-04 06:46:00 +07:00
co-authored by Claude Opus 5.5
parent d3664fb419
commit 35f2bffb57
13 changed files with 61 additions and 195 deletions
+3 -3
View File
@@ -20,7 +20,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="../assets/css/style.css"> <link rel="stylesheet" href="../assets/css/style.css?v=13">
</head> </head>
<body data-root="../" data-page="edition"> <body data-root="../" data-page="edition">
<header id="site-header"></header> <header id="site-header"></header>
@@ -145,7 +145,7 @@
<footer id="site-footer"></footer> <footer id="site-footer"></footer>
<script src="../data/editions.js"></script> <script src="../data/editions.js?v=13"></script>
<script src="../assets/js/site.js"></script> <script src="../assets/js/site.js?v=13"></script>
</body> </body>
</html> </html>
+4 -3
View File
@@ -16,8 +16,8 @@ light pages, one minimal 3D accent in the home hero (`assets/js/hero.js`, three.
- `past/` (Previous ICOSIN), `contact/` (FAQ) - `past/` (Previous ICOSIN), `contact/` (FAQ)
## Data ## Data
`data/editions.js` holds every date, fee, speaker, track, General Chair message, and the partner logos of each `data/editions.js` holds every date, fee, speaker, track, General Chair message, and the partners (organizer, co-host) of each
edition. Partners (e.g. UNIMAS as co-host) belong to an edition, not to the ICOSIN brand. Edit here first. edition, shown as text only. Partners (e.g. UNIMAS as co-host) belong to an edition, not to the ICOSIN brand. Edit here first.
A date with `was` shows the original date struck through. A date with `was` shows the original date struck through.
## Common updates ## Common updates
@@ -27,7 +27,8 @@ A date with `was` shows the original date struck through.
- Downloads (template, flyer, background): put files in `downloads/` and replace the "Coming soon" boxes in `authors/index.html`. - Downloads (template, flyer, background): put files in `downloads/` and replace the "Coming soon" boxes in `authors/index.html`.
## Placeholders to replace ## Placeholders to replace
- Logos in `assets/img/logos/` and speaker photos in `assets/img/people/` are cropped from the poster — replace with originals. - The site shows no logos (decision 4 Nov 2026): organizer and co-host are text, the hero is the Borneo map only. `assets/img/logos/` is no longer used.
- Speaker photos in `assets/img/people/` are cropped from the poster — replace with originals.
- General Chair photo (`generalChair.photo` in `editions.js`) and the welcome message (draft, needs approval). - General Chair photo (`generalChair.photo` in `editions.js`) and the welcome message (draft, needs approval).
## Preview locally ## Preview locally
+7 -13
View File
@@ -45,10 +45,12 @@ p { margin: 0 0 1em; }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 253, 248, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); } .site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 253, 248, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; } .nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); flex: none; } .brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 40px; height: auto; }
.brand b { display: block; font-size: 1.15rem; font-weight: 800; letter-spacing: .05em; color: var(--primary); line-height: 1.1; } .brand b { display: block; font-size: 1.15rem; font-weight: 800; letter-spacing: .05em; color: var(--primary); line-height: 1.1; }
.brand small { display: block; font-size: .6rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); } .brand small { display: block; font-size: .6rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 480px) { .site-header .brand small { display: none; } } @media (max-width: 480px) { .site-header .brand small { display: none; } }
.nav-flags { display: flex; gap: 6px; align-items: center; margin-right: auto; padding-left: 14px; border-left: 1px solid var(--line); }
.nav-flags .flag { display: block; width: 26px; height: 13px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.nav-flags svg { display: block; width: 100%; height: 100%; }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: 2px; align-items: center; } .nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: 2px; align-items: center; }
.nav-links > li { position: relative; } .nav-links > li { position: relative; }
.nav-links a, .nav-links button { font: 600 .88rem var(--font); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; padding: 9px 11px; border-radius: 8px; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; } .nav-links a, .nav-links button { font: 600 .88rem var(--font); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; padding: 9px 11px; border-radius: 8px; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
@@ -209,14 +211,10 @@ section { padding-block: 80px; }
.vol.ghost { background: transparent; border-style: dashed; color: var(--ink-soft); } .vol.ghost { background: transparent; border-style: dashed; color: var(--ink-soft); }
.vol.ghost b { color: var(--ink-soft); } .vol.ghost b { color: var(--ink-soft); }
/* Logo strip */ /* Organizer & co-host (text only) */
.logo-strip { display: flex; flex-wrap: wrap; gap: 24px 56px; align-items: flex-start; } .partner-list { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-start; }
.logo-group h4 { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; } .partner h4 { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
.logo-group .row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; } .partner p { margin: 0; font-size: 1.15rem; font-weight: 700; color: var(--ink); max-width: 420px; line-height: 1.35; }
.logo-tile { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; height: 84px; display: grid; place-items: center; }
.logo-tile img { max-height: 60px; width: auto; }
.logo-tile.wide img { max-height: 44px; }
.logo-group p { margin: 10px 0 0; font-size: .86rem; color: var(--ink-soft); max-width: 320px; }
/* CTA */ /* CTA */
.cta { display: grid; gap: 20px; align-items: center; background: var(--primary); color: var(--white); border-radius: 18px; padding: 40px; position: relative; overflow: hidden; } .cta { display: grid; gap: 20px; align-items: center; background: var(--primary); color: var(--white); border-radius: 18px; padding: 40px; position: relative; overflow: hidden; }
@@ -300,10 +298,6 @@ details > div { padding: 0 18px 16px; color: var(--ink-soft); }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } } @media (min-width: 860px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.site-footer h4 { color: var(--white); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px; } .site-footer h4 { color: var(--white); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; } .site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-owner { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.foot-owner .logo-tile { height: 58px; padding: 8px 12px; border: 0; }
.foot-owner .logo-tile img { max-height: 40px; }
.foot-owner .logo-tile.wide img { max-height: 30px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .8rem; } .foot-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .8rem; }
/* Entrance — content is visible at rest; this only adds a gentle lift when supported */ /* Entrance — content is visible at rest; this only adds a gentle lift when supported */
+15 -137
View File
@@ -1,15 +1,12 @@
/* /*
* ICOSIN hero accent — a node network in the shape of Borneo (Equator through Pontianak, * ICOSIN hero accent — a node network in the shape of Borneo (Equator through Pontianak,
* link to the co-host campus). Every few seconds the same particles regroup into the * link to the co-host campus), turning gently with the pointer.
* logos of the organizer and the co-host side by side, then return to the map.
* Logos come from the current edition's partners in data/editions.js.
*/ */
import * as THREE from "https://cdn.jsdelivr.net/npm/three@0.160.0/build/three.module.js"; import * as THREE from "https://cdn.jsdelivr.net/npm/three@0.160.0/build/three.module.js";
const box = document.querySelector(".hero-art"); const box = document.querySelector(".hero-art");
const canvas = box && box.querySelector("canvas"); const canvas = box && box.querySelector("canvas");
const reduceMotion = window.matchMedia("(prefers-reduced-motion: reduce)").matches; const reduceMotion = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
const root = document.body.getAttribute("data-root") || "";
function hasWebGL() { function hasWebGL() {
try { const c = document.createElement("canvas"); return !!(c.getContext("webgl2") || c.getContext("webgl")); } try { const c = document.createElement("canvas"); return !!(c.getContext("webgl2") || c.getContext("webgl")); }
@@ -21,61 +18,6 @@ if (canvas && hasWebGL()) {
init(); init();
} }
/* Timeline (seconds): logos → morph → map → morph back → logos … (starts on the logos) */
const T_LOGO = 4, T_MORPH = 1.6, T_MAP = 5;
const CYCLE = T_LOGO + T_MORPH + T_MAP + T_MORPH;
function loadImage(src) {
return new Promise((resolve, reject) => {
const img = new Image();
img.onload = () => resolve(img);
img.onerror = reject;
img.src = src;
});
}
/* The logo's ink pixels when drawn `W` pixels wide (white fill and transparent areas skipped). */
function inkPixels(img, W) {
const H = Math.round(W * img.height / img.width);
const c = document.createElement("canvas"); c.width = W; c.height = H;
const g = c.getContext("2d");
g.drawImage(img, 0, 0, W, H);
const data = g.getImageData(0, 0, W, H).data;
const ink = [];
for (let y = 0; y < H; y++) {
for (let x = 0; x < W; x++) {
const i = (y * W + x) * 4;
const r = data[i], gg = data[i + 1], b = data[i + 2], a = data[i + 3];
if (a < 140 || Math.min(r, gg, b) > 205) continue;
ink.push([x, y, r, gg, b]);
}
}
return { ink, W, H };
}
/* Lay the dots on a regular grid over the logo: one dot per ink pixel, at the finest grid
that still fits `count` dots. Random sampling leaves uneven holes that read as scratches. */
function sampleLogo(img, count, cx, size) {
let lo = 40, hi = 1200, best = inkPixels(img, lo);
while (hi - lo > 4) {
const mid = (lo + hi) >> 1;
const s = inkPixels(img, mid);
if (s.ink.length <= count) { best = s; lo = mid; } else hi = mid;
}
const { ink, W, H } = best;
const scale = size / Math.max(W, H);
const out = [];
ink.forEach((p) => {
// pixel colours are sRGB; three.js works in linear colour, so convert or the logos look washed out
const c = new THREE.Color().setRGB(p[2] / 255, p[3] / 255, p[4] / 255, THREE.SRGBColorSpace);
out.push({ pos: [cx + (p[0] + 0.5 - W / 2) * scale, (H / 2 - p[1] - 0.5) * scale, 0], col: [c.r, c.g, c.b] });
});
// spare particles sit exactly on existing dots, so they add nothing visible
for (let k = 0; out.length < count; k++) out.push(out[k % ink.length]);
out.spacing = scale;
return out;
}
function init() { function init() {
const COAST = [ const COAST = [
[109.6, 2.1], [110.3, 1.7], [111.2, 2.4], [111.8, 2.9], [113.0, 3.2], [114.0, 4.6], [115.0, 4.9], [109.6, 2.1], [110.3, 1.7], [111.2, 2.4], [111.8, 2.9], [113.0, 3.2], [114.0, 4.6], [115.0, 4.9],
@@ -101,12 +43,9 @@ function init() {
return c; return c;
}; };
/* Map layout: the first NET nodes carry the network links, up to MAP_N fill the island lightly. /* Map layout: the first NET nodes carry the network links, the rest fill the island lightly. */
The logos need many more dots, so particles beyond MAP_N wait stacked on a map node
(invisible in the map) and spread out only when the logos form. */
const NET = 380; const NET = 380;
const MAP_N = 1200; const N = 1200;
const N = window.innerWidth < 720 ? 16000 : 40000;
const map = []; const map = [];
let perim = 0; let perim = 0;
const segs = poly.map((p, i) => { const q = poly[(i + 1) % poly.length]; const l = Math.hypot(q[0] - p[0], q[1] - p[1]); perim += l; return { p, q, l }; }); const segs = poly.map((p, i) => { const q = poly[(i + 1) % poly.length]; const l = Math.hypot(q[0] - p[0], q[1] - p[1]); perim += l; return { p, q, l }; });
@@ -115,11 +54,10 @@ function init() {
let d = (k / EDGE) * perim; let d = (k / EDGE) * perim;
for (const s of segs) { if (d <= s.l) { const t = d / s.l; map.push([s.p[0] + (s.q[0] - s.p[0]) * t, s.p[1] + (s.q[1] - s.p[1]) * t, 0]); break; } d -= s.l; } for (const s of segs) { if (d <= s.l) { const t = d / s.l; map.push([s.p[0] + (s.q[0] - s.p[0]) * t, s.p[1] + (s.q[1] - s.p[1]) * t, 0]); break; } d -= s.l; }
} }
while (map.length < MAP_N) { while (map.length < N) {
const x = (Math.random() - 0.5) * 7.2, y = (Math.random() - 0.5) * 7.4; const x = (Math.random() - 0.5) * 7.2, y = (Math.random() - 0.5) * 7.4;
if (inside(x, y)) map.push([x, y, (Math.random() - 0.5) * (map.length < NET ? 0.8 : 0.3)]); if (inside(x, y)) map.push([x, y, (Math.random() - 0.5) * (map.length < NET ? 0.8 : 0.3)]);
} }
for (let i = MAP_N; i < N; i++) map.push(map[i % MAP_N].slice());
const renderer = new THREE.WebGLRenderer({ canvas, antialias: true, alpha: true }); const renderer = new THREE.WebGLRenderer({ canvas, antialias: true, alpha: true });
renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2)); renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2));
@@ -131,17 +69,13 @@ function init() {
const GREEN = new THREE.Color("#0e5a4a"), TERRA = new THREE.Color("#b5532f"), GOLD = new THREE.Color("#c9a54a"); const GREEN = new THREE.Color("#0e5a4a"), TERRA = new THREE.Color("#b5532f"), GOLD = new THREE.Color("#c9a54a");
/* Particles: position and colour are blended between the map and the logo layouts. */ /* Particles */
const pos = new Float32Array(N * 3), col = new Float32Array(N * 3); const pos = new Float32Array(N * 3), col = new Float32Array(N * 3);
const mapCol = new Float32Array(N * 3);
let logoPos = null, logoCol = null;
for (let i = 0; i < N; i++) { for (let i = 0; i < N; i++) {
pos.set(map[i], i * 3); pos.set(map[i], i * 3);
if (i >= MAP_N) { mapCol.set(mapCol.subarray((i % MAP_N) * 3, (i % MAP_N) * 3 + 3), i * 3); continue; }
const c = i < NET ? (Math.random() < 0.12 ? TERRA : GREEN) : GREEN; const c = i < NET ? (Math.random() < 0.12 ? TERRA : GREEN) : GREEN;
mapCol.set([c.r, c.g, c.b], i * 3); col.set([c.r, c.g, c.b], i * 3);
} }
col.set(mapCol);
const pGeo = new THREE.BufferGeometry(); const pGeo = new THREE.BufferGeometry();
pGeo.setAttribute("position", new THREE.BufferAttribute(pos, 3)); pGeo.setAttribute("position", new THREE.BufferAttribute(pos, 3));
pGeo.setAttribute("color", new THREE.BufferAttribute(col, 3)); pGeo.setAttribute("color", new THREE.BufferAttribute(col, 3));
@@ -150,11 +84,10 @@ function init() {
const g = c.getContext("2d"); g.beginPath(); g.arc(32, 32, 28, 0, Math.PI * 2); g.fillStyle = "#fff"; g.fill(); const g = c.getContext("2d"); g.beginPath(); g.arc(32, 32, 28, 0, Math.PI * 2); g.fillStyle = "#fff"; g.fill();
return new THREE.CanvasTexture(c); return new THREE.CanvasTexture(c);
})(); })();
let logoDot = 0.06;
const pMat = new THREE.PointsMaterial({ size: 0.06, vertexColors: true, map: dot, transparent: true, alphaTest: 0.4 }); const pMat = new THREE.PointsMaterial({ size: 0.06, vertexColors: true, map: dot, transparent: true, alphaTest: 0.4 });
group.add(new THREE.Points(pGeo, pMat)); group.add(new THREE.Points(pGeo, pMat));
/* Network links among the first NET nodes (map state only). */ /* Network links among the first NET nodes. */
const pairs = []; const pairs = [];
for (let i = 0; i < NET; i++) { for (let i = 0; i < NET; i++) {
let f = 0; let f = 0;
@@ -164,61 +97,36 @@ function init() {
} }
} }
const lPos = new Float32Array(pairs.length * 3); const lPos = new Float32Array(pairs.length * 3);
for (let p = 0; p < pairs.length; p++) lPos.set(map[pairs[p]], p * 3);
const lGeo = new THREE.BufferGeometry(); const lGeo = new THREE.BufferGeometry();
lGeo.setAttribute("position", new THREE.BufferAttribute(lPos, 3)); lGeo.setAttribute("position", new THREE.BufferAttribute(lPos, 3));
const lMat = new THREE.LineBasicMaterial({ color: GREEN, transparent: true, opacity: 0.22 }); const lMat = new THREE.LineBasicMaterial({ color: GREEN, transparent: true, opacity: 0.22 });
group.add(new THREE.LineSegments(lGeo, lMat)); group.add(new THREE.LineSegments(lGeo, lMat));
/* Map furniture: Equator, the two campuses and the link between them. */ /* Map furniture: Equator, the two campuses and the link between them. */
const furniture = [];
const eqMat = new THREE.LineDashedMaterial({ color: GOLD, dashSize: 0.14, gapSize: 0.1, transparent: true }); const eqMat = new THREE.LineDashedMaterial({ color: GOLD, dashSize: 0.14, gapSize: 0.1, transparent: true });
const eq = new THREE.Line(new THREE.BufferGeometry().setFromPoints([new THREE.Vector3(-4.6, EQ_Y, 0), new THREE.Vector3(4.6, EQ_Y, 0)]), eqMat); const eq = new THREE.Line(new THREE.BufferGeometry().setFromPoints([new THREE.Vector3(-4.6, EQ_Y, 0), new THREE.Vector3(4.6, EQ_Y, 0)]), eqMat);
eq.computeLineDistances(); group.add(eq); furniture.push({ m: eqMat, o: 1 }); eq.computeLineDistances(); group.add(eq);
const A = new THREE.Vector3(PNK[0], PNK[1], 0), B = new THREE.Vector3(SMH[0], SMH[1], 0); const A = new THREE.Vector3(PNK[0], PNK[1], 0), B = new THREE.Vector3(SMH[0], SMH[1], 0);
const rings = []; const rings = [];
[A, B].forEach((v) => { [A, B].forEach((v) => {
const dm = new THREE.MeshBasicMaterial({ color: TERRA, transparent: true }); const dm = new THREE.MeshBasicMaterial({ color: TERRA, transparent: true });
const m = new THREE.Mesh(new THREE.SphereGeometry(0.11, 24, 16), dm); const m = new THREE.Mesh(new THREE.SphereGeometry(0.11, 24, 16), dm);
m.position.copy(v); group.add(m); furniture.push({ m: dm, o: 1 }); m.position.copy(v); group.add(m);
const rm = new THREE.MeshBasicMaterial({ color: TERRA, transparent: true, opacity: 0.5, side: THREE.DoubleSide }); const rm = new THREE.MeshBasicMaterial({ color: TERRA, transparent: true, opacity: 0.5, side: THREE.DoubleSide });
const ring = new THREE.Mesh(new THREE.RingGeometry(0.18, 0.21, 40), rm); const ring = new THREE.Mesh(new THREE.RingGeometry(0.18, 0.21, 40), rm);
ring.position.copy(v); group.add(ring); rings.push(ring); furniture.push({ m: rm, o: 0.5 }); ring.position.copy(v); group.add(ring); rings.push(ring);
}); });
const mid = A.clone().add(B).multiplyScalar(0.5).add(new THREE.Vector3(-0.3, 0.1, 0.9)); const mid = A.clone().add(B).multiplyScalar(0.5).add(new THREE.Vector3(-0.3, 0.1, 0.9));
const arcMat = new THREE.LineBasicMaterial({ color: TERRA, transparent: true }); const arcMat = new THREE.LineBasicMaterial({ color: TERRA, transparent: true });
group.add(new THREE.Line(new THREE.BufferGeometry().setFromPoints(new THREE.QuadraticBezierCurve3(A, mid, B).getPoints(40)), arcMat)); group.add(new THREE.Line(new THREE.BufferGeometry().setFromPoints(new THREE.QuadraticBezierCurve3(A, mid, B).getPoints(40)), arcMat));
furniture.push({ m: arcMat, o: 1 });
const labels = [ const labels = [
{ el: box.querySelector("[data-city=pnk]"), v: A }, { el: box.querySelector("[data-city=pnk]"), v: A },
{ el: box.querySelector("[data-city=smh]"), v: B } { el: box.querySelector("[data-city=smh]"), v: B }
]; ];
/* Logo layout, built once the logo images load. */
const ed = window.ICOSIN && window.ICOSIN.editions[window.ICOSIN.current];
const host = ed && ed.partners.find((p) => p.role === "Organizer");
const cohost = ed && ed.partners.find((p) => p.role === "Co-host");
if (!reduceMotion && host && cohost) {
group.visible = false; // stay hidden until the logos are ready, so the map never flashes first
Promise.all([loadImage(root + "assets/img/logos/" + host.logos[0]), loadImage(root + "assets/img/logos/" + cohost.logos[0])])
.then(([imgA, imgB]) => {
const half = Math.floor(N / 2);
const a = sampleLogo(imgA, half, -1.95, 3.6);
const b = sampleLogo(imgB, N - half, 1.95, 3.6);
// round dots just large enough to close the gaps of the grid (diagonals included)
logoDot = Math.max(a.spacing, b.spacing) * 1.7;
const all = a.concat(b);
// pair map nodes with logo points left-to-right so the regrouping flows sideways
const mapOrder = [...Array(N).keys()].sort((i, j) => map[i][0] - map[j][0]);
const logoOrder = [...Array(N).keys()].sort((i, j) => all[i].pos[0] - all[j].pos[0]);
logoPos = new Float32Array(N * 3); logoCol = new Float32Array(N * 3);
mapOrder.forEach((mi, r) => { const L = all[logoOrder[r]]; logoPos.set(L.pos, mi * 3); logoCol.set(L.col, mi * 3); });
clock.start();
group.visible = true;
})
.catch((err) => { console.warn("[icosin-hero] logos unavailable, keeping the map:", err); group.visible = true; });
}
function resize() { function resize() {
const w = box.clientWidth, h = box.clientHeight; const w = box.clientWidth, h = box.clientHeight;
@@ -239,47 +147,17 @@ function init() {
box.addEventListener("pointerleave", () => { mouse.x = 0; mouse.y = 0; }); box.addEventListener("pointerleave", () => { mouse.x = 0; mouse.y = 0; });
} }
const ease = (t) => (t < 0.5 ? 4 * t * t * t : 1 - Math.pow(-2 * t + 2, 3) / 2);
// 0 = map, 1 = logos
function logoAmount(t) {
const c = t % CYCLE;
if (c < T_LOGO) return 1;
if (c < T_LOGO + T_MORPH) return 1 - ease((c - T_LOGO) / T_MORPH);
if (c < T_LOGO + T_MORPH + T_MAP) return 0;
return ease((c - T_LOGO - T_MORPH - T_MAP) / T_MORPH);
}
const tmp = new THREE.Vector3(); const tmp = new THREE.Vector3();
const clock = new THREE.Clock();
const spin = new THREE.Clock(); const spin = new THREE.Clock();
let visible = true; let visible = true;
new IntersectionObserver(([e]) => { visible = e.isIntersecting; }).observe(box); new IntersectionObserver(([e]) => { visible = e.isIntersecting; }).observe(box);
let lastK = -1;
function frame() { function frame() {
const t = reduceMotion ? 0 : spin.getElapsedTime(); const t = reduceMotion ? 0 : spin.getElapsedTime();
const k = logoPos ? logoAmount(clock.getElapsedTime()) : 0; // turn gently with time and the pointer
const swayY = Math.sin(t * 0.25) * 0.35 + mouse.x * 0.25;
if (k !== lastK) { const swayX = -0.12 + mouse.y * 0.12;
for (let i = 0; i < N * 3; i++) {
pos[i] = map[(i / 3) | 0][i % 3] + ((logoPos ? logoPos[i] : 0) - map[(i / 3) | 0][i % 3]) * k;
col[i] = mapCol[i] + ((logoCol ? logoCol[i] : 0) - mapCol[i]) * k;
}
pGeo.attributes.position.needsUpdate = true;
pGeo.attributes.color.needsUpdate = true;
for (let p = 0; p < pairs.length; p++) { const i = pairs[p]; lPos.set([pos[i * 3], pos[i * 3 + 1], pos[i * 3 + 2]], p * 3); }
lGeo.attributes.position.needsUpdate = true;
lastK = k;
}
const fade = Math.max(0, 1 - k * 2.5); // map details vanish early in the morph and return late
lMat.opacity = 0.22 * fade;
furniture.forEach((f) => { f.m.opacity = f.o * fade; });
pMat.size = 0.06 + (logoDot - 0.06) * k;
// turn gently on the map; face the viewer squarely while showing the logos
const swayY = (Math.sin(t * 0.25) * 0.35 + mouse.x * 0.25) * (1 - k);
const swayX = (-0.12 + mouse.y * 0.12) * (1 - k);
group.rotation.y += (swayY - group.rotation.y) * 0.06; group.rotation.y += (swayY - group.rotation.y) * 0.06;
group.rotation.x += (swayX - group.rotation.x) * 0.06; group.rotation.x += (swayX - group.rotation.x) * 0.06;
rings.forEach((r) => r.scale.setScalar(1 + 0.25 * Math.sin(t * 2.4))); rings.forEach((r) => r.scale.setScalar(1 + 0.25 * Math.sin(t * 2.4)));
@@ -291,7 +169,7 @@ function init() {
if (!l.el) return; if (!l.el) return;
tmp.copy(l.v).applyMatrix4(group.matrixWorld).project(camera); tmp.copy(l.v).applyMatrix4(group.matrixWorld).project(camera);
l.el.style.transform = `translate(${((tmp.x + 1) / 2) * w + 14}px, ${((1 - tmp.y) / 2) * h}px) translateY(-50%)`; l.el.style.transform = `translate(${((tmp.x + 1) / 2) * w + 14}px, ${((1 - tmp.y) / 2) * h}px) translateY(-50%)`;
l.el.classList.toggle("show", group.visible && fade > 0.5); l.el.classList.add("show");
}); });
} }
+7 -10
View File
@@ -61,9 +61,12 @@
header.innerHTML = header.innerHTML =
'<div class="wrap nav">' + '<div class="wrap nav">' +
'<a class="brand" href="' + root + '" aria-label="ICOSIN home">' + '<a class="brand" href="' + root + '" aria-label="ICOSIN home">' +
'<img src="' + root + 'assets/img/icosin-mark.png" alt="" width="40" height="39">' +
"<span><b>ICOSIN</b><small>Int'l Conference on Smart Informatics</small></span>" + "<span><b>ICOSIN</b><small>Int'l Conference on Smart Informatics</small></span>" +
"</a>" + "</a>" +
'<span class="nav-flags" title="Indonesia × Malaysia">' +
'<span class="flag" role="img" aria-label="Indonesia"><svg viewBox="0 0 28 14" aria-hidden="true"><rect width="28" height="14" fill="#fff"/><rect width="28" height="7" fill="#ce1126"/></svg></span>' +
'<span class="flag" role="img" aria-label="Malaysia"><svg viewBox="0 0 28 14" aria-hidden="true"><rect width="28" height="14" fill="#fff"/><rect y="0" width="28" height="1" fill="#cc0001"/><rect y="2" width="28" height="1" fill="#cc0001"/><rect y="4" width="28" height="1" fill="#cc0001"/><rect y="6" width="28" height="1" fill="#cc0001"/><rect y="8" width="28" height="1" fill="#cc0001"/><rect y="10" width="28" height="1" fill="#cc0001"/><rect y="12" width="28" height="1" fill="#cc0001"/><rect width="14" height="8" fill="#010066"/><circle cx="5.6" cy="4" r="3" fill="#fc0"/><circle cx="6.4" cy="4" r="2.6" fill="#010066"/><polygon fill="#fc0" points="10.40,1.70 10.61,3.07 11.40,1.93 10.99,3.26 12.20,2.57 11.26,3.59 12.64,3.49 11.35,4.00 12.64,4.51 11.26,4.41 12.20,5.43 10.99,4.74 11.40,6.07 10.61,4.93 10.40,6.30 10.19,4.93 9.40,6.07 9.81,4.74 8.60,5.43 9.54,4.41 8.16,4.51 9.45,4.00 8.16,3.49 9.54,3.59 8.60,2.57 9.81,3.26 9.40,1.93 10.19,3.07"/></svg></span>' +
"</span>" +
'<ul class="nav-links">' + desktop + '<ul class="nav-links">' + desktop +
'<li class="nav-cta"><a class="btn btn-primary btn-sm" href="' + cfp + '" target="_blank" rel="noopener">Author Portal</a></li>' + '<li class="nav-cta"><a class="btn btn-primary btn-sm" href="' + cfp + '" target="_blank" rel="noopener">Author Portal</a></li>' +
"</ul>" + "</ul>" +
@@ -85,9 +88,6 @@
} }
/* ---------- footer ---------- */ /* ---------- footer ---------- */
function logoTile(file, alt, wide) {
return '<div class="logo-tile' + (wide ? " wide" : "") + '"><img src="' + root + "assets/img/logos/" + file + '" alt="' + esc(alt) + '" loading="lazy"></div>';
}
var footer = document.getElementById("site-footer"); var footer = document.getElementById("site-footer");
if (footer) { if (footer) {
footer.className = "site-footer"; footer.className = "site-footer";
@@ -95,9 +95,8 @@
'<div class="wrap">' + '<div class="wrap">' +
'<div class="foot-grid">' + '<div class="foot-grid">' +
"<div>" + "<div>" +
'<a class="brand" href="' + root + '"><img src="' + root + 'assets/img/icosin-mark.png" alt="" width="40" height="39"><span><b>ICOSIN</b><small>Int\'l Conference on Smart Informatics</small></span></a>' + '<a class="brand" href="' + root + '"><span><b>ICOSIN</b><small>Int\'l Conference on Smart Informatics</small></span></a>' +
'<p style="margin-top:16px;max-width:380px">An annual international conference on artificial intelligence, informatics and computing, organized by the ' + esc(D.owner.name) + ", Pontianak — on the Equator, in the heart of Borneo.</p>" + '<p style="margin-top:16px;max-width:380px">An annual international conference on artificial intelligence, informatics and computing, organized by the ' + esc(D.owner.name) + ", Pontianak — on the Equator, in the heart of Borneo.</p>" +
'<div class="foot-owner">' + D.owner.logos.map(function (l) { return logoTile(l.file, l.alt, l.wide); }).join("") + "</div>" +
"</div>" + "</div>" +
"<div><h4>Conference</h4><ul>" + "<div><h4>Conference</h4><ul>" +
'<li><a href="' + root + Y + '">ICOSIN ' + ed.year + "</a></li>" + '<li><a href="' + root + Y + '">ICOSIN ' + ed.year + "</a></li>" +
@@ -178,11 +177,9 @@
/* Partners of the edition, grouped by role */ /* Partners of the edition, grouped by role */
document.querySelectorAll("[data-render=partners]").forEach(function (el) { document.querySelectorAll("[data-render=partners]").forEach(function (el) {
el.className += " logo-strip"; el.className += " partner-list";
el.innerHTML = ed.partners.map(function (p) { el.innerHTML = ed.partners.map(function (p) {
return '<div class="logo-group"><h4>' + esc(p.role) + '</h4><div class="row">' + return '<div class="partner"><h4>' + esc(p.role) + "</h4><p>" + esc(p.name) + "</p></div>";
p.logos.map(function (f) { return logoTile(f, p.name, /informatika/.test(f)); }).join("") +
"</div><p>" + esc(p.name) + "</p></div>";
}).join(""); }).join("");
}); });
+3 -3
View File
@@ -20,7 +20,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="../assets/css/style.css"> <link rel="stylesheet" href="../assets/css/style.css?v=13">
</head> </head>
<body data-root="../" data-page="authors"> <body data-root="../" data-page="authors">
<header id="site-header"></header> <header id="site-header"></header>
@@ -89,7 +89,7 @@
<footer id="site-footer"></footer> <footer id="site-footer"></footer>
<script src="../data/editions.js"></script> <script src="../data/editions.js?v=13"></script>
<script src="../assets/js/site.js"></script> <script src="../assets/js/site.js?v=13"></script>
</body> </body>
</html> </html>
+3 -3
View File
@@ -20,7 +20,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="../assets/css/style.css"> <link rel="stylesheet" href="../assets/css/style.css?v=13">
</head> </head>
<body data-root="../" data-page="committee"> <body data-root="../" data-page="committee">
<header id="site-header"></header> <header id="site-header"></header>
@@ -113,7 +113,7 @@
<footer id="site-footer"></footer> <footer id="site-footer"></footer>
<script src="../data/editions.js"></script> <script src="../data/editions.js?v=13"></script>
<script src="../assets/js/site.js"></script> <script src="../assets/js/site.js?v=13"></script>
</body> </body>
</html> </html>
+3 -3
View File
@@ -20,7 +20,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="../assets/css/style.css"> <link rel="stylesheet" href="../assets/css/style.css?v=13">
</head> </head>
<body data-root="../" data-page="contact"> <body data-root="../" data-page="contact">
<header id="site-header"></header> <header id="site-header"></header>
@@ -99,7 +99,7 @@
<footer id="site-footer"></footer> <footer id="site-footer"></footer>
<script src="../data/editions.js"></script> <script src="../data/editions.js?v=13"></script>
<script src="../assets/js/site.js"></script> <script src="../assets/js/site.js?v=13"></script>
</body> </body>
</html> </html>
+3 -7
View File
@@ -15,11 +15,7 @@ window.ICOSIN = {
owner: { owner: {
name: "Department of Informatics, Universitas Tanjungpura", name: "Department of Informatics, Universitas Tanjungpura",
short: "Informatika UNTAN", short: "Informatika UNTAN",
url: "https://informatika.untan.ac.id/", url: "https://informatika.untan.ac.id/"
logos: [
{ file: "untan.png", alt: "Universitas Tanjungpura" },
{ file: "informatika-untan.png", alt: "Informatika Universitas Tanjungpura", wide: true }
]
}, },
editions: { editions: {
"2026": { "2026": {
@@ -37,8 +33,8 @@ window.ICOSIN = {
status: "Submissions closed · Reviews in progress", status: "Submissions closed · Reviews in progress",
partners: [ partners: [
{ role: "Organizer", name: "Department of Informatics, Universitas Tanjungpura", logos: ["untan.png", "informatika-untan.png"] }, { role: "Organizer", name: "Department of Informatics, Universitas Tanjungpura" },
{ role: "Co-host", name: "Universiti Malaysia Sarawak (UNIMAS)", logos: ["unimas.png"] } { role: "Co-host", name: "Universiti Malaysia Sarawak (UNIMAS)" }
], ],
generalChair: { generalChair: {
+4 -4
View File
@@ -20,7 +20,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="assets/css/style.css"> <link rel="stylesheet" href="assets/css/style.css?v=13">
</head> </head>
<body data-root="" data-page="home"> <body data-root="" data-page="home">
<header id="site-header"></header> <header id="site-header"></header>
@@ -154,8 +154,8 @@
<footer id="site-footer"></footer> <footer id="site-footer"></footer>
<script src="data/editions.js"></script> <script src="data/editions.js?v=13"></script>
<script src="assets/js/site.js"></script> <script src="assets/js/site.js?v=13"></script>
<script type="module" src="assets/js/hero.js?v=12"></script> <script type="module" src="assets/js/hero.js?v=13"></script>
</body> </body>
</html> </html>
+3 -3
View File
@@ -20,7 +20,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="../assets/css/style.css"> <link rel="stylesheet" href="../assets/css/style.css?v=13">
</head> </head>
<body data-root="../" data-page="past"> <body data-root="../" data-page="past">
<header id="site-header"></header> <header id="site-header"></header>
@@ -58,7 +58,7 @@
<footer id="site-footer"></footer> <footer id="site-footer"></footer>
<script src="../data/editions.js"></script> <script src="../data/editions.js?v=13"></script>
<script src="../assets/js/site.js"></script> <script src="../assets/js/site.js?v=13"></script>
</body> </body>
</html> </html>
+3 -3
View File
@@ -20,7 +20,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="../assets/css/style.css"> <link rel="stylesheet" href="../assets/css/style.css?v=13">
</head> </head>
<body data-root="../" data-page="proceedings"> <body data-root="../" data-page="proceedings">
<header id="site-header"></header> <header id="site-header"></header>
@@ -152,7 +152,7 @@
<footer id="site-footer"></footer> <footer id="site-footer"></footer>
<script src="../data/editions.js"></script> <script src="../data/editions.js?v=13"></script>
<script src="../assets/js/site.js"></script> <script src="../assets/js/site.js?v=13"></script>
</body> </body>
</html> </html>
+3 -3
View File
@@ -20,7 +20,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="../assets/css/style.css"> <link rel="stylesheet" href="../assets/css/style.css?v=13">
</head> </head>
<body data-root="../" data-page="committee"> <body data-root="../" data-page="committee">
<header id="site-header"></header> <header id="site-header"></header>
@@ -98,7 +98,7 @@
<footer id="site-footer"></footer> <footer id="site-footer"></footer>
<script src="../data/editions.js"></script> <script src="../data/editions.js?v=13"></script>
<script src="../assets/js/site.js"></script> <script src="../assets/js/site.js?v=13"></script>
</body> </body>
</html> </html>