deploy
|
Before Width: | Height: | Size: 176 KiB After Width: | Height: | Size: 174 KiB |
@@ -108,21 +108,11 @@
|
||||
transition: transform 240ms ease, filter 240ms ease;
|
||||
}
|
||||
|
||||
.hero-universe .hero-ground,
|
||||
.hero-universe .hero-links {
|
||||
.hero-universe .hero-ground {
|
||||
translate: var(--hero-ground-x, 0px) var(--hero-ground-y, 0px);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.hero-universe .hero-links {
|
||||
opacity: .72;
|
||||
transition: filter 300ms ease;
|
||||
}
|
||||
|
||||
.hero-universe .hero-network-active > .hero-links {
|
||||
filter: brightness(1.16) drop-shadow(0 0 2px rgba(126, 207, 196, 0.22));
|
||||
}
|
||||
|
||||
.hero-universe .hero-div > a.hero-selected > img {
|
||||
transform: none;
|
||||
filter: brightness(1.04) drop-shadow(0 0 3px rgba(147, 213, 204, 0.18));
|
||||
@@ -194,8 +184,7 @@
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.hero-universe .hero-div > a > img,
|
||||
.hero-universe .hero-div > a > span,
|
||||
.hero-universe .hero-ground,
|
||||
.hero-universe .hero-links {
|
||||
.hero-universe .hero-ground {
|
||||
translate: none;
|
||||
rotate: none;
|
||||
transition: none;
|
||||
@@ -227,7 +216,8 @@
|
||||
}
|
||||
|
||||
.hero-universe .hero-objects-canvas[hidden] {
|
||||
display: none;
|
||||
/* Three.js sets display:block inline; the fallback must hide its last frame. */
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Original art is a complete fallback; labels and hit areas remain native HTML. */
|
||||
@@ -238,7 +228,7 @@
|
||||
/* Immediate preference response also covers an already-paused animation clock. */
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.hero-universe .hero-objects-canvas,
|
||||
.hero-universe .hero-motion-toggle { display: none; }
|
||||
.hero-universe .hero-motion-toggle { display: none !important; }
|
||||
.hero-universe .hero-div img.hero-replaced { opacity: 1; }
|
||||
.hero-three-active .hero-stars { visibility: visible; }
|
||||
}
|
||||
233
assets/home/087f217bf2136799/javascripts/hero-flow-links.js
Normal file
@@ -0,0 +1,233 @@
|
||||
import * as THREE from './vendor/three/three.module.min.js';
|
||||
|
||||
// Art-directed spines in the original 1562 x 1134 composition. The open oval,
|
||||
// two inward sweeps and bottom title gap are retained; these are 3D curves,
|
||||
// not a sampled image and not a graph of straight planet-to-planet chords.
|
||||
const spines = [
|
||||
{from:'backtracking', to:'divide_and_conquer', via:['searching'], points:[[59,484,-26],[150,245,-8],[440,92,-42],[581,92,-18]], spread:44},
|
||||
{from:'backtracking', to:'greedy', via:['dynamic_programming'], points:[[59,484,-20],[-37,736,-28],[97,946,-28],[378,1072,-24]], spread:46},
|
||||
{from:'heap', to:'stack_and_queue', via:['tree','array_and_linkedlist'], points:[[1357,136,-22],[1630,515,14],[1550,965,-40],[1104,1118,-24]], spread:44},
|
||||
{from:'graph', to:'tree', points:[[1024,90,-30],[1210,165,-10],[1370,245,-36],[1478,419,-20]], spread:40},
|
||||
{from:'sorting', to:'divide_and_conquer', points:[[355,549,-24],[390,370,4],[525,175,-36],[581,92,-18]], spread:44},
|
||||
{from:'hashing', to:'tree', points:[[1123,406,-20],[1260,405,-32],[1320,415,6],[1478,419,-22]], spread:34},
|
||||
{from:'hashing', to:'array_and_linkedlist', points:[[1123,406,-24],[1280,545,4],[1390,665,-38],[1442,817,-20]], spread:42},
|
||||
];
|
||||
|
||||
export function createFlowLinks(targets) {
|
||||
if (!targets.length) return null;
|
||||
const positions=[],tangents=[],styles=[],paths=[],fractions=[],bindings=[],motions=[],indices=[];
|
||||
const strands=17,segments=72;
|
||||
const random = n => {const x=Math.sin(n*127.1+311.7)*43758.5453;return x-Math.floor(x);};
|
||||
|
||||
spines.forEach((definition, route) => {
|
||||
const {points:[a,b,c,d]}=definition;
|
||||
const routeSeed=701+route*43;
|
||||
const spread=definition.spread*(.92+.16*random(routeSeed));
|
||||
const mirrored=random(routeSeed+1)>.5;
|
||||
const primary=mirrored?2:14,echo=16-primary;
|
||||
const brushLanes=[4+Math.floor(random(routeSeed+2)*2),7+Math.floor(random(routeSeed+3)*2),10];
|
||||
const dominant=brushLanes[Math.floor(random(routeSeed+4)*brushLanes.length)];
|
||||
const fanPhase=random(routeSeed+5)*Math.PI*2;
|
||||
const curve=new THREE.CubicBezierCurve3(...[a,b,c,d].map(([x,y,z])=>new THREE.Vector3(x-781,567-y,z)));
|
||||
curve.arcLengthDivisions=256;
|
||||
const length=curve.getLength();
|
||||
// Seed once per route: geometry and timing stay stable on pause / resize.
|
||||
const phase=random(routeSeed+6);
|
||||
const speed=66+random(routeSeed+7)*38;
|
||||
const gap=500+random(routeSeed+8)*300;
|
||||
const tailLength=Math.min(42+random(routeSeed+9)*42,length*(.065+.04*random(routeSeed+10)));
|
||||
const headLength=3.2+random(routeSeed+11)*2.5;
|
||||
for(let lane=0;lane<strands;lane++) {
|
||||
const seed=route*strands+lane+1;
|
||||
const logicalLane=mirrored?16-lane:lane;
|
||||
const brush=brushLanes.includes(logicalLane);
|
||||
const rank=(lane-8+(random(seed+31)-.5)*.3)/8;
|
||||
const vertices=[];
|
||||
for(let j=0;j<=segments;j++) {
|
||||
const u=j/segments;
|
||||
const point=curve.getPointAt(u),tangent=curve.getTangentAt(u);
|
||||
const normal=new THREE.Vector3(-tangent.y,tangent.x,0).normalize();
|
||||
// Unequal strand spacing, subtle crossings and tapered bundles give the
|
||||
// original brushwork's character without moving an entire bright band.
|
||||
const fan=route===5 ? 1 : .88+.10*Math.sin(Math.PI*u+fanPhase);
|
||||
const offset=rank*spread*.5*fan + Math.sin((route===5?0:u*Math.PI*2)+seed)*.7;
|
||||
point.addScaledVector(normal,offset);
|
||||
point.z+=Math.sin(seed*2.4+u*Math.PI)*spread*.2;
|
||||
vertices.push(point);
|
||||
}
|
||||
const distances=[0];
|
||||
for(let j=1;j<=segments;j++)distances.push(distances[j-1]+vertices[j].distanceTo(vertices[j-1]));
|
||||
const strandLength=distances[segments];
|
||||
const offset=positions.length/3;
|
||||
for(let j=0;j<=segments;j++) {
|
||||
const u=j/segments;
|
||||
const direction=vertices[Math.min(segments,j+1)].clone().sub(vertices[Math.max(0,j-1)]).normalize();
|
||||
// Broad painted strokes live among hairline bristles, as in the art.
|
||||
// Keep the travelling filament narrow even where the painted body widens.
|
||||
const baseWidth=lane===primary?1.2+.5*random(routeSeed+12)
|
||||
:brush?(logicalLane===dominant?4.1+random(seed+4)*1.0:2.7+random(seed+4)*1.5)
|
||||
:.65+random(seed+4)*.7;
|
||||
const width=baseWidth*((lane===primary?.92:.78)
|
||||
+(lane===primary?.08:.22)*Math.sin(u*(5.+random(seed+6)*4.)+random(seed+7)*Math.PI*2));
|
||||
const intensity=lane===primary?.15:brush?.62+random(seed+23)*.12:.40+random(seed+23)*.18;
|
||||
// Broad strokes and moving light keep separate tracks even when mirrored.
|
||||
const emissive=lane===primary?1.5+.35*random(routeSeed+13):(lane===echo?.18+.08*random(routeSeed+14):0.);
|
||||
for(const side of [-1,1]) {
|
||||
positions.push(...vertices[j].toArray());tangents.push(...direction.toArray());
|
||||
// One shared progress per bundle, measured on each strand's own arc.
|
||||
// A rank-dependent head offset made short links look like sideways sweeps.
|
||||
paths.push(distances[j],side,strandLength,phase);
|
||||
styles.push(width,intensity,length,emissive);
|
||||
fractions.push(j/segments,random(seed+54),spread/(strands-1));
|
||||
bindings.push(route,u,lane,brush?1:0);
|
||||
motions.push(speed,gap,tailLength,headLength);
|
||||
}
|
||||
if(j<segments){const v=offset+j*2;indices.push(v,v+1,v+2,v+1,v+3,v+2);}
|
||||
}
|
||||
}
|
||||
});
|
||||
const geometry=new THREE.BufferGeometry();
|
||||
geometry.setAttribute('position',new THREE.Float32BufferAttribute(positions,3));
|
||||
geometry.setAttribute('curveTangent',new THREE.Float32BufferAttribute(tangents,3));
|
||||
geometry.setAttribute('pathStyle',new THREE.Float32BufferAttribute(paths,4));
|
||||
geometry.setAttribute('strandStyle',new THREE.Float32BufferAttribute(styles,4));
|
||||
geometry.setAttribute('fraction',new THREE.Float32BufferAttribute(fractions,3));
|
||||
geometry.setAttribute('binding',new THREE.Float32BufferAttribute(bindings,4));
|
||||
geometry.setAttribute('flowStyle',new THREE.Float32BufferAttribute(motions,4));
|
||||
geometry.setIndex(indices);
|
||||
const uniforms={
|
||||
time:{value:0},unit:{value:1},pixelRatio:{value:1},viewShift:{value:new THREE.Vector2()},
|
||||
routeEmphasis:{value:spines.map(()=>0)},selectionActive:{value:0},
|
||||
startShift:{value:spines.map(()=>new THREE.Vector3())},
|
||||
endShift:{value:spines.map(()=>new THREE.Vector3())},
|
||||
teal:{value:new THREE.Color('#479d9d')},
|
||||
pearl:{value:new THREE.Color('#def9ef')},
|
||||
glow:{value:new THREE.Color('#effffb')},
|
||||
blush:{value:new THREE.Color('#d7bab1')},
|
||||
};
|
||||
const material=new THREE.ShaderMaterial({
|
||||
uniforms,transparent:true,depthTest:true,depthWrite:false,side:THREE.DoubleSide,
|
||||
vertexShader:`
|
||||
attribute vec3 curveTangent;
|
||||
attribute vec4 pathStyle, strandStyle;
|
||||
attribute vec3 fraction;
|
||||
attribute vec4 binding,flowStyle;
|
||||
uniform float routeEmphasis[${spines.length}];
|
||||
uniform vec3 startShift[${spines.length}],endShift[${spines.length}];
|
||||
uniform vec2 viewShift;
|
||||
uniform float unit,pixelRatio;
|
||||
varying vec4 travel, strand, motion;
|
||||
varying vec2 shape, along;
|
||||
varying float highlight,filamentOpacity,painted;
|
||||
void main(){
|
||||
vec3 point=(modelMatrix*vec4(position,1.)).xyz;
|
||||
vec3 tangent=(modelMatrix*vec4(curveTangent,0.)).xyz;
|
||||
int route=int(binding.x);
|
||||
// Emphasize the complete connected bundle, not just pixels near a globe.
|
||||
highlight=routeEmphasis[route];
|
||||
float u=binding.y;
|
||||
float blend=u*u*(3.-2.*u);
|
||||
vec3 anchored=mix(startShift[route],endShift[route],blend);
|
||||
vec3 anchorSlope=(endShift[route]-startShift[route])*6.*u*(1.-u)/strandStyle.z;
|
||||
// Endpoint-only deformation preserves the oval's curvature; local
|
||||
// Gaussian attraction to passing planets introduced bends in the spine.
|
||||
point+=anchored;
|
||||
tangent+=anchorSlope;
|
||||
point.xy+=viewShift*point.z*.035;
|
||||
tangent.xy+=viewShift*tangent.z*.035;
|
||||
vec2 normal=normalize(vec2(-tangent.y,tangent.x));
|
||||
float core=max(.28,strandStyle.x*unit*.65)*(1.+.18*highlight);
|
||||
float halfWidth=core+max(.9,2.5*unit);
|
||||
point.xy+=normal*pathStyle.y*halfWidth;
|
||||
travel=pathStyle;strand=strandStyle;motion=flowStyle;painted=binding.w;shape=vec2(core,halfWidth);along=fraction.xy;
|
||||
// Fade interleaved strands before their spacing falls below a pixel.
|
||||
// Keeping all 17 at low DPR produced diagonal moire between filaments.
|
||||
float gap=fraction.z*unit*pixelRatio;
|
||||
filamentOpacity=1.;
|
||||
if(mod(binding.z,2.)>.5)filamentOpacity*=smoothstep(1.,1.6,gap);
|
||||
if(mod(binding.z,4.)>1.5)filamentOpacity*=smoothstep(1.,1.6,gap*2.);
|
||||
if(mod(binding.z,8.)>3.5)filamentOpacity*=smoothstep(1.,1.6,gap*4.);
|
||||
if(binding.w>.5||strandStyle.w>1.)filamentOpacity=1.;
|
||||
gl_Position=projectionMatrix*viewMatrix*vec4(point,1.);
|
||||
}`,
|
||||
fragmentShader:`
|
||||
uniform float time,unit,selectionActive;
|
||||
uniform vec3 teal,pearl,glow,blush;
|
||||
varying vec4 travel,strand,motion;
|
||||
varying vec2 shape,along;
|
||||
varying float highlight,filamentOpacity,painted;
|
||||
void main(){
|
||||
float across=abs(travel.y)*shape.y;
|
||||
// Differentiate the signed ribbon coordinate before taking abs. Across
|
||||
// the centreline, abs cancels neighbouring pixel derivatives and turns
|
||||
// thin filaments into diagonal, braided-looking antialiasing bands.
|
||||
float aa=max(fwidth(travel.y)*shape.y,.35);
|
||||
float signedAcross=travel.y*shape.y;
|
||||
float core=clamp((signedAcross+shape.x)/aa+.5,0.,1.)
|
||||
-clamp((signedAcross-shape.x)/aa+.5,0.,1.);
|
||||
float halo=exp(-across*across/max(shape.y*shape.y*.32,.01));
|
||||
halo*=1.-smoothstep(.75,1.,abs(travel.y));
|
||||
// A compact leading glint with a length-scaled filament tail. Speed is
|
||||
// in art-space distance, with a seeded cadence for each bundle.
|
||||
float cycle=strand.z+motion.y;
|
||||
float progress=(mod(time*motion.x+travel.w*cycle,cycle)-150.)/strand.z;
|
||||
float behind=progress*travel.z-travel.x;
|
||||
float tailLength=motion.z;
|
||||
float tail=smoothstep(-3.,2.,behind)*exp(-max(behind,0.)/tailLength)
|
||||
*(1.-smoothstep(tailLength*2.,tailLength*3.2,behind));
|
||||
float glint=exp(-pow(behind/motion.w,2.));
|
||||
float pulse=strand.w*(tail+.65*glint);
|
||||
float density=min(1.,unit/.55);
|
||||
float brush=painted;
|
||||
float notch=abs(along.x-(.18+.64*along.y));
|
||||
float dry=smoothstep(.004,.014,notch);
|
||||
float quiet=core*strand.y*(.95+.85*highlight)*mix(1.,.12+.88*dry,brush);
|
||||
float light=pulse*(core*.90+halo*.38)*(1.+.25*highlight);
|
||||
float ends=smoothstep(0.,.035,along.x)*smoothstep(0.,.035,1.-along.x);
|
||||
float hoverHalo=halo*.09*highlight*brush;
|
||||
float context=1.-.22*selectionActive*(1.-highlight);
|
||||
float alpha=(quiet+light+hoverHalo)*density*ends*filamentOpacity*context;
|
||||
// A continuous blue-green / pearl ground leaves the brightest white
|
||||
// for the travelling edge filament, with no isolated pigment blocks.
|
||||
vec3 ink=mix(teal,pearl,.18+.36*along.y);
|
||||
ink=mix(ink,blush,smoothstep(.84,.97,along.y)*.55);
|
||||
vec3 paint=mix(teal,pearl,.68+.06*sin(along.x*5.+along.y));
|
||||
vec3 color=mix(ink,paint,brush);
|
||||
color=mix(color,glow,min(.97,pulse*.72+.32*highlight));
|
||||
gl_FragColor=vec4(color,min(alpha,.98));
|
||||
#include <colorspace_fragment>
|
||||
}`,
|
||||
});
|
||||
const mesh=new THREE.Mesh(geometry,material);
|
||||
mesh.name='hero-flow-links';mesh.frustumCulled=false;mesh.renderOrder=-1;
|
||||
const byName=new Map(targets.map(target=>[target.name,target]));
|
||||
function attach(shift,target,point,scale){
|
||||
if(!target){shift.set(0,0,0);return;}
|
||||
target.sphere.getWorldPosition(shift);
|
||||
shift.z-=target.sphere.scale.x*target.root.scale.x*.15;
|
||||
shift.x-=(point[0]-781)*scale+mesh.position.x;
|
||||
shift.y-=(567-point[1])*scale+mesh.position.y;
|
||||
shift.z-=point[2]*scale;
|
||||
}
|
||||
return {
|
||||
mesh,
|
||||
update(time,width,height,pointer={x:0,y:0},pixelRatio=1){
|
||||
// Composition box is explicit: no hidden legacy image owns layout.
|
||||
const boxHeight=Math.round(height*.78751),boxWidth=Math.round(height*.78751*1562/1134);
|
||||
const scale=boxWidth/1562;
|
||||
uniforms.time.value=time;uniforms.unit.value=scale;uniforms.pixelRatio.value=pixelRatio;
|
||||
uniforms.viewShift.value.set(pointer.x,pointer.y);
|
||||
mesh.scale.setScalar(scale);
|
||||
mesh.position.set(Math.round(width*.10545)+boxWidth/2-width/2,
|
||||
height/2-Math.round(height*.07326)-boxHeight/2,0);
|
||||
spines.forEach(({from,to,via=[],points},i)=>{
|
||||
attach(uniforms.startShift.value[i],byName.get(from),points[0],scale);
|
||||
attach(uniforms.endShift.value[i],byName.get(to),points[3],scale);
|
||||
uniforms.routeEmphasis.value[i]=Math.max(...[from,...via,to].map(name=>
|
||||
byName.get(name)?.material.uniforms.emphasis.value||0));
|
||||
});
|
||||
uniforms.selectionActive.value=Math.max(...uniforms.routeEmphasis.value);
|
||||
},
|
||||
dispose(){mesh.removeFromParent();geometry.dispose();material.dispose();},
|
||||
};
|
||||
}
|
||||
@@ -1,9 +1,18 @@
|
||||
import * as THREE from "./vendor/three/three.module.min.js";
|
||||
import { planets, createPlanet, loadPlanetPaint, disposePlanetPaint } from "./hero-surfaces.js";
|
||||
import { createFlowLinks } from "./hero-flow-links.js";
|
||||
|
||||
// The illustration supplies composition; each globe is independently lit and rotates fully.
|
||||
export function createPlanets(map, items, onRestore, restoreImage = () => {}) {
|
||||
const targets=planets.map(d=>({...d,item:items.find(i=>i.image.dataset.heroAsset === 'chapter_'+d.name)})).filter(d=>d.item);
|
||||
// Stable pseudo-random handedness: each globe keeps its direction across
|
||||
// reload, pause and resize, while neighbouring globes need not share it.
|
||||
targets.forEach(target=>{
|
||||
let hash=2166136261;
|
||||
for(const char of target.name)hash=Math.imul(hash^char.charCodeAt(0),16777619);
|
||||
hash=Math.imul(hash^(hash>>>16),0x85ebca6b);
|
||||
target.spinDirection=((hash^(hash>>>13))>>>0)%2 ? 1 : -1;
|
||||
});
|
||||
const hero=map.closest('.home-div');
|
||||
const renderer=new THREE.WebGLRenderer({alpha:true,antialias:true,powerPreference:'low-power'});
|
||||
renderer.setClearColor(0x000000,0);renderer.domElement.className='hero-objects-canvas';
|
||||
@@ -12,7 +21,7 @@ export function createPlanets(map, items, onRestore, restoreImage = () => {}) {
|
||||
const scene=new THREE.Scene(),camera=new THREE.OrthographicCamera(-1,1,1,-1,.1,5000);
|
||||
camera.position.z=2000;
|
||||
map.insertBefore(renderer.domElement,map.querySelector(':scope > a'));
|
||||
let width=0,height=0,lost=false,disposed=false,ready=false,lastTime=0,startTime=null;
|
||||
let width=0,height=0,lost=false,disposed=false,ready=false,lastTime=0,startTime=null,flowLinks=null;
|
||||
const showOriginal=(show,load=false)=>{
|
||||
if(load)targets.forEach(({item})=>restoreImage(item.image));
|
||||
renderer.domElement.hidden=show;hero.classList.toggle('hero-three-active',!show);
|
||||
@@ -24,6 +33,10 @@ export function createPlanets(map, items, onRestore, restoreImage = () => {}) {
|
||||
renderer.setSize(Math.max(width,1),Math.max(height,1),false);
|
||||
camera.left=-width/2;camera.right=width/2;camera.top=height/2;camera.bottom=-height/2;camera.updateProjectionMatrix();
|
||||
for(const target of targets){const i=target.item.image;target.rect={x:i.offsetLeft,y:i.offsetTop,width:i.offsetWidth,height:i.offsetHeight};
|
||||
const sourceHeight=Number(i.dataset.sourceHeight || i.naturalHeight);
|
||||
const radius=(target.circle?.[2] || Math.min(Number(i.dataset.sourceWidth || i.naturalWidth),sourceHeight)/2);
|
||||
// Use composition-relative globe size, excluding rings and viewport scale.
|
||||
target.spinPeriod=18+720*(radius*target.rect.height/sourceHeight/Math.max(height,1));
|
||||
}
|
||||
}
|
||||
function render(time,enabled,pointer={x:0,y:0}){
|
||||
@@ -36,13 +49,15 @@ export function createPlanets(map, items, onRestore, restoreImage = () => {}) {
|
||||
root.scale.setScalar(rect.height/Number(item.image.dataset.sourceHeight || item.image.naturalHeight));
|
||||
root.position.set(rect.x+rect.width/2+item.x-width/2,height/2-rect.y-rect.height/2-item.y,0);
|
||||
root.rotation.set(pointer.y*.035,pointer.x*.045,-item.angle*Math.PI/180);
|
||||
sphere.rotation.y=(time-startTime)*Math.PI*2/target.period;
|
||||
sphere.rotation.y=(time-startTime)*Math.PI*2/target.spinPeriod*target.spinDirection;
|
||||
if(target.moon)target.moon.rotation.y=sphere.rotation.y*2;
|
||||
material.uniforms.emphasis.value+=((selected?1:0)-material.uniforms.emphasis.value)*emphasisBlend;
|
||||
}
|
||||
scene.updateMatrixWorld(true);
|
||||
flowLinks?.update(time,width,height,pointer,renderer.getPixelRatio());
|
||||
renderer.render(scene,camera);showOriginal(false);
|
||||
Object.assign(renderer.domElement.dataset,{drawCalls:String(renderer.info.render.calls),triangles:String(renderer.info.render.triangles),
|
||||
art:'reference-authored-albedo',network:'original-brushwork',rotation:'continuous-360'});
|
||||
art:'reference-authored-albedo',network:'three-brush-strands',rotation:'continuous-360'});
|
||||
}
|
||||
const onLost=event=>{event.preventDefault();lost=true;showOriginal(true,true);};
|
||||
const onRestored=()=>{lost=false;resize();onRestore();};
|
||||
@@ -52,10 +67,12 @@ export function createPlanets(map, items, onRestore, restoreImage = () => {}) {
|
||||
const failure=results.find(r=>r.status==='rejected');if(failure)throw failure.reason;
|
||||
if(disposed)return;
|
||||
for(const target of targets){Object.assign(target,createPlanet(target.item.image,target,target.paintMap));scene.add(target.root);}
|
||||
flowLinks=createFlowLinks(targets);
|
||||
if(flowLinks)scene.add(flowLinks.mesh);
|
||||
ready=true;resize();onRestore();
|
||||
}).catch(error=>{if(!disposed){targets.forEach(t=>{disposePlanetPaint(t.paintMap);t.paintMap=null;});showOriginal(true,true);console.warn('Original planets retained: paint unavailable.',error);}});
|
||||
return {resize,render,ready:readyPromise,dispose(){
|
||||
disposed=true;showOriginal(true,true);
|
||||
disposed=true;showOriginal(true,true);flowLinks?.dispose();flowLinks=null;
|
||||
renderer.domElement.removeEventListener('webglcontextlost',onLost);renderer.domElement.removeEventListener('webglcontextrestored',onRestored);
|
||||
const geometries=new Set(),materials=new Set();scene.traverse(o=>{if(o.geometry)geometries.add(o.geometry);if(o.material)materials.add(o.material);});
|
||||
geometries.forEach(g=>g.dispose());materials.forEach(m=>m.dispose());targets.forEach(t=>disposePlanetPaint(t.paintMap));renderer.dispose();renderer.forceContextLoss();renderer.domElement.remove();
|
||||
@@ -17,7 +17,7 @@ export const planets = [
|
||||
{name:'graph',period:89,tilt:0.27,beltLevel:0.5,belt:[0.5,0.535,0.61,0.58,0.54,0.5,0.47,0.485,0.5],colors:['#464464','#786587','#be8d9d','#e3a493','#f2ce9b'],circle:[270,136,135],ring:[270,136,280,9,146],ringStyle:1},
|
||||
{name:'searching',period:58,tilt:0.12,beltLevel:0.5,belt:[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],colors:['#4b526d','#a7788a','#63a5a0','#a6b28c','#eddb9e']},
|
||||
{name:'sorting',period:52,tilt:-0.5,beltLevel:0.5,belt:[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],colors:['#3e3d57','#b57191','#eaa9ae','#f6df98','#fff0b5']},
|
||||
{name:'divide_and_conquer',period:94,tilt:0.58,beltLevel:0.5,belt:[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],colors:['#494a63','#b6777e','#e5a129','#f3c45c','#ffe6a1'],circle:[156,130,117],ring:[203,134,240,60,164],ringStyle:2,moon:[307,50,33]},
|
||||
{name:'divide_and_conquer',period:94,tilt:0.58,beltLevel:0.5,belt:[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],colors:['#494a63','#b6777e','#e5a129','#f3c45c','#ffe6a1'],circle:[156,130,117],ring:[203,134,224,62,152],ringStyle:2,moon:[307,50,33]},
|
||||
{name:'backtracking',period:81,tilt:-0.08,beltLevel:0.5,belt:[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],colors:['#36475c','#727887','#eead30','#c58c4d','#f7d27b'],circle:[166,115,115],ring:[173,159,173,70,126],ringStyle:3},
|
||||
{name:'dynamic_programming',period:67,tilt:0.2,beltLevel:0.5,belt:[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],colors:['#36394f','#8c4b6d','#d36959','#ed9d46','#f5cb6e']},
|
||||
{name:'greedy',period:72,tilt:-0.57,beltLevel:0.5,belt:[0.5,0.4825,0.51,0.62,0.67,0.67,0.61,0.51,0.5],colors:['#234c60','#32878d','#72b1a7','#b9bd84','#e8ba66'],circle:[135,85,83],ring:[133,101,149,61,111],ringStyle:4},
|
||||
@@ -134,7 +134,7 @@ export function createPlanet(image,d,paint) {
|
||||
if(d.ring){
|
||||
const [,y,outer,,inner]=d.ring;
|
||||
ring=new T.Mesh(new T.RingGeometry(inner,outer,256),new T.ShaderMaterial({side:T.DoubleSide,transparent:true,depthWrite:false,
|
||||
uniforms:{inner:{value:inner},outer:{value:outer},style:{value:d.ringStyle},ink:{value:new T.Color(d.ringStyle===2?'#c3d3a7':d.ringStyle===4?'#66bcb3':d.ringStyle===3?'#f5b632':d.colors[d.ringStyle===1?2:4])},dark:{value:new T.Color(d.ringStyle===0?'#bca178':d.ringStyle===2?'#986e63':d.ringStyle===4?'#e5b66a':d.ringStyle===3?'#686c80':d.colors[1])}},vertexShader:vertex,
|
||||
uniforms:{inner:{value:inner},outer:{value:outer},style:{value:d.ringStyle},ink:{value:new T.Color(d.ringStyle===0?'#c4b797':d.ringStyle===2?'#c3d3a7':d.ringStyle===4?'#66bcb3':d.ringStyle===3?'#f5b632':d.colors[d.ringStyle===1?2:4])},dark:{value:new T.Color(d.ringStyle===0?'#aa987b':d.ringStyle===2?'#b9c9a5':d.ringStyle===4?'#e5b66a':d.ringStyle===3?'#686c80':d.colors[1])}},vertexShader:vertex,
|
||||
fragmentShader:`varying vec3 p;uniform float inner;uniform float outer;uniform float style;uniform vec3 ink;uniform vec3 dark;
|
||||
// Integrate a stroke over its pixel footprint. Unresolved rings become faint
|
||||
// continuous coverage, rather than hard discard dots that shimmer in motion.
|
||||
@@ -145,7 +145,7 @@ export function createPlanet(image,d,paint) {
|
||||
float pixel=max(fwidth(t),.0005);float alpha=1.;
|
||||
vec3 color=ink;
|
||||
if(style==0.){
|
||||
// Broad cream ring: a small number of painterly layers, not a sine comb.
|
||||
// Muted sand ring: preserve painted layers without overpowering the globe.
|
||||
color=mix(ink,dark,.22*stroke(t,.18,.06,pixel));
|
||||
color=mix(color,dark,.18*stroke(t,.45,.025,pixel));
|
||||
color=mix(color,dark,.12*stroke(t,.66,.04,pixel));
|
||||
@@ -154,8 +154,17 @@ export function createPlanet(image,d,paint) {
|
||||
}else if(style==1.){
|
||||
color=mix(dark,ink,.45+.35*smoothstep(.15,.85,t));
|
||||
}else if(style==2.){
|
||||
float first=stroke(t,.12,.027,pixel),middle=stroke(t,.46,.020,pixel),last=stroke(t,.86,.024,pixel);
|
||||
alpha=max(first,max(middle,last));color=mix(ink,dark,.35*last);
|
||||
// A painted main sweep with tapered companion arcs, rather than
|
||||
// three equally weighted wire hoops. A single soft sage pigment
|
||||
// keeps the ring coherent; the shared lighting supplies depth.
|
||||
float a=atan(p.y,p.x),sage=smoothstep(-.35,.65,cos(a-.2));
|
||||
float sweep=.55+.45*smoothstep(-.98,-.55,cos(a+.7));
|
||||
float main=stroke(t,.46+.025*sin(a+.35),(.025+.065*sage)*sweep,pixel);
|
||||
float inside=stroke(t,.12+.018*sin(a),.018+.023*sage,pixel);
|
||||
float taper=smoothstep(-.85,-.3,cos(a-.6));
|
||||
float outside=stroke(t,.87+.016*cos(a),(.012+.020*sage)*taper,pixel);
|
||||
alpha=max(main,max(inside*.78,outside*.62));
|
||||
color=ink;
|
||||
}else{
|
||||
// Individually drawn, tapered sweeps. The radial curves stay in the
|
||||
// equatorial plane; angular variation gives the original ink character.
|
||||
@@ -39,9 +39,7 @@
|
||||
angle: 0,
|
||||
})).filter(item => item.image);
|
||||
const ground = map.querySelector(':scope > img[data-hero-asset="ground"]');
|
||||
const links = map.querySelector(':scope > img[data-hero-asset="links"]');
|
||||
ground?.classList.add("hero-ground");
|
||||
links?.classList.add("hero-links");
|
||||
hero.classList.add("hero-universe");
|
||||
|
||||
const canvas = document.createElement("canvas");
|
||||
@@ -119,21 +117,25 @@
|
||||
if (!ctx) return;
|
||||
ctx.clearRect(0, 0, width, height);
|
||||
for (const star of stars) {
|
||||
const drift = time * star.depth * 0.7;
|
||||
const x = wrap(star.x * width + drift + pointer.x * star.depth * 10, width + 16) - 8;
|
||||
const y = wrap(star.y * height + Math.sin(time * 0.08 + star.phase) * 2 + pointer.y * star.depth * 7, height + 16) - 8;
|
||||
const twinkle = 0.78 + Math.sin(time * star.speed + star.phase) * 0.22;
|
||||
const drift = time * star.depth * 0.35;
|
||||
const x = wrap(star.x * width + drift + pointer.x * star.depth * 10 + 8, width + 16) - 8;
|
||||
const y = wrap(star.y * height + Math.sin(time * 0.08 + star.phase) * star.depth * 2 + pointer.y * star.depth * 7 + 8, height + 16) - 8;
|
||||
const twinkle = 1 - star.breath * (0.5 + 0.5 * Math.sin(time * star.speed + star.phase));
|
||||
ctx.globalAlpha = star.opacity * twinkle;
|
||||
// Only the few near stars get a tight, soft halo; the core stays sharp.
|
||||
if (star.layer === 2) {
|
||||
const radius = star.radius * 2.2;
|
||||
const halo = ctx.createRadialGradient(x, y, 0, x, y, radius);
|
||||
halo.addColorStop(0, star.color + "24");
|
||||
halo.addColorStop(0.45, star.color + "0c");
|
||||
halo.addColorStop(1, star.color + "00");
|
||||
ctx.fillStyle = halo;
|
||||
ctx.fillRect(x - radius, y - radius, radius * 2, radius * 2);
|
||||
}
|
||||
ctx.fillStyle = star.color;
|
||||
ctx.beginPath();
|
||||
ctx.arc(x, y, star.radius, 0, Math.PI * 2);
|
||||
ctx.fill();
|
||||
if (star.radius > 1.2) {
|
||||
ctx.globalAlpha *= 0.12;
|
||||
ctx.beginPath();
|
||||
ctx.arc(x, y, star.radius * 3, 0, Math.PI * 2);
|
||||
ctx.fill();
|
||||
}
|
||||
}
|
||||
ctx.globalAlpha = 1;
|
||||
}
|
||||
@@ -221,7 +223,7 @@
|
||||
width = Math.max(container.clientWidth, 1);
|
||||
height = Math.max(container.clientHeight, 1);
|
||||
scale = Math.min(1, map.clientWidth / 1000);
|
||||
const dpr = Math.min(window.devicePixelRatio || 1, finePointer.matches ? 1.5 : 1);
|
||||
const dpr = Math.min(window.devicePixelRatio || 1, 2);
|
||||
canvas.width = Math.round(width * dpr);
|
||||
canvas.height = Math.round(height * dpr);
|
||||
ctx?.setTransform(dpr, 0, 0, dpr, 0, 0);
|
||||
@@ -229,14 +231,41 @@
|
||||
let seed = 73;
|
||||
const random = () => { seed = (seed * 1664525 + 1013904223) >>> 0; return seed / 4294967296; };
|
||||
const count = Math.min(finePointer.matches ? 300 : 130, Math.max(65, Math.round(width * height / 4200)));
|
||||
stars = Array.from({ length: count }, (_, i) => ({
|
||||
x: random(), y: random(), phase: random() * Math.PI * 2,
|
||||
depth: [0.25, 0.6, 1][i % 3],
|
||||
radius: (0.4 + random() * 0.55) * [0.7, 1, 1.5][i % 3],
|
||||
opacity: 0.2 + random() * 0.45,
|
||||
speed: 0.35 + random() * 0.45,
|
||||
color: ["#d0dedc", "#c5d2e8", "#e3d5bf"][i % 3],
|
||||
}));
|
||||
// Loose off-centre clusters alternate with open sky. Keep the same
|
||||
// seeded sequence across viewports, and leave the central artwork quiet.
|
||||
const clusters = [[.12,.32,.10,.14],[.86,.23,.11,.10],[.82,.76,.11,.12],[.24,.79,.12,.10]];
|
||||
const colors = [
|
||||
["#a4b9bf", "#aabbd0", "#c2bcac"],
|
||||
["#bdd4d7", "#b7cbe3", "#d6cdb7"],
|
||||
["#e0edec", "#d7e6fa", "#e9dfc5"],
|
||||
];
|
||||
// Add about 30% more distant pinpoints while preserving all existing
|
||||
// mid/near stars and their positions; concentrate the additions loosely.
|
||||
const extraFar = Math.round(count * .72 * .30);
|
||||
stars = Array.from({ length: count + extraFar }, (_, index) => {
|
||||
const extra = index >= count;
|
||||
let x = random(), y = random();
|
||||
if (random() < (extra ? .65 : .38)) {
|
||||
const [cx,cy,sx,sy] = clusters[Math.floor(random() * clusters.length)];
|
||||
const radius = Math.sqrt(-2 * Math.log(Math.max(random(), .0001)));
|
||||
const angle = random() * Math.PI * 2;
|
||||
x = wrap(cx + Math.cos(angle) * radius * sx, 1);
|
||||
y = wrap(cy + Math.sin(angle) * radius * sy, 1);
|
||||
}
|
||||
const choice = random(), layer = extra || choice < .72 ? 0 : choice < .945 ? 1 : 2;
|
||||
const central = Math.exp(-(((x-.5)/.24)**2 + ((y-.46)/.31)**2));
|
||||
const title = Math.exp(-(((x-.5)/.22)**2 + ((y-.86)/.12)**2));
|
||||
const quiet = 1 - .35 * central - .25 * title;
|
||||
return {
|
||||
x, y, layer, phase: random() * Math.PI * 2,
|
||||
depth: [.14,.44,.86][layer] + random() * .10,
|
||||
radius: [.34,.57,1.0][layer] + random() * [.22,.30,.28][layer],
|
||||
opacity: ([.30,.30,.56][layer] + random() * [.20,.20,.17][layer]) * quiet,
|
||||
breath: [.05,.10,.14][layer],
|
||||
speed: .12 + random() * .16,
|
||||
color: colors[layer][Math.floor(random() * 3)],
|
||||
};
|
||||
});
|
||||
if (!paused || reduced.matches) moveIllustrations(0);
|
||||
drawStars();
|
||||
planets?.resize();
|
||||
@@ -260,7 +289,6 @@
|
||||
function updateSelection() {
|
||||
const selected = focused || hovered;
|
||||
for (const item of items) item.anchor.classList.toggle("hero-selected", item.anchor === selected);
|
||||
map.classList.toggle("hero-network-active", Boolean(selected));
|
||||
if (!canRun()) renderObjects();
|
||||
}
|
||||
|
||||
@@ -314,11 +342,9 @@
|
||||
canvas.remove();
|
||||
toggle.remove();
|
||||
hero.classList.remove("hero-universe", "hero-motion-paused");
|
||||
map.classList.remove("hero-network-active");
|
||||
map.style.removeProperty("--hero-ground-x");
|
||||
map.style.removeProperty("--hero-ground-y");
|
||||
ground?.classList.remove("hero-ground");
|
||||
links?.classList.remove("hero-links");
|
||||
for (const { anchor, label, originalLabelMargin } of items) {
|
||||
if (label) label.style.marginLeft = originalLabelMargin;
|
||||
anchor.classList.remove("hero-selected");
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "50aa7b2c8191c024",
|
||||
"version": "087f217bf2136799",
|
||||
"assets": {
|
||||
"ground": {
|
||||
"width": 881,
|
||||
@@ -8,13 +8,6 @@
|
||||
"kind": "hero",
|
||||
"path": "../shared/images/567306c070a6a7e2/ground.webp"
|
||||
},
|
||||
"links": {
|
||||
"width": 1562,
|
||||
"height": 1134,
|
||||
"loading": "visible-layout",
|
||||
"kind": "hero",
|
||||
"path": "../shared/images/3e50f38a325c1cb5/links.webp"
|
||||
},
|
||||
"astronaut": {
|
||||
"width": 515,
|
||||
"height": 672,
|
||||
@@ -297,12 +290,6 @@
|
||||
"href": null,
|
||||
"label_style": null
|
||||
},
|
||||
{
|
||||
"id": "links",
|
||||
"style": "position: absolute; width: auto; height: 78.751%; left: 10.545%; top: 7.326%;",
|
||||
"href": null,
|
||||
"label_style": null
|
||||
},
|
||||
{
|
||||
"id": "astronaut",
|
||||
"style": "height: 46.673%; left: 35.413%; top: 24.343%;",
|
||||
@@ -410,7 +397,6 @@
|
||||
"shared/images/2ce6caaac951c40b/chapter_greedy.webp",
|
||||
"shared/images/2fb425426d1f8d86/chapter_computational_complexity.webp",
|
||||
"shared/images/325eedad7e336423/en_animation-poster.webp",
|
||||
"shared/images/3e50f38a325c1cb5/links.webp",
|
||||
"shared/images/464e2d351b9263ec/avatar_gvenusleo.webp",
|
||||
"shared/images/567306c070a6a7e2/ground.webp",
|
||||
"shared/images/5b64cf7672ec5ec6/web_mac_iphone.webp",
|
||||
|
Before Width: | Height: | Size: 118 KiB |
|
Before Width: | Height: | Size: 175 KiB After Width: | Height: | Size: 174 KiB |
141
en/index.html
@@ -152,7 +152,7 @@
|
||||
</nav>
|
||||
</header>
|
||||
<div class="md-container" data-md-component="container">
|
||||
<link href="../assets/home/50aa7b2c8191c024/hero-motion.css" rel="stylesheet"/>
|
||||
<link href="../assets/home/087f217bf2136799/hero-motion.css" rel="stylesheet"/>
|
||||
<noscript>
|
||||
<style>
|
||||
[data-home-src], video[data-home-poster], [data-hero-fallback] { display: none; }
|
||||
@@ -164,126 +164,125 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="hero-div hero-div--en" data-home-layout="universe">
|
||||
<img alt="" data-hero-asset="ground" data-source-height="380" data-source-width="881" height="380" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/567306c070a6a7e2/ground.webp" style="position: absolute; width: auto; height: 26.445%; left: 28.211%; top: 54.145%;; aspect-ratio: 881 / 380" width="881"/>
|
||||
<img alt="" data-hero-asset="links" data-source-height="1134" data-source-width="1562" height="1134" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/3e50f38a325c1cb5/links.webp" style="position: absolute; width: auto; height: 78.751%; left: 10.545%; top: 7.326%;; aspect-ratio: 1562 / 1134" width="1562"/>
|
||||
<img alt="" data-hero-asset="ground" data-source-height="380" data-source-width="881" height="380" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/567306c070a6a7e2/ground.webp" style="position: absolute; width: auto; height: 26.445%; left: 28.211%; top: 54.145%;; aspect-ratio: 881 / 380" width="881"/>
|
||||
<a href="chapter_introduction/">
|
||||
<img alt="" data-hero-asset="astronaut" data-source-height="672" data-source-width="515" height="672" src="../assets/home/50aa7b2c8191c024/../shared/images/8e5eb3b3e3ebd9f7/astronaut.webp" style="height: 46.673%; left: 35.413%; top: 24.343%;; aspect-ratio: 515 / 672" width="515"/>
|
||||
<img alt="" data-hero-asset="astronaut" data-source-height="672" data-source-width="515" height="672" src="../assets/home/087f217bf2136799/../shared/images/8e5eb3b3e3ebd9f7/astronaut.webp" style="height: 46.673%; left: 35.413%; top: 24.343%;; aspect-ratio: 515 / 672" width="515"/>
|
||||
<span style="left: 52.244%; top: 20.919%;">
|
||||
Getting to know algorithms
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_computational_complexity/">
|
||||
<img alt="" data-hero-asset="chapter_computational_complexity" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/2fb425426d1f8d86/chapter_computational_complexity.webp" data-source-height="178" data-source-width="113" height="178" style="height: 12.347%; left: 36.267%; top: 37.653%;; aspect-ratio: 113 / 178" width="113"/>
|
||||
<img alt="" data-hero-asset="chapter_computational_complexity" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/2fb425426d1f8d86/chapter_computational_complexity.webp" data-source-height="178" data-source-width="113" height="178" style="height: 12.347%; left: 36.267%; top: 37.653%;; aspect-ratio: 113 / 178" width="113"/>
|
||||
<noscript>
|
||||
<img alt="" height="178" src="../assets/home/50aa7b2c8191c024/../shared/images/2fb425426d1f8d86/chapter_computational_complexity.webp" style="height: 12.347%; left: 36.267%; top: 37.653%;" width="113"/>
|
||||
<img alt="" height="178" src="../assets/home/087f217bf2136799/../shared/images/2fb425426d1f8d86/chapter_computational_complexity.webp" style="height: 12.347%; left: 36.267%; top: 37.653%;" width="113"/>
|
||||
</noscript>
|
||||
<span style="left: 39.244%; top: 33.919%;">
|
||||
Complexity analysis
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_array_and_linkedlist/">
|
||||
<img alt="" data-hero-asset="chapter_array_and_linkedlist" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/5cbbdf7be555d3ef/chapter_array_and_linkedlist.webp" data-source-height="319" data-source-width="468" height="319" style="height: 22.242%; left: 73.242%; top: 52.481%;; aspect-ratio: 468 / 319" width="468"/>
|
||||
<img alt="" data-hero-asset="chapter_array_and_linkedlist" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/5cbbdf7be555d3ef/chapter_array_and_linkedlist.webp" data-source-height="319" data-source-width="468" height="319" style="height: 22.242%; left: 73.242%; top: 52.481%;; aspect-ratio: 468 / 319" width="468"/>
|
||||
<noscript>
|
||||
<img alt="" height="319" src="../assets/home/50aa7b2c8191c024/../shared/images/5cbbdf7be555d3ef/chapter_array_and_linkedlist.webp" style="height: 22.242%; left: 73.242%; top: 52.481%;" width="468"/>
|
||||
<img alt="" height="319" src="../assets/home/087f217bf2136799/../shared/images/5cbbdf7be555d3ef/chapter_array_and_linkedlist.webp" style="height: 22.242%; left: 73.242%; top: 52.481%;" width="468"/>
|
||||
</noscript>
|
||||
<span style="left: 90.897%; top: 76.259%;">
|
||||
Arrays and linked lists
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_stack_and_queue/">
|
||||
<img alt="" data-hero-asset="chapter_stack_and_queue" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/e2667767cf7481bd/chapter_stack_and_queue.webp" data-source-height="204" data-source-width="204" height="204" style="height: 14.302%; left: 62.646%; top: 77.875%;; aspect-ratio: 204 / 204" width="204"/>
|
||||
<img alt="" data-hero-asset="chapter_stack_and_queue" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/e2667767cf7481bd/chapter_stack_and_queue.webp" data-source-height="204" data-source-width="204" height="204" style="height: 14.302%; left: 62.646%; top: 77.875%;; aspect-ratio: 204 / 204" width="204"/>
|
||||
<noscript>
|
||||
<img alt="" height="204" src="../assets/home/50aa7b2c8191c024/../shared/images/e2667767cf7481bd/chapter_stack_and_queue.webp" style="height: 14.302%; left: 62.646%; top: 77.875%;" width="204"/>
|
||||
<img alt="" height="204" src="../assets/home/087f217bf2136799/../shared/images/e2667767cf7481bd/chapter_stack_and_queue.webp" style="height: 14.302%; left: 62.646%; top: 77.875%;" width="204"/>
|
||||
</noscript>
|
||||
<span style="left: 77.571%; top: 91.25%;">
|
||||
Stacks and queues
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_hashing/">
|
||||
<img alt="" data-hero-asset="chapter_hashing" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/b108d70a537714cb/chapter_hashing.webp" data-source-height="218" data-source-width="218" height="218" style="height: 15.266%; left: 63.281%; top: 27.933%;; aspect-ratio: 218 / 218" width="218"/>
|
||||
<img alt="" data-hero-asset="chapter_hashing" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/b108d70a537714cb/chapter_hashing.webp" data-source-height="218" data-source-width="218" height="218" style="height: 15.266%; left: 63.281%; top: 27.933%;; aspect-ratio: 218 / 218" width="218"/>
|
||||
<noscript>
|
||||
<img alt="" height="218" src="../assets/home/50aa7b2c8191c024/../shared/images/b108d70a537714cb/chapter_hashing.webp" style="height: 15.266%; left: 63.281%; top: 27.933%;" width="218"/>
|
||||
<img alt="" height="218" src="../assets/home/087f217bf2136799/../shared/images/b108d70a537714cb/chapter_hashing.webp" style="height: 15.266%; left: 63.281%; top: 27.933%;" width="218"/>
|
||||
</noscript>
|
||||
<span style="left: 68.862%; top: 46.292%;">
|
||||
Hash tables
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_tree/">
|
||||
<img alt="" data-hero-asset="chapter_tree" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/8138bb0acecedec4/chapter_tree.webp" data-source-height="281" data-source-width="280" height="281" style="height: 19.615%; left: 80.137%; top: 26.678%;; aspect-ratio: 280 / 281" width="280"/>
|
||||
<img alt="" data-hero-asset="chapter_tree" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/8138bb0acecedec4/chapter_tree.webp" data-source-height="281" data-source-width="280" height="281" style="height: 19.615%; left: 80.137%; top: 26.678%;; aspect-ratio: 280 / 281" width="280"/>
|
||||
<noscript>
|
||||
<img alt="" height="281" src="../assets/home/50aa7b2c8191c024/../shared/images/8138bb0acecedec4/chapter_tree.webp" style="height: 19.615%; left: 80.137%; top: 26.678%;" width="280"/>
|
||||
<img alt="" height="281" src="../assets/home/087f217bf2136799/../shared/images/8138bb0acecedec4/chapter_tree.webp" style="height: 19.615%; left: 80.137%; top: 26.678%;" width="280"/>
|
||||
</noscript>
|
||||
<span style="left: 96.159%; top: 44.8%;">
|
||||
Trees
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_heap/">
|
||||
<img alt="" data-hero-asset="chapter_heap" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/7586281e6691807a/chapter_heap.webp" data-source-height="152" data-source-width="151" height="152" style="height: 10.566%; left: 77.226%; top: 11.559%;; aspect-ratio: 151 / 152" width="151"/>
|
||||
<img alt="" data-hero-asset="chapter_heap" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/7586281e6691807a/chapter_heap.webp" data-source-height="152" data-source-width="151" height="152" style="height: 10.566%; left: 77.226%; top: 11.559%;; aspect-ratio: 151 / 152" width="151"/>
|
||||
<noscript>
|
||||
<img alt="" height="152" src="../assets/home/50aa7b2c8191c024/../shared/images/7586281e6691807a/chapter_heap.webp" style="height: 10.566%; left: 77.226%; top: 11.559%;" width="151"/>
|
||||
<img alt="" height="152" src="../assets/home/087f217bf2136799/../shared/images/7586281e6691807a/chapter_heap.webp" style="height: 10.566%; left: 77.226%; top: 11.559%;" width="151"/>
|
||||
</noscript>
|
||||
<span style="left: 88.103%; top: 15.422%;">
|
||||
Heaps
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_graph/">
|
||||
<img alt="" data-hero-asset="chapter_graph" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/175a7f2e7c3cf5f0/chapter_graph.webp" data-source-height="272" data-source-width="542" height="272" style="height: 16.112%; left: 51.854%; top: 5.575%;; aspect-ratio: 542 / 272" width="542"/>
|
||||
<img alt="" data-hero-asset="chapter_graph" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/175a7f2e7c3cf5f0/chapter_graph.webp" data-source-height="272" data-source-width="542" height="272" style="height: 16.112%; left: 51.854%; top: 5.575%;; aspect-ratio: 542 / 272" width="542"/>
|
||||
<noscript>
|
||||
<img alt="" height="272" src="../assets/home/50aa7b2c8191c024/../shared/images/175a7f2e7c3cf5f0/chapter_graph.webp" style="height: 16.112%; left: 51.854%; top: 5.575%;" width="542"/>
|
||||
<img alt="" height="272" src="../assets/home/087f217bf2136799/../shared/images/175a7f2e7c3cf5f0/chapter_graph.webp" style="height: 16.112%; left: 51.854%; top: 5.575%;" width="542"/>
|
||||
</noscript>
|
||||
<span style="left: 71.195%; top: 6.503%;">
|
||||
Graphs
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_searching/">
|
||||
<img alt="" data-hero-asset="chapter_searching" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/ebfe2b953dbb9d90/chapter_searching.webp" data-source-height="216" data-source-width="216" height="216" style="height: 15.149%; left: 18.185%; top: 16.404%;; aspect-ratio: 216 / 216" width="216"/>
|
||||
<img alt="" data-hero-asset="chapter_searching" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/ebfe2b953dbb9d90/chapter_searching.webp" data-source-height="216" data-source-width="216" height="216" style="height: 15.149%; left: 18.185%; top: 16.404%;; aspect-ratio: 216 / 216" width="216"/>
|
||||
<noscript>
|
||||
<img alt="" height="216" src="../assets/home/50aa7b2c8191c024/../shared/images/ebfe2b953dbb9d90/chapter_searching.webp" style="height: 15.149%; left: 18.185%; top: 16.404%;" width="216"/>
|
||||
<img alt="" height="216" src="../assets/home/087f217bf2136799/../shared/images/ebfe2b953dbb9d90/chapter_searching.webp" style="height: 15.149%; left: 18.185%; top: 16.404%;" width="216"/>
|
||||
</noscript>
|
||||
<span style="left: 14.556%; top: 20.876%;">
|
||||
Searching
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_sorting/">
|
||||
<img alt="" data-hero-asset="chapter_sorting" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/9d4be68b2680967c/chapter_sorting.webp" data-source-height="137" data-source-width="138" height="137" style="height: 9.574%; left: 25.409%; top: 40.747%;; aspect-ratio: 138 / 137" width="138"/>
|
||||
<img alt="" data-hero-asset="chapter_sorting" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/9d4be68b2680967c/chapter_sorting.webp" data-source-height="137" data-source-width="138" height="137" style="height: 9.574%; left: 25.409%; top: 40.747%;; aspect-ratio: 138 / 137" width="138"/>
|
||||
<noscript>
|
||||
<img alt="" height="137" src="../assets/home/50aa7b2c8191c024/../shared/images/9d4be68b2680967c/chapter_sorting.webp" style="height: 9.574%; left: 25.409%; top: 40.747%;" width="138"/>
|
||||
<img alt="" height="137" src="../assets/home/087f217bf2136799/../shared/images/9d4be68b2680967c/chapter_sorting.webp" style="height: 9.574%; left: 25.409%; top: 40.747%;" width="138"/>
|
||||
</noscript>
|
||||
<span style="left: 28.805%; top: 53.808%;">
|
||||
Sorting
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_divide_and_conquer/">
|
||||
<img alt="" data-hero-asset="chapter_divide_and_conquer" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/6f5766ca9385cd2e/chapter_divide_and_conquer.webp" data-source-height="269" data-source-width="407" height="269" style="height: 18.681%; left: 32.721%; top: 4.816%;; aspect-ratio: 407 / 269" width="407"/>
|
||||
<img alt="" data-hero-asset="chapter_divide_and_conquer" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/6f5766ca9385cd2e/chapter_divide_and_conquer.webp" data-source-height="269" data-source-width="407" height="269" style="height: 18.681%; left: 32.721%; top: 4.816%;; aspect-ratio: 407 / 269" width="407"/>
|
||||
<noscript>
|
||||
<img alt="" height="269" src="../assets/home/50aa7b2c8191c024/../shared/images/6f5766ca9385cd2e/chapter_divide_and_conquer.webp" style="height: 18.681%; left: 32.721%; top: 4.816%;" width="407"/>
|
||||
<img alt="" height="269" src="../assets/home/087f217bf2136799/../shared/images/6f5766ca9385cd2e/chapter_divide_and_conquer.webp" style="height: 18.681%; left: 32.721%; top: 4.816%;" width="407"/>
|
||||
</noscript>
|
||||
<span style="left: 31.42%; top: 8.679%;">
|
||||
Divide and conquer
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_backtracking/">
|
||||
<img alt="" data-hero-asset="chapter_backtracking" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/176675e685febf11/chapter_backtracking.webp" data-source-height="249" data-source-width="345" height="249" style="height: 17.338%; left: 4.875%; top: 32.925%;; aspect-ratio: 345 / 249" width="345"/>
|
||||
<img alt="" data-hero-asset="chapter_backtracking" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/176675e685febf11/chapter_backtracking.webp" data-source-height="249" data-source-width="345" height="249" style="height: 17.338%; left: 4.875%; top: 32.925%;; aspect-ratio: 345 / 249" width="345"/>
|
||||
<noscript>
|
||||
<img alt="" height="249" src="../assets/home/50aa7b2c8191c024/../shared/images/176675e685febf11/chapter_backtracking.webp" style="height: 17.338%; left: 4.875%; top: 32.925%;" width="345"/>
|
||||
<img alt="" height="249" src="../assets/home/087f217bf2136799/../shared/images/176675e685febf11/chapter_backtracking.webp" style="height: 17.338%; left: 4.875%; top: 32.925%;" width="345"/>
|
||||
</noscript>
|
||||
<span style="left: 4.742%; top: 50.113%;">
|
||||
Backtracking
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_dynamic_programming/">
|
||||
<img alt="" data-hero-asset="chapter_dynamic_programming" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/06264b1ffd05b08e/chapter_dynamic_programming.webp" data-source-height="268" data-source-width="267" height="268" style="height: 15.47%; left: 9.406%; top: 57.472%;; aspect-ratio: 267 / 268" width="267"/>
|
||||
<img alt="" data-hero-asset="chapter_dynamic_programming" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/06264b1ffd05b08e/chapter_dynamic_programming.webp" data-source-height="268" data-source-width="267" height="268" style="height: 15.47%; left: 9.406%; top: 57.472%;; aspect-ratio: 267 / 268" width="267"/>
|
||||
<noscript>
|
||||
<img alt="" height="268" src="../assets/home/50aa7b2c8191c024/../shared/images/06264b1ffd05b08e/chapter_dynamic_programming.webp" style="height: 15.47%; left: 9.406%; top: 57.472%;" width="267"/>
|
||||
<img alt="" height="268" src="../assets/home/087f217bf2136799/../shared/images/06264b1ffd05b08e/chapter_dynamic_programming.webp" style="height: 15.47%; left: 9.406%; top: 57.472%;" width="267"/>
|
||||
</noscript>
|
||||
<span style="left: 8.561%; top: 75.351%;">
|
||||
Dynamic programming
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_greedy/">
|
||||
<img alt="" data-hero-asset="chapter_greedy" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/2ce6caaac951c40b/chapter_greedy.webp" data-source-height="202" data-source-width="265" height="202" style="height: 14.127%; left: 23.132%; top: 75.803%;; aspect-ratio: 265 / 202" width="265"/>
|
||||
<img alt="" data-hero-asset="chapter_greedy" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/2ce6caaac951c40b/chapter_greedy.webp" data-source-height="202" data-source-width="265" height="202" style="height: 14.127%; left: 23.132%; top: 75.803%;; aspect-ratio: 265 / 202" width="265"/>
|
||||
<noscript>
|
||||
<img alt="" height="202" src="../assets/home/50aa7b2c8191c024/../shared/images/2ce6caaac951c40b/chapter_greedy.webp" style="height: 14.127%; left: 23.132%; top: 75.803%;" width="265"/>
|
||||
<img alt="" height="202" src="../assets/home/087f217bf2136799/../shared/images/2ce6caaac951c40b/chapter_greedy.webp" style="height: 14.127%; left: 23.132%; top: 75.803%;" width="265"/>
|
||||
</noscript>
|
||||
<span style="left: 21.619%; top: 86.85%;">
|
||||
Greedy algorithms
|
||||
@@ -330,9 +329,9 @@
|
||||
<a href="chapter_hello_algo/">
|
||||
<div style="height: 4.34%;">
|
||||
</div>
|
||||
<img alt="Web reading on a computer and phone" class="device-on-hover" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/5b64cf7672ec5ec6/web_mac_iphone.webp" decoding="async" height="965" style="height: 66.31%;" width="1598"/>
|
||||
<img alt="Web reading on a computer and phone" class="device-on-hover" data-home-src="../assets/home/087f217bf2136799/../shared/images/5b64cf7672ec5ec6/web_mac_iphone.webp" decoding="async" height="965" style="height: 66.31%;" width="1598"/>
|
||||
<noscript>
|
||||
<img alt="Web reading on a computer and phone" class="device-on-hover" height="965" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/5b64cf7672ec5ec6/web_mac_iphone.webp" style="height: 66.31%;" width="1598"/>
|
||||
<img alt="Web reading on a computer and phone" class="device-on-hover" height="965" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/5b64cf7672ec5ec6/web_mac_iphone.webp" style="height: 66.31%;" width="1598"/>
|
||||
</noscript>
|
||||
<div style="height: 4.34%;">
|
||||
</div>
|
||||
@@ -349,9 +348,9 @@
|
||||
</div>
|
||||
<div class="media-block">
|
||||
<a href="https://github.com/krahets/hello-algo/releases">
|
||||
<img alt="PDF reading on a tablet" class="device-on-hover" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/66baa2f9bf3abec7/pdf_ipad.webp" decoding="async" height="960" style="height: 75%;" width="812"/>
|
||||
<img alt="PDF reading on a tablet" class="device-on-hover" data-home-src="../assets/home/087f217bf2136799/../shared/images/66baa2f9bf3abec7/pdf_ipad.webp" decoding="async" height="960" style="height: 75%;" width="812"/>
|
||||
<noscript>
|
||||
<img alt="PDF reading on a tablet" class="device-on-hover" height="960" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/66baa2f9bf3abec7/pdf_ipad.webp" style="height: 75%;" width="812"/>
|
||||
<img alt="PDF reading on a tablet" class="device-on-hover" height="960" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/66baa2f9bf3abec7/pdf_ipad.webp" style="height: 75%;" width="812"/>
|
||||
</noscript>
|
||||
<div class="text-button">
|
||||
<span>
|
||||
@@ -417,21 +416,21 @@
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<video aria-label="Animation example" class="intro-image" data-home-poster="../assets/home/50aa7b2c8191c024/../shared/images/325eedad7e336423/en_animation-poster.webp" data-home-video="../assets/home/50aa7b2c8191c024/../shared/media/99db238804bedf45/en_animation.mp4" height="864" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1280 / 864" width="1280">
|
||||
<video aria-label="Animation example" class="intro-image" data-home-poster="../assets/home/087f217bf2136799/../shared/images/325eedad7e336423/en_animation-poster.webp" data-home-video="../assets/home/087f217bf2136799/../shared/media/99db238804bedf45/en_animation.mp4" height="864" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1280 / 864" width="1280">
|
||||
</video>
|
||||
<noscript>
|
||||
<a href="../assets/home/50aa7b2c8191c024/../shared/media/99db238804bedf45/en_animation.mp4">
|
||||
<img alt="Animation example" class="intro-image" height="864" src="../assets/home/50aa7b2c8191c024/../shared/images/325eedad7e336423/en_animation-poster.webp" width="1280"/>
|
||||
<a href="../assets/home/087f217bf2136799/../shared/media/99db238804bedf45/en_animation.mp4">
|
||||
<img alt="Animation example" class="intro-image" height="864" src="../assets/home/087f217bf2136799/../shared/images/325eedad7e336423/en_animation-poster.webp" width="1280"/>
|
||||
Animated illustrations
|
||||
</a>
|
||||
</noscript>
|
||||
</div>
|
||||
<div class="intro-container">
|
||||
<video aria-label="Running code example" class="intro-image" data-home-poster="../assets/home/50aa7b2c8191c024/../shared/images/615e2bcba0901fda/en_running_code-poster.webp" data-home-video="../assets/home/50aa7b2c8191c024/../shared/media/8a8d9283cb37b664/en_running_code.mp4" height="864" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1280 / 864" width="1280">
|
||||
<video aria-label="Running code example" class="intro-image" data-home-poster="../assets/home/087f217bf2136799/../shared/images/615e2bcba0901fda/en_running_code-poster.webp" data-home-video="../assets/home/087f217bf2136799/../shared/media/8a8d9283cb37b664/en_running_code.mp4" height="864" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1280 / 864" width="1280">
|
||||
</video>
|
||||
<noscript>
|
||||
<a href="../assets/home/50aa7b2c8191c024/../shared/media/8a8d9283cb37b664/en_running_code.mp4">
|
||||
<img alt="Running code example" class="intro-image" height="864" src="../assets/home/50aa7b2c8191c024/../shared/images/615e2bcba0901fda/en_running_code-poster.webp" width="1280"/>
|
||||
<a href="../assets/home/087f217bf2136799/../shared/media/8a8d9283cb37b664/en_running_code.mp4">
|
||||
<img alt="Running code example" class="intro-image" height="864" src="../assets/home/087f217bf2136799/../shared/images/615e2bcba0901fda/en_running_code-poster.webp" width="1280"/>
|
||||
Run code with one click
|
||||
</a>
|
||||
</noscript>
|
||||
@@ -475,11 +474,11 @@
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<video aria-label="Comments example" class="intro-image" data-home-poster="../assets/home/50aa7b2c8191c024/../shared/images/ef67d25d9c7ff1b5/en_comment-poster.webp" data-home-video="../assets/home/50aa7b2c8191c024/../shared/media/ea699aff8bc08558/en_comment.mp4" height="864" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1280 / 864" width="1280">
|
||||
<video aria-label="Comments example" class="intro-image" data-home-poster="../assets/home/087f217bf2136799/../shared/images/ef67d25d9c7ff1b5/en_comment-poster.webp" data-home-video="../assets/home/087f217bf2136799/../shared/media/ea699aff8bc08558/en_comment.mp4" height="864" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1280 / 864" width="1280">
|
||||
</video>
|
||||
<noscript>
|
||||
<a href="../assets/home/50aa7b2c8191c024/../shared/media/ea699aff8bc08558/en_comment.mp4">
|
||||
<img alt="Comments example" class="intro-image" height="864" src="../assets/home/50aa7b2c8191c024/../shared/images/ef67d25d9c7ff1b5/en_comment-poster.webp" width="1280"/>
|
||||
<a href="../assets/home/087f217bf2136799/../shared/media/ea699aff8bc08558/en_comment.mp4">
|
||||
<img alt="Comments example" class="intro-image" height="864" src="../assets/home/087f217bf2136799/../shared/images/ef67d25d9c7ff1b5/en_comment-poster.webp" width="1280"/>
|
||||
Learn together
|
||||
</a>
|
||||
</noscript>
|
||||
@@ -495,9 +494,9 @@
|
||||
<div class="profile-div">
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/krahets">
|
||||
<img alt="Author: yudongjin" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/02348410d40f7665/avatar_yudongjin.webp" decoding="async" height="512" width="512"/>
|
||||
<img alt="Author: yudongjin" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/02348410d40f7665/avatar_yudongjin.webp" decoding="async" height="512" width="512"/>
|
||||
<noscript>
|
||||
<img alt="Author: yudongjin" class="profile-img" height="512" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/02348410d40f7665/avatar_yudongjin.webp" width="512"/>
|
||||
<img alt="Author: yudongjin" class="profile-img" height="512" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/02348410d40f7665/avatar_yudongjin.webp" width="512"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -517,9 +516,9 @@
|
||||
<div class="profile-div">
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/coderonion">
|
||||
<img alt="Reviewer: coderonion" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/db606f27971eae34/avatar_coderonion.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: coderonion" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/db606f27971eae34/avatar_coderonion.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: coderonion" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/db606f27971eae34/avatar_coderonion.webp" width="384"/>
|
||||
<img alt="Reviewer: coderonion" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/db606f27971eae34/avatar_coderonion.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -533,9 +532,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/curtishd">
|
||||
<img alt="Reviewer: curtishd" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/feedb0e547ea31fc/avatar_curtishd.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: curtishd" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/feedb0e547ea31fc/avatar_curtishd.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: curtishd" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/feedb0e547ea31fc/avatar_curtishd.webp" width="384"/>
|
||||
<img alt="Reviewer: curtishd" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/feedb0e547ea31fc/avatar_curtishd.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -549,9 +548,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/Gonglja">
|
||||
<img alt="Reviewer: Gonglja" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/cdcf023b032b8d30/avatar_Gonglja.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: Gonglja" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/cdcf023b032b8d30/avatar_Gonglja.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: Gonglja" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/cdcf023b032b8d30/avatar_Gonglja.webp" width="384"/>
|
||||
<img alt="Reviewer: Gonglja" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/cdcf023b032b8d30/avatar_Gonglja.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -565,9 +564,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/gvenusleo">
|
||||
<img alt="Reviewer: gvenusleo" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/464e2d351b9263ec/avatar_gvenusleo.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: gvenusleo" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/464e2d351b9263ec/avatar_gvenusleo.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: gvenusleo" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/464e2d351b9263ec/avatar_gvenusleo.webp" width="384"/>
|
||||
<img alt="Reviewer: gvenusleo" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/464e2d351b9263ec/avatar_gvenusleo.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -581,9 +580,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/hpstory">
|
||||
<img alt="Reviewer: hpstory" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/7b6478acdab6b845/avatar_hpstory.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: hpstory" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/7b6478acdab6b845/avatar_hpstory.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: hpstory" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/7b6478acdab6b845/avatar_hpstory.webp" width="384"/>
|
||||
<img alt="Reviewer: hpstory" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/7b6478acdab6b845/avatar_hpstory.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -597,9 +596,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/justin-tse">
|
||||
<img alt="Reviewer: justin-tse" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/208ee5aae490eefa/avatar_justin-tse.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: justin-tse" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/208ee5aae490eefa/avatar_justin-tse.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: justin-tse" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/208ee5aae490eefa/avatar_justin-tse.webp" width="384"/>
|
||||
<img alt="Reviewer: justin-tse" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/208ee5aae490eefa/avatar_justin-tse.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -613,9 +612,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/khoaxuantu">
|
||||
<img alt="Reviewer: khoaxuantu" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/9d3f1a21ff51de78/avatar_khoaxuantu.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: khoaxuantu" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/9d3f1a21ff51de78/avatar_khoaxuantu.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: khoaxuantu" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/9d3f1a21ff51de78/avatar_khoaxuantu.webp" width="384"/>
|
||||
<img alt="Reviewer: khoaxuantu" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/9d3f1a21ff51de78/avatar_khoaxuantu.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -629,9 +628,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/krahets">
|
||||
<img alt="Reviewer: krahets" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/e321f9a3ac2739e0/avatar_krahets.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: krahets" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/e321f9a3ac2739e0/avatar_krahets.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: krahets" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/e321f9a3ac2739e0/avatar_krahets.webp" width="384"/>
|
||||
<img alt="Reviewer: krahets" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/e321f9a3ac2739e0/avatar_krahets.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -645,9 +644,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/night-cruise">
|
||||
<img alt="Reviewer: night-cruise" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/960b489efa22abd4/avatar_night-cruise.jpg" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: night-cruise" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/960b489efa22abd4/avatar_night-cruise.jpg" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: night-cruise" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/960b489efa22abd4/avatar_night-cruise.jpg" width="384"/>
|
||||
<img alt="Reviewer: night-cruise" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/960b489efa22abd4/avatar_night-cruise.jpg" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -661,9 +660,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/nuomi1">
|
||||
<img alt="Reviewer: nuomi1" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/7316a9eb4429b259/avatar_nuomi1.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: nuomi1" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/7316a9eb4429b259/avatar_nuomi1.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: nuomi1" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/7316a9eb4429b259/avatar_nuomi1.webp" width="384"/>
|
||||
<img alt="Reviewer: nuomi1" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/7316a9eb4429b259/avatar_nuomi1.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -677,9 +676,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/Reanon">
|
||||
<img alt="Reviewer: Reanon" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/dcc15aa68cc793c7/avatar_Reanon.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: Reanon" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/dcc15aa68cc793c7/avatar_Reanon.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: Reanon" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/dcc15aa68cc793c7/avatar_Reanon.webp" width="384"/>
|
||||
<img alt="Reviewer: Reanon" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/dcc15aa68cc793c7/avatar_Reanon.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -693,9 +692,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/rongyi">
|
||||
<img alt="Reviewer: rongyi" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/5dc6c4b1d8bfe0ac/avatar_rongyi.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: rongyi" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/5dc6c4b1d8bfe0ac/avatar_rongyi.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: rongyi" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/5dc6c4b1d8bfe0ac/avatar_rongyi.webp" width="384"/>
|
||||
<img alt="Reviewer: rongyi" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/5dc6c4b1d8bfe0ac/avatar_rongyi.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -725,7 +724,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<script defer="" onerror="document.querySelectorAll('[data-home-src], [data-home-poster]').forEach(function(el) { if (el.dataset.homeSrc) el.src = el.dataset.homeSrc; if (el.dataset.homePoster) el.poster = el.dataset.homePoster; });" src="../assets/home/50aa7b2c8191c024/javascripts/homepage-media.js">
|
||||
<script defer="" onerror="document.querySelectorAll('[data-home-src], [data-home-poster]').forEach(function(el) { if (el.dataset.homeSrc) el.src = el.dataset.homeSrc; if (el.dataset.homePoster) el.poster = el.dataset.homePoster; });" src="../assets/home/087f217bf2136799/javascripts/homepage-media.js">
|
||||
</script>
|
||||
<script>
|
||||
// If the scene entry point itself fails, still provide chapter illustrations.
|
||||
@@ -2054,7 +2053,7 @@
|
||||
document.addEventListener('DOMContentLoaded', applyLandingPalette, { once: true });
|
||||
})();
|
||||
</script>
|
||||
<script data-home-scene="" src="../assets/home/50aa7b2c8191c024/javascripts/starfield.js">
|
||||
<script data-home-scene="" src="../assets/home/087f217bf2136799/javascripts/starfield.js">
|
||||
</script>
|
||||
<script>
|
||||
Starfield.setup({
|
||||
|
||||
BIN
en/index.html.gz
@@ -301,4 +301,4 @@
|
||||
initAutoSlide();
|
||||
}
|
||||
})();
|
||||
/*! update cache: 20261105081654 */
|
||||
/*! update cache: 20261106114509 */
|
||||
|
||||
234
en/javascripts/hero-flow-links.js
Normal file
@@ -0,0 +1,234 @@
|
||||
import * as THREE from './vendor/three/three.module.min.js';
|
||||
|
||||
// Art-directed spines in the original 1562 x 1134 composition. The open oval,
|
||||
// two inward sweeps and bottom title gap are retained; these are 3D curves,
|
||||
// not a sampled image and not a graph of straight planet-to-planet chords.
|
||||
const spines = [
|
||||
{from:'backtracking', to:'divide_and_conquer', via:['searching'], points:[[59,484,-26],[150,245,-8],[440,92,-42],[581,92,-18]], spread:44},
|
||||
{from:'backtracking', to:'greedy', via:['dynamic_programming'], points:[[59,484,-20],[-37,736,-28],[97,946,-28],[378,1072,-24]], spread:46},
|
||||
{from:'heap', to:'stack_and_queue', via:['tree','array_and_linkedlist'], points:[[1357,136,-22],[1630,515,14],[1550,965,-40],[1104,1118,-24]], spread:44},
|
||||
{from:'graph', to:'tree', points:[[1024,90,-30],[1210,165,-10],[1370,245,-36],[1478,419,-20]], spread:40},
|
||||
{from:'sorting', to:'divide_and_conquer', points:[[355,549,-24],[390,370,4],[525,175,-36],[581,92,-18]], spread:44},
|
||||
{from:'hashing', to:'tree', points:[[1123,406,-20],[1260,405,-32],[1320,415,6],[1478,419,-22]], spread:34},
|
||||
{from:'hashing', to:'array_and_linkedlist', points:[[1123,406,-24],[1280,545,4],[1390,665,-38],[1442,817,-20]], spread:42},
|
||||
];
|
||||
|
||||
export function createFlowLinks(targets) {
|
||||
if (!targets.length) return null;
|
||||
const positions=[],tangents=[],styles=[],paths=[],fractions=[],bindings=[],motions=[],indices=[];
|
||||
const strands=17,segments=72;
|
||||
const random = n => {const x=Math.sin(n*127.1+311.7)*43758.5453;return x-Math.floor(x);};
|
||||
|
||||
spines.forEach((definition, route) => {
|
||||
const {points:[a,b,c,d]}=definition;
|
||||
const routeSeed=701+route*43;
|
||||
const spread=definition.spread*(.92+.16*random(routeSeed));
|
||||
const mirrored=random(routeSeed+1)>.5;
|
||||
const primary=mirrored?2:14,echo=16-primary;
|
||||
const brushLanes=[4+Math.floor(random(routeSeed+2)*2),7+Math.floor(random(routeSeed+3)*2),10];
|
||||
const dominant=brushLanes[Math.floor(random(routeSeed+4)*brushLanes.length)];
|
||||
const fanPhase=random(routeSeed+5)*Math.PI*2;
|
||||
const curve=new THREE.CubicBezierCurve3(...[a,b,c,d].map(([x,y,z])=>new THREE.Vector3(x-781,567-y,z)));
|
||||
curve.arcLengthDivisions=256;
|
||||
const length=curve.getLength();
|
||||
// Seed once per route: geometry and timing stay stable on pause / resize.
|
||||
const phase=random(routeSeed+6);
|
||||
const speed=66+random(routeSeed+7)*38;
|
||||
const gap=500+random(routeSeed+8)*300;
|
||||
const tailLength=Math.min(42+random(routeSeed+9)*42,length*(.065+.04*random(routeSeed+10)));
|
||||
const headLength=3.2+random(routeSeed+11)*2.5;
|
||||
for(let lane=0;lane<strands;lane++) {
|
||||
const seed=route*strands+lane+1;
|
||||
const logicalLane=mirrored?16-lane:lane;
|
||||
const brush=brushLanes.includes(logicalLane);
|
||||
const rank=(lane-8+(random(seed+31)-.5)*.3)/8;
|
||||
const vertices=[];
|
||||
for(let j=0;j<=segments;j++) {
|
||||
const u=j/segments;
|
||||
const point=curve.getPointAt(u),tangent=curve.getTangentAt(u);
|
||||
const normal=new THREE.Vector3(-tangent.y,tangent.x,0).normalize();
|
||||
// Unequal strand spacing, subtle crossings and tapered bundles give the
|
||||
// original brushwork's character without moving an entire bright band.
|
||||
const fan=route===5 ? 1 : .88+.10*Math.sin(Math.PI*u+fanPhase);
|
||||
const offset=rank*spread*.5*fan + Math.sin((route===5?0:u*Math.PI*2)+seed)*.7;
|
||||
point.addScaledVector(normal,offset);
|
||||
point.z+=Math.sin(seed*2.4+u*Math.PI)*spread*.2;
|
||||
vertices.push(point);
|
||||
}
|
||||
const distances=[0];
|
||||
for(let j=1;j<=segments;j++)distances.push(distances[j-1]+vertices[j].distanceTo(vertices[j-1]));
|
||||
const strandLength=distances[segments];
|
||||
const offset=positions.length/3;
|
||||
for(let j=0;j<=segments;j++) {
|
||||
const u=j/segments;
|
||||
const direction=vertices[Math.min(segments,j+1)].clone().sub(vertices[Math.max(0,j-1)]).normalize();
|
||||
// Broad painted strokes live among hairline bristles, as in the art.
|
||||
// Keep the travelling filament narrow even where the painted body widens.
|
||||
const baseWidth=lane===primary?1.2+.5*random(routeSeed+12)
|
||||
:brush?(logicalLane===dominant?4.1+random(seed+4)*1.0:2.7+random(seed+4)*1.5)
|
||||
:.65+random(seed+4)*.7;
|
||||
const width=baseWidth*((lane===primary?.92:.78)
|
||||
+(lane===primary?.08:.22)*Math.sin(u*(5.+random(seed+6)*4.)+random(seed+7)*Math.PI*2));
|
||||
const intensity=lane===primary?.15:brush?.62+random(seed+23)*.12:.40+random(seed+23)*.18;
|
||||
// Broad strokes and moving light keep separate tracks even when mirrored.
|
||||
const emissive=lane===primary?1.5+.35*random(routeSeed+13):(lane===echo?.18+.08*random(routeSeed+14):0.);
|
||||
for(const side of [-1,1]) {
|
||||
positions.push(...vertices[j].toArray());tangents.push(...direction.toArray());
|
||||
// One shared progress per bundle, measured on each strand's own arc.
|
||||
// A rank-dependent head offset made short links look like sideways sweeps.
|
||||
paths.push(distances[j],side,strandLength,phase);
|
||||
styles.push(width,intensity,length,emissive);
|
||||
fractions.push(j/segments,random(seed+54),spread/(strands-1));
|
||||
bindings.push(route,u,lane,brush?1:0);
|
||||
motions.push(speed,gap,tailLength,headLength);
|
||||
}
|
||||
if(j<segments){const v=offset+j*2;indices.push(v,v+1,v+2,v+1,v+3,v+2);}
|
||||
}
|
||||
}
|
||||
});
|
||||
const geometry=new THREE.BufferGeometry();
|
||||
geometry.setAttribute('position',new THREE.Float32BufferAttribute(positions,3));
|
||||
geometry.setAttribute('curveTangent',new THREE.Float32BufferAttribute(tangents,3));
|
||||
geometry.setAttribute('pathStyle',new THREE.Float32BufferAttribute(paths,4));
|
||||
geometry.setAttribute('strandStyle',new THREE.Float32BufferAttribute(styles,4));
|
||||
geometry.setAttribute('fraction',new THREE.Float32BufferAttribute(fractions,3));
|
||||
geometry.setAttribute('binding',new THREE.Float32BufferAttribute(bindings,4));
|
||||
geometry.setAttribute('flowStyle',new THREE.Float32BufferAttribute(motions,4));
|
||||
geometry.setIndex(indices);
|
||||
const uniforms={
|
||||
time:{value:0},unit:{value:1},pixelRatio:{value:1},viewShift:{value:new THREE.Vector2()},
|
||||
routeEmphasis:{value:spines.map(()=>0)},selectionActive:{value:0},
|
||||
startShift:{value:spines.map(()=>new THREE.Vector3())},
|
||||
endShift:{value:spines.map(()=>new THREE.Vector3())},
|
||||
teal:{value:new THREE.Color('#479d9d')},
|
||||
pearl:{value:new THREE.Color('#def9ef')},
|
||||
glow:{value:new THREE.Color('#effffb')},
|
||||
blush:{value:new THREE.Color('#d7bab1')},
|
||||
};
|
||||
const material=new THREE.ShaderMaterial({
|
||||
uniforms,transparent:true,depthTest:true,depthWrite:false,side:THREE.DoubleSide,
|
||||
vertexShader:`
|
||||
attribute vec3 curveTangent;
|
||||
attribute vec4 pathStyle, strandStyle;
|
||||
attribute vec3 fraction;
|
||||
attribute vec4 binding,flowStyle;
|
||||
uniform float routeEmphasis[${spines.length}];
|
||||
uniform vec3 startShift[${spines.length}],endShift[${spines.length}];
|
||||
uniform vec2 viewShift;
|
||||
uniform float unit,pixelRatio;
|
||||
varying vec4 travel, strand, motion;
|
||||
varying vec2 shape, along;
|
||||
varying float highlight,filamentOpacity,painted;
|
||||
void main(){
|
||||
vec3 point=(modelMatrix*vec4(position,1.)).xyz;
|
||||
vec3 tangent=(modelMatrix*vec4(curveTangent,0.)).xyz;
|
||||
int route=int(binding.x);
|
||||
// Emphasize the complete connected bundle, not just pixels near a globe.
|
||||
highlight=routeEmphasis[route];
|
||||
float u=binding.y;
|
||||
float blend=u*u*(3.-2.*u);
|
||||
vec3 anchored=mix(startShift[route],endShift[route],blend);
|
||||
vec3 anchorSlope=(endShift[route]-startShift[route])*6.*u*(1.-u)/strandStyle.z;
|
||||
// Endpoint-only deformation preserves the oval's curvature; local
|
||||
// Gaussian attraction to passing planets introduced bends in the spine.
|
||||
point+=anchored;
|
||||
tangent+=anchorSlope;
|
||||
point.xy+=viewShift*point.z*.035;
|
||||
tangent.xy+=viewShift*tangent.z*.035;
|
||||
vec2 normal=normalize(vec2(-tangent.y,tangent.x));
|
||||
float core=max(.28,strandStyle.x*unit*.65)*(1.+.18*highlight);
|
||||
float halfWidth=core+max(.9,2.5*unit);
|
||||
point.xy+=normal*pathStyle.y*halfWidth;
|
||||
travel=pathStyle;strand=strandStyle;motion=flowStyle;painted=binding.w;shape=vec2(core,halfWidth);along=fraction.xy;
|
||||
// Fade interleaved strands before their spacing falls below a pixel.
|
||||
// Keeping all 17 at low DPR produced diagonal moire between filaments.
|
||||
float gap=fraction.z*unit*pixelRatio;
|
||||
filamentOpacity=1.;
|
||||
if(mod(binding.z,2.)>.5)filamentOpacity*=smoothstep(1.,1.6,gap);
|
||||
if(mod(binding.z,4.)>1.5)filamentOpacity*=smoothstep(1.,1.6,gap*2.);
|
||||
if(mod(binding.z,8.)>3.5)filamentOpacity*=smoothstep(1.,1.6,gap*4.);
|
||||
if(binding.w>.5||strandStyle.w>1.)filamentOpacity=1.;
|
||||
gl_Position=projectionMatrix*viewMatrix*vec4(point,1.);
|
||||
}`,
|
||||
fragmentShader:`
|
||||
uniform float time,unit,selectionActive;
|
||||
uniform vec3 teal,pearl,glow,blush;
|
||||
varying vec4 travel,strand,motion;
|
||||
varying vec2 shape,along;
|
||||
varying float highlight,filamentOpacity,painted;
|
||||
void main(){
|
||||
float across=abs(travel.y)*shape.y;
|
||||
// Differentiate the signed ribbon coordinate before taking abs. Across
|
||||
// the centreline, abs cancels neighbouring pixel derivatives and turns
|
||||
// thin filaments into diagonal, braided-looking antialiasing bands.
|
||||
float aa=max(fwidth(travel.y)*shape.y,.35);
|
||||
float signedAcross=travel.y*shape.y;
|
||||
float core=clamp((signedAcross+shape.x)/aa+.5,0.,1.)
|
||||
-clamp((signedAcross-shape.x)/aa+.5,0.,1.);
|
||||
float halo=exp(-across*across/max(shape.y*shape.y*.32,.01));
|
||||
halo*=1.-smoothstep(.75,1.,abs(travel.y));
|
||||
// A compact leading glint with a length-scaled filament tail. Speed is
|
||||
// in art-space distance, with a seeded cadence for each bundle.
|
||||
float cycle=strand.z+motion.y;
|
||||
float progress=(mod(time*motion.x+travel.w*cycle,cycle)-150.)/strand.z;
|
||||
float behind=progress*travel.z-travel.x;
|
||||
float tailLength=motion.z;
|
||||
float tail=smoothstep(-3.,2.,behind)*exp(-max(behind,0.)/tailLength)
|
||||
*(1.-smoothstep(tailLength*2.,tailLength*3.2,behind));
|
||||
float glint=exp(-pow(behind/motion.w,2.));
|
||||
float pulse=strand.w*(tail+.65*glint);
|
||||
float density=min(1.,unit/.55);
|
||||
float brush=painted;
|
||||
float notch=abs(along.x-(.18+.64*along.y));
|
||||
float dry=smoothstep(.004,.014,notch);
|
||||
float quiet=core*strand.y*(.95+.85*highlight)*mix(1.,.12+.88*dry,brush);
|
||||
float light=pulse*(core*.90+halo*.38)*(1.+.25*highlight);
|
||||
float ends=smoothstep(0.,.035,along.x)*smoothstep(0.,.035,1.-along.x);
|
||||
float hoverHalo=halo*.09*highlight*brush;
|
||||
float context=1.-.22*selectionActive*(1.-highlight);
|
||||
float alpha=(quiet+light+hoverHalo)*density*ends*filamentOpacity*context;
|
||||
// A continuous blue-green / pearl ground leaves the brightest white
|
||||
// for the travelling edge filament, with no isolated pigment blocks.
|
||||
vec3 ink=mix(teal,pearl,.18+.36*along.y);
|
||||
ink=mix(ink,blush,smoothstep(.84,.97,along.y)*.55);
|
||||
vec3 paint=mix(teal,pearl,.68+.06*sin(along.x*5.+along.y));
|
||||
vec3 color=mix(ink,paint,brush);
|
||||
color=mix(color,glow,min(.97,pulse*.72+.32*highlight));
|
||||
gl_FragColor=vec4(color,min(alpha,.98));
|
||||
#include <colorspace_fragment>
|
||||
}`,
|
||||
});
|
||||
const mesh=new THREE.Mesh(geometry,material);
|
||||
mesh.name='hero-flow-links';mesh.frustumCulled=false;mesh.renderOrder=-1;
|
||||
const byName=new Map(targets.map(target=>[target.name,target]));
|
||||
function attach(shift,target,point,scale){
|
||||
if(!target){shift.set(0,0,0);return;}
|
||||
target.sphere.getWorldPosition(shift);
|
||||
shift.z-=target.sphere.scale.x*target.root.scale.x*.15;
|
||||
shift.x-=(point[0]-781)*scale+mesh.position.x;
|
||||
shift.y-=(567-point[1])*scale+mesh.position.y;
|
||||
shift.z-=point[2]*scale;
|
||||
}
|
||||
return {
|
||||
mesh,
|
||||
update(time,width,height,pointer={x:0,y:0},pixelRatio=1){
|
||||
// Composition box is explicit: no hidden legacy image owns layout.
|
||||
const boxHeight=Math.round(height*.78751),boxWidth=Math.round(height*.78751*1562/1134);
|
||||
const scale=boxWidth/1562;
|
||||
uniforms.time.value=time;uniforms.unit.value=scale;uniforms.pixelRatio.value=pixelRatio;
|
||||
uniforms.viewShift.value.set(pointer.x,pointer.y);
|
||||
mesh.scale.setScalar(scale);
|
||||
mesh.position.set(Math.round(width*.10545)+boxWidth/2-width/2,
|
||||
height/2-Math.round(height*.07326)-boxHeight/2,0);
|
||||
spines.forEach(({from,to,via=[],points},i)=>{
|
||||
attach(uniforms.startShift.value[i],byName.get(from),points[0],scale);
|
||||
attach(uniforms.endShift.value[i],byName.get(to),points[3],scale);
|
||||
uniforms.routeEmphasis.value[i]=Math.max(...[from,...via,to].map(name=>
|
||||
byName.get(name)?.material.uniforms.emphasis.value||0));
|
||||
});
|
||||
uniforms.selectionActive.value=Math.max(...uniforms.routeEmphasis.value);
|
||||
},
|
||||
dispose(){mesh.removeFromParent();geometry.dispose();material.dispose();},
|
||||
};
|
||||
}
|
||||
/*! update cache: 20261106114509 */
|
||||
@@ -8,4 +8,4 @@ document$.subscribe(({ body }) => {
|
||||
],
|
||||
});
|
||||
});
|
||||
/*! update cache: 20261105081654 */
|
||||
/*! update cache: 20261106114509 */
|
||||
|
||||
@@ -15,4 +15,4 @@ window.MathJax = {
|
||||
document$.subscribe(() => {
|
||||
MathJax.typesetPromise();
|
||||
});
|
||||
/*! update cache: 20261105081654 */
|
||||
/*! update cache: 20261106114509 */
|
||||
|
||||
@@ -176,4 +176,4 @@
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
}
|
||||
/*! update cache: 20261105081654 */
|
||||
/*! update cache: 20261106114509 */
|
||||
|
||||
@@ -979,4 +979,4 @@ a:hover .device-on-hover {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
/*! update cache: 20261105081654 */
|
||||
/*! update cache: 20261106114509 */
|
||||
|
||||
@@ -122,4 +122,4 @@ main .gsc-loading-image {
|
||||
.gsc-reply-content::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
/*! update cache: 20261105081654 */
|
||||
/*! update cache: 20261106114509 */
|
||||
|
||||
@@ -153,4 +153,4 @@ main {
|
||||
.gsc-reply-content::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
/*! update cache: 20261105081654 */
|
||||
/*! update cache: 20261106114509 */
|
||||
|
||||
145
index.html
@@ -152,7 +152,7 @@
|
||||
</nav>
|
||||
</header>
|
||||
<div class="md-container" data-md-component="container">
|
||||
<link href="assets/home/50aa7b2c8191c024/hero-motion.css" rel="stylesheet"/>
|
||||
<link href="assets/home/087f217bf2136799/hero-motion.css" rel="stylesheet"/>
|
||||
<noscript>
|
||||
<style>
|
||||
[data-home-src], video[data-home-poster], [data-hero-fallback] { display: none; }
|
||||
@@ -164,126 +164,125 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="hero-div" data-home-layout="universe">
|
||||
<img alt="" data-hero-asset="ground" data-source-height="380" data-source-width="881" height="380" loading="lazy" src="assets/home/50aa7b2c8191c024/../shared/images/567306c070a6a7e2/ground.webp" style="position: absolute; width: auto; height: 26.445%; left: 28.211%; top: 54.145%;; aspect-ratio: 881 / 380" width="881"/>
|
||||
<img alt="" data-hero-asset="links" data-source-height="1134" data-source-width="1562" height="1134" loading="lazy" src="assets/home/50aa7b2c8191c024/../shared/images/3e50f38a325c1cb5/links.webp" style="position: absolute; width: auto; height: 78.751%; left: 10.545%; top: 7.326%;; aspect-ratio: 1562 / 1134" width="1562"/>
|
||||
<img alt="" data-hero-asset="ground" data-source-height="380" data-source-width="881" height="380" loading="lazy" src="assets/home/087f217bf2136799/../shared/images/567306c070a6a7e2/ground.webp" style="position: absolute; width: auto; height: 26.445%; left: 28.211%; top: 54.145%;; aspect-ratio: 881 / 380" width="881"/>
|
||||
<a href="chapter_introduction/">
|
||||
<img alt="" data-hero-asset="astronaut" data-source-height="672" data-source-width="515" height="672" src="assets/home/50aa7b2c8191c024/../shared/images/8e5eb3b3e3ebd9f7/astronaut.webp" style="height: 46.673%; left: 35.413%; top: 24.343%;; aspect-ratio: 515 / 672" width="515"/>
|
||||
<img alt="" data-hero-asset="astronaut" data-source-height="672" data-source-width="515" height="672" src="assets/home/087f217bf2136799/../shared/images/8e5eb3b3e3ebd9f7/astronaut.webp" style="height: 46.673%; left: 35.413%; top: 24.343%;; aspect-ratio: 515 / 672" width="515"/>
|
||||
<span style="left: 52.244%; top: 20.919%;">
|
||||
初识算法
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_computational_complexity/">
|
||||
<img alt="" data-hero-asset="chapter_computational_complexity" data-hero-fallback="assets/home/50aa7b2c8191c024/../shared/images/2fb425426d1f8d86/chapter_computational_complexity.webp" data-source-height="178" data-source-width="113" height="178" style="height: 12.347%; left: 36.267%; top: 37.653%;; aspect-ratio: 113 / 178" width="113"/>
|
||||
<img alt="" data-hero-asset="chapter_computational_complexity" data-hero-fallback="assets/home/087f217bf2136799/../shared/images/2fb425426d1f8d86/chapter_computational_complexity.webp" data-source-height="178" data-source-width="113" height="178" style="height: 12.347%; left: 36.267%; top: 37.653%;; aspect-ratio: 113 / 178" width="113"/>
|
||||
<noscript>
|
||||
<img alt="" height="178" src="assets/home/50aa7b2c8191c024/../shared/images/2fb425426d1f8d86/chapter_computational_complexity.webp" style="height: 12.347%; left: 36.267%; top: 37.653%;" width="113"/>
|
||||
<img alt="" height="178" src="assets/home/087f217bf2136799/../shared/images/2fb425426d1f8d86/chapter_computational_complexity.webp" style="height: 12.347%; left: 36.267%; top: 37.653%;" width="113"/>
|
||||
</noscript>
|
||||
<span style="left: 39.244%; top: 33.919%;">
|
||||
复杂度分析
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_array_and_linkedlist/">
|
||||
<img alt="" data-hero-asset="chapter_array_and_linkedlist" data-hero-fallback="assets/home/50aa7b2c8191c024/../shared/images/5cbbdf7be555d3ef/chapter_array_and_linkedlist.webp" data-source-height="319" data-source-width="468" height="319" style="height: 22.242%; left: 73.242%; top: 52.481%;; aspect-ratio: 468 / 319" width="468"/>
|
||||
<img alt="" data-hero-asset="chapter_array_and_linkedlist" data-hero-fallback="assets/home/087f217bf2136799/../shared/images/5cbbdf7be555d3ef/chapter_array_and_linkedlist.webp" data-source-height="319" data-source-width="468" height="319" style="height: 22.242%; left: 73.242%; top: 52.481%;; aspect-ratio: 468 / 319" width="468"/>
|
||||
<noscript>
|
||||
<img alt="" height="319" src="assets/home/50aa7b2c8191c024/../shared/images/5cbbdf7be555d3ef/chapter_array_and_linkedlist.webp" style="height: 22.242%; left: 73.242%; top: 52.481%;" width="468"/>
|
||||
<img alt="" height="319" src="assets/home/087f217bf2136799/../shared/images/5cbbdf7be555d3ef/chapter_array_and_linkedlist.webp" style="height: 22.242%; left: 73.242%; top: 52.481%;" width="468"/>
|
||||
</noscript>
|
||||
<span style="left: 90.897%; top: 76.259%;">
|
||||
数组与链表
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_stack_and_queue/">
|
||||
<img alt="" data-hero-asset="chapter_stack_and_queue" data-hero-fallback="assets/home/50aa7b2c8191c024/../shared/images/e2667767cf7481bd/chapter_stack_and_queue.webp" data-source-height="204" data-source-width="204" height="204" style="height: 14.302%; left: 62.646%; top: 77.875%;; aspect-ratio: 204 / 204" width="204"/>
|
||||
<img alt="" data-hero-asset="chapter_stack_and_queue" data-hero-fallback="assets/home/087f217bf2136799/../shared/images/e2667767cf7481bd/chapter_stack_and_queue.webp" data-source-height="204" data-source-width="204" height="204" style="height: 14.302%; left: 62.646%; top: 77.875%;; aspect-ratio: 204 / 204" width="204"/>
|
||||
<noscript>
|
||||
<img alt="" height="204" src="assets/home/50aa7b2c8191c024/../shared/images/e2667767cf7481bd/chapter_stack_and_queue.webp" style="height: 14.302%; left: 62.646%; top: 77.875%;" width="204"/>
|
||||
<img alt="" height="204" src="assets/home/087f217bf2136799/../shared/images/e2667767cf7481bd/chapter_stack_and_queue.webp" style="height: 14.302%; left: 62.646%; top: 77.875%;" width="204"/>
|
||||
</noscript>
|
||||
<span style="left: 77.571%; top: 91.25%;">
|
||||
栈与队列
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_hashing/">
|
||||
<img alt="" data-hero-asset="chapter_hashing" data-hero-fallback="assets/home/50aa7b2c8191c024/../shared/images/b108d70a537714cb/chapter_hashing.webp" data-source-height="218" data-source-width="218" height="218" style="height: 15.266%; left: 63.281%; top: 27.933%;; aspect-ratio: 218 / 218" width="218"/>
|
||||
<img alt="" data-hero-asset="chapter_hashing" data-hero-fallback="assets/home/087f217bf2136799/../shared/images/b108d70a537714cb/chapter_hashing.webp" data-source-height="218" data-source-width="218" height="218" style="height: 15.266%; left: 63.281%; top: 27.933%;; aspect-ratio: 218 / 218" width="218"/>
|
||||
<noscript>
|
||||
<img alt="" height="218" src="assets/home/50aa7b2c8191c024/../shared/images/b108d70a537714cb/chapter_hashing.webp" style="height: 15.266%; left: 63.281%; top: 27.933%;" width="218"/>
|
||||
<img alt="" height="218" src="assets/home/087f217bf2136799/../shared/images/b108d70a537714cb/chapter_hashing.webp" style="height: 15.266%; left: 63.281%; top: 27.933%;" width="218"/>
|
||||
</noscript>
|
||||
<span style="left: 68.862%; top: 46.292%;">
|
||||
哈希表
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_tree/">
|
||||
<img alt="" data-hero-asset="chapter_tree" data-hero-fallback="assets/home/50aa7b2c8191c024/../shared/images/8138bb0acecedec4/chapter_tree.webp" data-source-height="281" data-source-width="280" height="281" style="height: 19.615%; left: 80.137%; top: 26.678%;; aspect-ratio: 280 / 281" width="280"/>
|
||||
<img alt="" data-hero-asset="chapter_tree" data-hero-fallback="assets/home/087f217bf2136799/../shared/images/8138bb0acecedec4/chapter_tree.webp" data-source-height="281" data-source-width="280" height="281" style="height: 19.615%; left: 80.137%; top: 26.678%;; aspect-ratio: 280 / 281" width="280"/>
|
||||
<noscript>
|
||||
<img alt="" height="281" src="assets/home/50aa7b2c8191c024/../shared/images/8138bb0acecedec4/chapter_tree.webp" style="height: 19.615%; left: 80.137%; top: 26.678%;" width="280"/>
|
||||
<img alt="" height="281" src="assets/home/087f217bf2136799/../shared/images/8138bb0acecedec4/chapter_tree.webp" style="height: 19.615%; left: 80.137%; top: 26.678%;" width="280"/>
|
||||
</noscript>
|
||||
<span style="left: 96.159%; top: 44.8%;">
|
||||
树
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_heap/">
|
||||
<img alt="" data-hero-asset="chapter_heap" data-hero-fallback="assets/home/50aa7b2c8191c024/../shared/images/7586281e6691807a/chapter_heap.webp" data-source-height="152" data-source-width="151" height="152" style="height: 10.566%; left: 77.226%; top: 11.559%;; aspect-ratio: 151 / 152" width="151"/>
|
||||
<img alt="" data-hero-asset="chapter_heap" data-hero-fallback="assets/home/087f217bf2136799/../shared/images/7586281e6691807a/chapter_heap.webp" data-source-height="152" data-source-width="151" height="152" style="height: 10.566%; left: 77.226%; top: 11.559%;; aspect-ratio: 151 / 152" width="151"/>
|
||||
<noscript>
|
||||
<img alt="" height="152" src="assets/home/50aa7b2c8191c024/../shared/images/7586281e6691807a/chapter_heap.webp" style="height: 10.566%; left: 77.226%; top: 11.559%;" width="151"/>
|
||||
<img alt="" height="152" src="assets/home/087f217bf2136799/../shared/images/7586281e6691807a/chapter_heap.webp" style="height: 10.566%; left: 77.226%; top: 11.559%;" width="151"/>
|
||||
</noscript>
|
||||
<span style="left: 88.103%; top: 15.422%;">
|
||||
堆
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_graph/">
|
||||
<img alt="" data-hero-asset="chapter_graph" data-hero-fallback="assets/home/50aa7b2c8191c024/../shared/images/175a7f2e7c3cf5f0/chapter_graph.webp" data-source-height="272" data-source-width="542" height="272" style="height: 16.112%; left: 51.854%; top: 5.575%;; aspect-ratio: 542 / 272" width="542"/>
|
||||
<img alt="" data-hero-asset="chapter_graph" data-hero-fallback="assets/home/087f217bf2136799/../shared/images/175a7f2e7c3cf5f0/chapter_graph.webp" data-source-height="272" data-source-width="542" height="272" style="height: 16.112%; left: 51.854%; top: 5.575%;; aspect-ratio: 542 / 272" width="542"/>
|
||||
<noscript>
|
||||
<img alt="" height="272" src="assets/home/50aa7b2c8191c024/../shared/images/175a7f2e7c3cf5f0/chapter_graph.webp" style="height: 16.112%; left: 51.854%; top: 5.575%;" width="542"/>
|
||||
<img alt="" height="272" src="assets/home/087f217bf2136799/../shared/images/175a7f2e7c3cf5f0/chapter_graph.webp" style="height: 16.112%; left: 51.854%; top: 5.575%;" width="542"/>
|
||||
</noscript>
|
||||
<span style="left: 71.195%; top: 6.503%;">
|
||||
图
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_searching/">
|
||||
<img alt="" data-hero-asset="chapter_searching" data-hero-fallback="assets/home/50aa7b2c8191c024/../shared/images/ebfe2b953dbb9d90/chapter_searching.webp" data-source-height="216" data-source-width="216" height="216" style="height: 15.149%; left: 18.185%; top: 16.404%;; aspect-ratio: 216 / 216" width="216"/>
|
||||
<img alt="" data-hero-asset="chapter_searching" data-hero-fallback="assets/home/087f217bf2136799/../shared/images/ebfe2b953dbb9d90/chapter_searching.webp" data-source-height="216" data-source-width="216" height="216" style="height: 15.149%; left: 18.185%; top: 16.404%;; aspect-ratio: 216 / 216" width="216"/>
|
||||
<noscript>
|
||||
<img alt="" height="216" src="assets/home/50aa7b2c8191c024/../shared/images/ebfe2b953dbb9d90/chapter_searching.webp" style="height: 15.149%; left: 18.185%; top: 16.404%;" width="216"/>
|
||||
<img alt="" height="216" src="assets/home/087f217bf2136799/../shared/images/ebfe2b953dbb9d90/chapter_searching.webp" style="height: 15.149%; left: 18.185%; top: 16.404%;" width="216"/>
|
||||
</noscript>
|
||||
<span style="left: 14.556%; top: 20.876%;">
|
||||
搜索
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_sorting/">
|
||||
<img alt="" data-hero-asset="chapter_sorting" data-hero-fallback="assets/home/50aa7b2c8191c024/../shared/images/9d4be68b2680967c/chapter_sorting.webp" data-source-height="137" data-source-width="138" height="137" style="height: 9.574%; left: 25.409%; top: 40.747%;; aspect-ratio: 138 / 137" width="138"/>
|
||||
<img alt="" data-hero-asset="chapter_sorting" data-hero-fallback="assets/home/087f217bf2136799/../shared/images/9d4be68b2680967c/chapter_sorting.webp" data-source-height="137" data-source-width="138" height="137" style="height: 9.574%; left: 25.409%; top: 40.747%;; aspect-ratio: 138 / 137" width="138"/>
|
||||
<noscript>
|
||||
<img alt="" height="137" src="assets/home/50aa7b2c8191c024/../shared/images/9d4be68b2680967c/chapter_sorting.webp" style="height: 9.574%; left: 25.409%; top: 40.747%;" width="138"/>
|
||||
<img alt="" height="137" src="assets/home/087f217bf2136799/../shared/images/9d4be68b2680967c/chapter_sorting.webp" style="height: 9.574%; left: 25.409%; top: 40.747%;" width="138"/>
|
||||
</noscript>
|
||||
<span style="left: 28.805%; top: 53.808%;">
|
||||
排序
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_divide_and_conquer/">
|
||||
<img alt="" data-hero-asset="chapter_divide_and_conquer" data-hero-fallback="assets/home/50aa7b2c8191c024/../shared/images/6f5766ca9385cd2e/chapter_divide_and_conquer.webp" data-source-height="269" data-source-width="407" height="269" style="height: 18.681%; left: 32.721%; top: 4.816%;; aspect-ratio: 407 / 269" width="407"/>
|
||||
<img alt="" data-hero-asset="chapter_divide_and_conquer" data-hero-fallback="assets/home/087f217bf2136799/../shared/images/6f5766ca9385cd2e/chapter_divide_and_conquer.webp" data-source-height="269" data-source-width="407" height="269" style="height: 18.681%; left: 32.721%; top: 4.816%;; aspect-ratio: 407 / 269" width="407"/>
|
||||
<noscript>
|
||||
<img alt="" height="269" src="assets/home/50aa7b2c8191c024/../shared/images/6f5766ca9385cd2e/chapter_divide_and_conquer.webp" style="height: 18.681%; left: 32.721%; top: 4.816%;" width="407"/>
|
||||
<img alt="" height="269" src="assets/home/087f217bf2136799/../shared/images/6f5766ca9385cd2e/chapter_divide_and_conquer.webp" style="height: 18.681%; left: 32.721%; top: 4.816%;" width="407"/>
|
||||
</noscript>
|
||||
<span style="left: 31.42%; top: 8.679%;">
|
||||
分治
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_backtracking/">
|
||||
<img alt="" data-hero-asset="chapter_backtracking" data-hero-fallback="assets/home/50aa7b2c8191c024/../shared/images/176675e685febf11/chapter_backtracking.webp" data-source-height="249" data-source-width="345" height="249" style="height: 17.338%; left: 4.875%; top: 32.925%;; aspect-ratio: 345 / 249" width="345"/>
|
||||
<img alt="" data-hero-asset="chapter_backtracking" data-hero-fallback="assets/home/087f217bf2136799/../shared/images/176675e685febf11/chapter_backtracking.webp" data-source-height="249" data-source-width="345" height="249" style="height: 17.338%; left: 4.875%; top: 32.925%;; aspect-ratio: 345 / 249" width="345"/>
|
||||
<noscript>
|
||||
<img alt="" height="249" src="assets/home/50aa7b2c8191c024/../shared/images/176675e685febf11/chapter_backtracking.webp" style="height: 17.338%; left: 4.875%; top: 32.925%;" width="345"/>
|
||||
<img alt="" height="249" src="assets/home/087f217bf2136799/../shared/images/176675e685febf11/chapter_backtracking.webp" style="height: 17.338%; left: 4.875%; top: 32.925%;" width="345"/>
|
||||
</noscript>
|
||||
<span style="left: 4.742%; top: 50.113%;">
|
||||
回溯
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_dynamic_programming/">
|
||||
<img alt="" data-hero-asset="chapter_dynamic_programming" data-hero-fallback="assets/home/50aa7b2c8191c024/../shared/images/06264b1ffd05b08e/chapter_dynamic_programming.webp" data-source-height="268" data-source-width="267" height="268" style="height: 15.47%; left: 9.406%; top: 57.472%;; aspect-ratio: 267 / 268" width="267"/>
|
||||
<img alt="" data-hero-asset="chapter_dynamic_programming" data-hero-fallback="assets/home/087f217bf2136799/../shared/images/06264b1ffd05b08e/chapter_dynamic_programming.webp" data-source-height="268" data-source-width="267" height="268" style="height: 15.47%; left: 9.406%; top: 57.472%;; aspect-ratio: 267 / 268" width="267"/>
|
||||
<noscript>
|
||||
<img alt="" height="268" src="assets/home/50aa7b2c8191c024/../shared/images/06264b1ffd05b08e/chapter_dynamic_programming.webp" style="height: 15.47%; left: 9.406%; top: 57.472%;" width="267"/>
|
||||
<img alt="" height="268" src="assets/home/087f217bf2136799/../shared/images/06264b1ffd05b08e/chapter_dynamic_programming.webp" style="height: 15.47%; left: 9.406%; top: 57.472%;" width="267"/>
|
||||
</noscript>
|
||||
<span style="left: 8.561%; top: 75.351%;">
|
||||
动态规划
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_greedy/">
|
||||
<img alt="" data-hero-asset="chapter_greedy" data-hero-fallback="assets/home/50aa7b2c8191c024/../shared/images/2ce6caaac951c40b/chapter_greedy.webp" data-source-height="202" data-source-width="265" height="202" style="height: 14.127%; left: 23.132%; top: 75.803%;; aspect-ratio: 265 / 202" width="265"/>
|
||||
<img alt="" data-hero-asset="chapter_greedy" data-hero-fallback="assets/home/087f217bf2136799/../shared/images/2ce6caaac951c40b/chapter_greedy.webp" data-source-height="202" data-source-width="265" height="202" style="height: 14.127%; left: 23.132%; top: 75.803%;; aspect-ratio: 265 / 202" width="265"/>
|
||||
<noscript>
|
||||
<img alt="" height="202" src="assets/home/50aa7b2c8191c024/../shared/images/2ce6caaac951c40b/chapter_greedy.webp" style="height: 14.127%; left: 23.132%; top: 75.803%;" width="265"/>
|
||||
<img alt="" height="202" src="assets/home/087f217bf2136799/../shared/images/2ce6caaac951c40b/chapter_greedy.webp" style="height: 14.127%; left: 23.132%; top: 75.803%;" width="265"/>
|
||||
</noscript>
|
||||
<span style="left: 21.619%; top: 86.85%;">
|
||||
贪心
|
||||
@@ -330,9 +329,9 @@
|
||||
<a href="chapter_paperbook/">
|
||||
<div style="height: 8.17%;">
|
||||
</div>
|
||||
<img alt="Cover" class="device-on-hover" data-home-src="assets/home/50aa7b2c8191c024/../shared/images/dc5be783cea3a262/cover_render.webp" decoding="async" height="720" style="height: 66.83%;" width="535"/>
|
||||
<img alt="Cover" class="device-on-hover" data-home-src="assets/home/087f217bf2136799/../shared/images/dc5be783cea3a262/cover_render.webp" decoding="async" height="720" style="height: 66.83%;" width="535"/>
|
||||
<noscript>
|
||||
<img alt="Cover" class="device-on-hover" height="720" loading="lazy" src="assets/home/50aa7b2c8191c024/../shared/images/dc5be783cea3a262/cover_render.webp" style="height: 66.83%;" width="535"/>
|
||||
<img alt="Cover" class="device-on-hover" height="720" loading="lazy" src="assets/home/087f217bf2136799/../shared/images/dc5be783cea3a262/cover_render.webp" style="height: 66.83%;" width="535"/>
|
||||
</noscript>
|
||||
<div class="text-button">
|
||||
<span>
|
||||
@@ -349,9 +348,9 @@
|
||||
<a href="chapter_hello_algo/">
|
||||
<div style="height: 4.34%;">
|
||||
</div>
|
||||
<img alt="" class="device-on-hover" data-home-src="assets/home/50aa7b2c8191c024/../shared/images/5b64cf7672ec5ec6/web_mac_iphone.webp" decoding="async" height="965" style="height: 66.31%;" width="1598"/>
|
||||
<img alt="" class="device-on-hover" data-home-src="assets/home/087f217bf2136799/../shared/images/5b64cf7672ec5ec6/web_mac_iphone.webp" decoding="async" height="965" style="height: 66.31%;" width="1598"/>
|
||||
<noscript>
|
||||
<img alt="" class="device-on-hover" height="965" loading="lazy" src="assets/home/50aa7b2c8191c024/../shared/images/5b64cf7672ec5ec6/web_mac_iphone.webp" style="height: 66.31%;" width="1598"/>
|
||||
<img alt="" class="device-on-hover" height="965" loading="lazy" src="assets/home/087f217bf2136799/../shared/images/5b64cf7672ec5ec6/web_mac_iphone.webp" style="height: 66.31%;" width="1598"/>
|
||||
</noscript>
|
||||
<div style="height: 4.34%;">
|
||||
</div>
|
||||
@@ -368,9 +367,9 @@
|
||||
</div>
|
||||
<div class="media-block">
|
||||
<a href="https://github.com/krahets/hello-algo/releases">
|
||||
<img alt="" class="device-on-hover" data-home-src="assets/home/50aa7b2c8191c024/../shared/images/66baa2f9bf3abec7/pdf_ipad.webp" decoding="async" height="960" style="height: 75%;" width="812"/>
|
||||
<img alt="" class="device-on-hover" data-home-src="assets/home/087f217bf2136799/../shared/images/66baa2f9bf3abec7/pdf_ipad.webp" decoding="async" height="960" style="height: 75%;" width="812"/>
|
||||
<noscript>
|
||||
<img alt="" class="device-on-hover" height="960" loading="lazy" src="assets/home/50aa7b2c8191c024/../shared/images/66baa2f9bf3abec7/pdf_ipad.webp" style="height: 75%;" width="812"/>
|
||||
<img alt="" class="device-on-hover" height="960" loading="lazy" src="assets/home/087f217bf2136799/../shared/images/66baa2f9bf3abec7/pdf_ipad.webp" style="height: 75%;" width="812"/>
|
||||
</noscript>
|
||||
<div class="text-button">
|
||||
<span>
|
||||
@@ -438,21 +437,21 @@
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<video aria-label="Animation example" class="intro-image" data-home-poster="assets/home/50aa7b2c8191c024/../shared/images/9e5f39bf33afc70f/animation-poster.webp" data-home-video="assets/home/50aa7b2c8191c024/../shared/media/6c70de2b2bf4eef7/animation.mp4" height="1080" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1600 / 1080" width="1600">
|
||||
<video aria-label="Animation example" class="intro-image" data-home-poster="assets/home/087f217bf2136799/../shared/images/9e5f39bf33afc70f/animation-poster.webp" data-home-video="assets/home/087f217bf2136799/../shared/media/6c70de2b2bf4eef7/animation.mp4" height="1080" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1600 / 1080" width="1600">
|
||||
</video>
|
||||
<noscript>
|
||||
<a href="assets/home/50aa7b2c8191c024/../shared/media/6c70de2b2bf4eef7/animation.mp4">
|
||||
<img alt="Animation example" class="intro-image" height="1080" src="assets/home/50aa7b2c8191c024/../shared/images/9e5f39bf33afc70f/animation-poster.webp" width="1600"/>
|
||||
<a href="assets/home/087f217bf2136799/../shared/media/6c70de2b2bf4eef7/animation.mp4">
|
||||
<img alt="Animation example" class="intro-image" height="1080" src="assets/home/087f217bf2136799/../shared/images/9e5f39bf33afc70f/animation-poster.webp" width="1600"/>
|
||||
动画图解
|
||||
</a>
|
||||
</noscript>
|
||||
</div>
|
||||
<div class="intro-container">
|
||||
<video aria-label="Running code example" class="intro-image" data-home-poster="assets/home/50aa7b2c8191c024/../shared/images/f33a13e8331245ae/running_code-poster.webp" data-home-video="assets/home/50aa7b2c8191c024/../shared/media/bb169a96ca8316da/running_code.mp4" height="1082" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1600 / 1082" width="1600">
|
||||
<video aria-label="Running code example" class="intro-image" data-home-poster="assets/home/087f217bf2136799/../shared/images/f33a13e8331245ae/running_code-poster.webp" data-home-video="assets/home/087f217bf2136799/../shared/media/bb169a96ca8316da/running_code.mp4" height="1082" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1600 / 1082" width="1600">
|
||||
</video>
|
||||
<noscript>
|
||||
<a href="assets/home/50aa7b2c8191c024/../shared/media/bb169a96ca8316da/running_code.mp4">
|
||||
<img alt="Running code example" class="intro-image" height="1082" src="assets/home/50aa7b2c8191c024/../shared/images/f33a13e8331245ae/running_code-poster.webp" width="1600"/>
|
||||
<a href="assets/home/087f217bf2136799/../shared/media/bb169a96ca8316da/running_code.mp4">
|
||||
<img alt="Running code example" class="intro-image" height="1082" src="assets/home/087f217bf2136799/../shared/images/f33a13e8331245ae/running_code-poster.webp" width="1600"/>
|
||||
一键运行
|
||||
</a>
|
||||
</noscript>
|
||||
@@ -500,11 +499,11 @@
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<video aria-label="Comments example" class="intro-image" data-home-poster="assets/home/50aa7b2c8191c024/../shared/images/f9ac69536a7582f5/comment-poster.webp" data-home-video="assets/home/50aa7b2c8191c024/../shared/media/62aa0b8d351c63a7/comment.mp4" height="1080" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1600 / 1080" width="1600">
|
||||
<video aria-label="Comments example" class="intro-image" data-home-poster="assets/home/087f217bf2136799/../shared/images/f9ac69536a7582f5/comment-poster.webp" data-home-video="assets/home/087f217bf2136799/../shared/media/62aa0b8d351c63a7/comment.mp4" height="1080" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1600 / 1080" width="1600">
|
||||
</video>
|
||||
<noscript>
|
||||
<a href="assets/home/50aa7b2c8191c024/../shared/media/62aa0b8d351c63a7/comment.mp4">
|
||||
<img alt="Comments example" class="intro-image" height="1080" src="assets/home/50aa7b2c8191c024/../shared/images/f9ac69536a7582f5/comment-poster.webp" width="1600"/>
|
||||
<a href="assets/home/087f217bf2136799/../shared/media/62aa0b8d351c63a7/comment.mp4">
|
||||
<img alt="Comments example" class="intro-image" height="1080" src="assets/home/087f217bf2136799/../shared/images/f9ac69536a7582f5/comment-poster.webp" width="1600"/>
|
||||
互助学习
|
||||
</a>
|
||||
</noscript>
|
||||
@@ -520,9 +519,9 @@
|
||||
<div class="profile-div">
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/krahets">
|
||||
<img alt="Author: yudongjin" class="profile-img" data-home-src="assets/home/50aa7b2c8191c024/../shared/images/02348410d40f7665/avatar_yudongjin.webp" decoding="async" height="512" width="512"/>
|
||||
<img alt="Author: yudongjin" class="profile-img" data-home-src="assets/home/087f217bf2136799/../shared/images/02348410d40f7665/avatar_yudongjin.webp" decoding="async" height="512" width="512"/>
|
||||
<noscript>
|
||||
<img alt="Author: yudongjin" class="profile-img" height="512" loading="lazy" src="assets/home/50aa7b2c8191c024/../shared/images/02348410d40f7665/avatar_yudongjin.webp" width="512"/>
|
||||
<img alt="Author: yudongjin" class="profile-img" height="512" loading="lazy" src="assets/home/087f217bf2136799/../shared/images/02348410d40f7665/avatar_yudongjin.webp" width="512"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -542,9 +541,9 @@
|
||||
<div class="profile-div">
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/coderonion">
|
||||
<img alt="Reviewer: coderonion" class="profile-img" data-home-src="assets/home/50aa7b2c8191c024/../shared/images/db606f27971eae34/avatar_coderonion.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: coderonion" class="profile-img" data-home-src="assets/home/087f217bf2136799/../shared/images/db606f27971eae34/avatar_coderonion.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: coderonion" class="profile-img" height="384" loading="lazy" src="assets/home/50aa7b2c8191c024/../shared/images/db606f27971eae34/avatar_coderonion.webp" width="384"/>
|
||||
<img alt="Reviewer: coderonion" class="profile-img" height="384" loading="lazy" src="assets/home/087f217bf2136799/../shared/images/db606f27971eae34/avatar_coderonion.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -558,9 +557,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/curtishd">
|
||||
<img alt="Reviewer: curtishd" class="profile-img" data-home-src="assets/home/50aa7b2c8191c024/../shared/images/feedb0e547ea31fc/avatar_curtishd.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: curtishd" class="profile-img" data-home-src="assets/home/087f217bf2136799/../shared/images/feedb0e547ea31fc/avatar_curtishd.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: curtishd" class="profile-img" height="384" loading="lazy" src="assets/home/50aa7b2c8191c024/../shared/images/feedb0e547ea31fc/avatar_curtishd.webp" width="384"/>
|
||||
<img alt="Reviewer: curtishd" class="profile-img" height="384" loading="lazy" src="assets/home/087f217bf2136799/../shared/images/feedb0e547ea31fc/avatar_curtishd.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -574,9 +573,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/Gonglja">
|
||||
<img alt="Reviewer: Gonglja" class="profile-img" data-home-src="assets/home/50aa7b2c8191c024/../shared/images/cdcf023b032b8d30/avatar_Gonglja.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: Gonglja" class="profile-img" data-home-src="assets/home/087f217bf2136799/../shared/images/cdcf023b032b8d30/avatar_Gonglja.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: Gonglja" class="profile-img" height="384" loading="lazy" src="assets/home/50aa7b2c8191c024/../shared/images/cdcf023b032b8d30/avatar_Gonglja.webp" width="384"/>
|
||||
<img alt="Reviewer: Gonglja" class="profile-img" height="384" loading="lazy" src="assets/home/087f217bf2136799/../shared/images/cdcf023b032b8d30/avatar_Gonglja.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -590,9 +589,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/gvenusleo">
|
||||
<img alt="Reviewer: gvenusleo" class="profile-img" data-home-src="assets/home/50aa7b2c8191c024/../shared/images/464e2d351b9263ec/avatar_gvenusleo.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: gvenusleo" class="profile-img" data-home-src="assets/home/087f217bf2136799/../shared/images/464e2d351b9263ec/avatar_gvenusleo.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: gvenusleo" class="profile-img" height="384" loading="lazy" src="assets/home/50aa7b2c8191c024/../shared/images/464e2d351b9263ec/avatar_gvenusleo.webp" width="384"/>
|
||||
<img alt="Reviewer: gvenusleo" class="profile-img" height="384" loading="lazy" src="assets/home/087f217bf2136799/../shared/images/464e2d351b9263ec/avatar_gvenusleo.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -606,9 +605,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/hpstory">
|
||||
<img alt="Reviewer: hpstory" class="profile-img" data-home-src="assets/home/50aa7b2c8191c024/../shared/images/7b6478acdab6b845/avatar_hpstory.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: hpstory" class="profile-img" data-home-src="assets/home/087f217bf2136799/../shared/images/7b6478acdab6b845/avatar_hpstory.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: hpstory" class="profile-img" height="384" loading="lazy" src="assets/home/50aa7b2c8191c024/../shared/images/7b6478acdab6b845/avatar_hpstory.webp" width="384"/>
|
||||
<img alt="Reviewer: hpstory" class="profile-img" height="384" loading="lazy" src="assets/home/087f217bf2136799/../shared/images/7b6478acdab6b845/avatar_hpstory.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -622,9 +621,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/justin-tse">
|
||||
<img alt="Reviewer: justin-tse" class="profile-img" data-home-src="assets/home/50aa7b2c8191c024/../shared/images/208ee5aae490eefa/avatar_justin-tse.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: justin-tse" class="profile-img" data-home-src="assets/home/087f217bf2136799/../shared/images/208ee5aae490eefa/avatar_justin-tse.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: justin-tse" class="profile-img" height="384" loading="lazy" src="assets/home/50aa7b2c8191c024/../shared/images/208ee5aae490eefa/avatar_justin-tse.webp" width="384"/>
|
||||
<img alt="Reviewer: justin-tse" class="profile-img" height="384" loading="lazy" src="assets/home/087f217bf2136799/../shared/images/208ee5aae490eefa/avatar_justin-tse.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -638,9 +637,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/khoaxuantu">
|
||||
<img alt="Reviewer: khoaxuantu" class="profile-img" data-home-src="assets/home/50aa7b2c8191c024/../shared/images/9d3f1a21ff51de78/avatar_khoaxuantu.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: khoaxuantu" class="profile-img" data-home-src="assets/home/087f217bf2136799/../shared/images/9d3f1a21ff51de78/avatar_khoaxuantu.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: khoaxuantu" class="profile-img" height="384" loading="lazy" src="assets/home/50aa7b2c8191c024/../shared/images/9d3f1a21ff51de78/avatar_khoaxuantu.webp" width="384"/>
|
||||
<img alt="Reviewer: khoaxuantu" class="profile-img" height="384" loading="lazy" src="assets/home/087f217bf2136799/../shared/images/9d3f1a21ff51de78/avatar_khoaxuantu.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -654,9 +653,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/krahets">
|
||||
<img alt="Reviewer: krahets" class="profile-img" data-home-src="assets/home/50aa7b2c8191c024/../shared/images/e321f9a3ac2739e0/avatar_krahets.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: krahets" class="profile-img" data-home-src="assets/home/087f217bf2136799/../shared/images/e321f9a3ac2739e0/avatar_krahets.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: krahets" class="profile-img" height="384" loading="lazy" src="assets/home/50aa7b2c8191c024/../shared/images/e321f9a3ac2739e0/avatar_krahets.webp" width="384"/>
|
||||
<img alt="Reviewer: krahets" class="profile-img" height="384" loading="lazy" src="assets/home/087f217bf2136799/../shared/images/e321f9a3ac2739e0/avatar_krahets.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -670,9 +669,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/night-cruise">
|
||||
<img alt="Reviewer: night-cruise" class="profile-img" data-home-src="assets/home/50aa7b2c8191c024/../shared/images/960b489efa22abd4/avatar_night-cruise.jpg" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: night-cruise" class="profile-img" data-home-src="assets/home/087f217bf2136799/../shared/images/960b489efa22abd4/avatar_night-cruise.jpg" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: night-cruise" class="profile-img" height="384" loading="lazy" src="assets/home/50aa7b2c8191c024/../shared/images/960b489efa22abd4/avatar_night-cruise.jpg" width="384"/>
|
||||
<img alt="Reviewer: night-cruise" class="profile-img" height="384" loading="lazy" src="assets/home/087f217bf2136799/../shared/images/960b489efa22abd4/avatar_night-cruise.jpg" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -686,9 +685,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/nuomi1">
|
||||
<img alt="Reviewer: nuomi1" class="profile-img" data-home-src="assets/home/50aa7b2c8191c024/../shared/images/7316a9eb4429b259/avatar_nuomi1.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: nuomi1" class="profile-img" data-home-src="assets/home/087f217bf2136799/../shared/images/7316a9eb4429b259/avatar_nuomi1.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: nuomi1" class="profile-img" height="384" loading="lazy" src="assets/home/50aa7b2c8191c024/../shared/images/7316a9eb4429b259/avatar_nuomi1.webp" width="384"/>
|
||||
<img alt="Reviewer: nuomi1" class="profile-img" height="384" loading="lazy" src="assets/home/087f217bf2136799/../shared/images/7316a9eb4429b259/avatar_nuomi1.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -702,9 +701,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/Reanon">
|
||||
<img alt="Reviewer: Reanon" class="profile-img" data-home-src="assets/home/50aa7b2c8191c024/../shared/images/dcc15aa68cc793c7/avatar_Reanon.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: Reanon" class="profile-img" data-home-src="assets/home/087f217bf2136799/../shared/images/dcc15aa68cc793c7/avatar_Reanon.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: Reanon" class="profile-img" height="384" loading="lazy" src="assets/home/50aa7b2c8191c024/../shared/images/dcc15aa68cc793c7/avatar_Reanon.webp" width="384"/>
|
||||
<img alt="Reviewer: Reanon" class="profile-img" height="384" loading="lazy" src="assets/home/087f217bf2136799/../shared/images/dcc15aa68cc793c7/avatar_Reanon.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -718,9 +717,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/rongyi">
|
||||
<img alt="Reviewer: rongyi" class="profile-img" data-home-src="assets/home/50aa7b2c8191c024/../shared/images/5dc6c4b1d8bfe0ac/avatar_rongyi.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: rongyi" class="profile-img" data-home-src="assets/home/087f217bf2136799/../shared/images/5dc6c4b1d8bfe0ac/avatar_rongyi.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: rongyi" class="profile-img" height="384" loading="lazy" src="assets/home/50aa7b2c8191c024/../shared/images/5dc6c4b1d8bfe0ac/avatar_rongyi.webp" width="384"/>
|
||||
<img alt="Reviewer: rongyi" class="profile-img" height="384" loading="lazy" src="assets/home/087f217bf2136799/../shared/images/5dc6c4b1d8bfe0ac/avatar_rongyi.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -750,7 +749,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<script defer="" onerror="document.querySelectorAll('[data-home-src], [data-home-poster]').forEach(function(el) { if (el.dataset.homeSrc) el.src = el.dataset.homeSrc; if (el.dataset.homePoster) el.poster = el.dataset.homePoster; });" src="assets/home/50aa7b2c8191c024/javascripts/homepage-media.js">
|
||||
<script defer="" onerror="document.querySelectorAll('[data-home-src], [data-home-poster]').forEach(function(el) { if (el.dataset.homeSrc) el.src = el.dataset.homeSrc; if (el.dataset.homePoster) el.poster = el.dataset.homePoster; });" src="assets/home/087f217bf2136799/javascripts/homepage-media.js">
|
||||
</script>
|
||||
<script>
|
||||
// If the scene entry point itself fails, still provide chapter illustrations.
|
||||
@@ -2104,7 +2103,7 @@
|
||||
document.addEventListener('DOMContentLoaded', applyLandingPalette, { once: true });
|
||||
})();
|
||||
</script>
|
||||
<script data-home-scene="" src="assets/home/50aa7b2c8191c024/javascripts/starfield.js">
|
||||
<script data-home-scene="" src="assets/home/087f217bf2136799/javascripts/starfield.js">
|
||||
</script>
|
||||
<script>
|
||||
Starfield.setup({
|
||||
|
||||
BIN
index.html.gz
|
Before Width: | Height: | Size: 175 KiB After Width: | Height: | Size: 174 KiB |
141
ja/index.html
@@ -152,7 +152,7 @@
|
||||
</nav>
|
||||
</header>
|
||||
<div class="md-container" data-md-component="container">
|
||||
<link href="../assets/home/50aa7b2c8191c024/hero-motion.css" rel="stylesheet"/>
|
||||
<link href="../assets/home/087f217bf2136799/hero-motion.css" rel="stylesheet"/>
|
||||
<noscript>
|
||||
<style>
|
||||
[data-home-src], video[data-home-poster], [data-hero-fallback] { display: none; }
|
||||
@@ -164,126 +164,125 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="hero-div hero-div--ja" data-home-layout="universe">
|
||||
<img alt="" data-hero-asset="ground" data-source-height="380" data-source-width="881" height="380" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/567306c070a6a7e2/ground.webp" style="position: absolute; width: auto; height: 26.445%; left: 28.211%; top: 54.145%;; aspect-ratio: 881 / 380" width="881"/>
|
||||
<img alt="" data-hero-asset="links" data-source-height="1134" data-source-width="1562" height="1134" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/3e50f38a325c1cb5/links.webp" style="position: absolute; width: auto; height: 78.751%; left: 10.545%; top: 7.326%;; aspect-ratio: 1562 / 1134" width="1562"/>
|
||||
<img alt="" data-hero-asset="ground" data-source-height="380" data-source-width="881" height="380" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/567306c070a6a7e2/ground.webp" style="position: absolute; width: auto; height: 26.445%; left: 28.211%; top: 54.145%;; aspect-ratio: 881 / 380" width="881"/>
|
||||
<a href="chapter_introduction/">
|
||||
<img alt="" data-hero-asset="astronaut" data-source-height="672" data-source-width="515" height="672" src="../assets/home/50aa7b2c8191c024/../shared/images/8e5eb3b3e3ebd9f7/astronaut.webp" style="height: 46.673%; left: 35.413%; top: 24.343%;; aspect-ratio: 515 / 672" width="515"/>
|
||||
<img alt="" data-hero-asset="astronaut" data-source-height="672" data-source-width="515" height="672" src="../assets/home/087f217bf2136799/../shared/images/8e5eb3b3e3ebd9f7/astronaut.webp" style="height: 46.673%; left: 35.413%; top: 24.343%;; aspect-ratio: 515 / 672" width="515"/>
|
||||
<span style="left: 52.244%; top: 20.919%;">
|
||||
アルゴリズムとの出会い
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_computational_complexity/">
|
||||
<img alt="" data-hero-asset="chapter_computational_complexity" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/2fb425426d1f8d86/chapter_computational_complexity.webp" data-source-height="178" data-source-width="113" height="178" style="height: 12.347%; left: 36.267%; top: 37.653%;; aspect-ratio: 113 / 178" width="113"/>
|
||||
<img alt="" data-hero-asset="chapter_computational_complexity" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/2fb425426d1f8d86/chapter_computational_complexity.webp" data-source-height="178" data-source-width="113" height="178" style="height: 12.347%; left: 36.267%; top: 37.653%;; aspect-ratio: 113 / 178" width="113"/>
|
||||
<noscript>
|
||||
<img alt="" height="178" src="../assets/home/50aa7b2c8191c024/../shared/images/2fb425426d1f8d86/chapter_computational_complexity.webp" style="height: 12.347%; left: 36.267%; top: 37.653%;" width="113"/>
|
||||
<img alt="" height="178" src="../assets/home/087f217bf2136799/../shared/images/2fb425426d1f8d86/chapter_computational_complexity.webp" style="height: 12.347%; left: 36.267%; top: 37.653%;" width="113"/>
|
||||
</noscript>
|
||||
<span style="left: 39.244%; top: 33.919%;">
|
||||
計算量の解析
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_array_and_linkedlist/">
|
||||
<img alt="" data-hero-asset="chapter_array_and_linkedlist" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/5cbbdf7be555d3ef/chapter_array_and_linkedlist.webp" data-source-height="319" data-source-width="468" height="319" style="height: 22.242%; left: 73.242%; top: 52.481%;; aspect-ratio: 468 / 319" width="468"/>
|
||||
<img alt="" data-hero-asset="chapter_array_and_linkedlist" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/5cbbdf7be555d3ef/chapter_array_and_linkedlist.webp" data-source-height="319" data-source-width="468" height="319" style="height: 22.242%; left: 73.242%; top: 52.481%;; aspect-ratio: 468 / 319" width="468"/>
|
||||
<noscript>
|
||||
<img alt="" height="319" src="../assets/home/50aa7b2c8191c024/../shared/images/5cbbdf7be555d3ef/chapter_array_and_linkedlist.webp" style="height: 22.242%; left: 73.242%; top: 52.481%;" width="468"/>
|
||||
<img alt="" height="319" src="../assets/home/087f217bf2136799/../shared/images/5cbbdf7be555d3ef/chapter_array_and_linkedlist.webp" style="height: 22.242%; left: 73.242%; top: 52.481%;" width="468"/>
|
||||
</noscript>
|
||||
<span style="left: 90.897%; top: 76.259%;">
|
||||
配列と連結リスト
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_stack_and_queue/">
|
||||
<img alt="" data-hero-asset="chapter_stack_and_queue" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/e2667767cf7481bd/chapter_stack_and_queue.webp" data-source-height="204" data-source-width="204" height="204" style="height: 14.302%; left: 62.646%; top: 77.875%;; aspect-ratio: 204 / 204" width="204"/>
|
||||
<img alt="" data-hero-asset="chapter_stack_and_queue" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/e2667767cf7481bd/chapter_stack_and_queue.webp" data-source-height="204" data-source-width="204" height="204" style="height: 14.302%; left: 62.646%; top: 77.875%;; aspect-ratio: 204 / 204" width="204"/>
|
||||
<noscript>
|
||||
<img alt="" height="204" src="../assets/home/50aa7b2c8191c024/../shared/images/e2667767cf7481bd/chapter_stack_and_queue.webp" style="height: 14.302%; left: 62.646%; top: 77.875%;" width="204"/>
|
||||
<img alt="" height="204" src="../assets/home/087f217bf2136799/../shared/images/e2667767cf7481bd/chapter_stack_and_queue.webp" style="height: 14.302%; left: 62.646%; top: 77.875%;" width="204"/>
|
||||
</noscript>
|
||||
<span style="left: 77.571%; top: 91.25%;">
|
||||
スタックとキュー
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_hashing/">
|
||||
<img alt="" data-hero-asset="chapter_hashing" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/b108d70a537714cb/chapter_hashing.webp" data-source-height="218" data-source-width="218" height="218" style="height: 15.266%; left: 63.281%; top: 27.933%;; aspect-ratio: 218 / 218" width="218"/>
|
||||
<img alt="" data-hero-asset="chapter_hashing" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/b108d70a537714cb/chapter_hashing.webp" data-source-height="218" data-source-width="218" height="218" style="height: 15.266%; left: 63.281%; top: 27.933%;; aspect-ratio: 218 / 218" width="218"/>
|
||||
<noscript>
|
||||
<img alt="" height="218" src="../assets/home/50aa7b2c8191c024/../shared/images/b108d70a537714cb/chapter_hashing.webp" style="height: 15.266%; left: 63.281%; top: 27.933%;" width="218"/>
|
||||
<img alt="" height="218" src="../assets/home/087f217bf2136799/../shared/images/b108d70a537714cb/chapter_hashing.webp" style="height: 15.266%; left: 63.281%; top: 27.933%;" width="218"/>
|
||||
</noscript>
|
||||
<span style="left: 68.862%; top: 46.292%;">
|
||||
ハッシュテーブル
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_tree/">
|
||||
<img alt="" data-hero-asset="chapter_tree" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/8138bb0acecedec4/chapter_tree.webp" data-source-height="281" data-source-width="280" height="281" style="height: 19.615%; left: 80.137%; top: 26.678%;; aspect-ratio: 280 / 281" width="280"/>
|
||||
<img alt="" data-hero-asset="chapter_tree" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/8138bb0acecedec4/chapter_tree.webp" data-source-height="281" data-source-width="280" height="281" style="height: 19.615%; left: 80.137%; top: 26.678%;; aspect-ratio: 280 / 281" width="280"/>
|
||||
<noscript>
|
||||
<img alt="" height="281" src="../assets/home/50aa7b2c8191c024/../shared/images/8138bb0acecedec4/chapter_tree.webp" style="height: 19.615%; left: 80.137%; top: 26.678%;" width="280"/>
|
||||
<img alt="" height="281" src="../assets/home/087f217bf2136799/../shared/images/8138bb0acecedec4/chapter_tree.webp" style="height: 19.615%; left: 80.137%; top: 26.678%;" width="280"/>
|
||||
</noscript>
|
||||
<span style="left: 96.159%; top: 44.8%;">
|
||||
木
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_heap/">
|
||||
<img alt="" data-hero-asset="chapter_heap" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/7586281e6691807a/chapter_heap.webp" data-source-height="152" data-source-width="151" height="152" style="height: 10.566%; left: 77.226%; top: 11.559%;; aspect-ratio: 151 / 152" width="151"/>
|
||||
<img alt="" data-hero-asset="chapter_heap" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/7586281e6691807a/chapter_heap.webp" data-source-height="152" data-source-width="151" height="152" style="height: 10.566%; left: 77.226%; top: 11.559%;; aspect-ratio: 151 / 152" width="151"/>
|
||||
<noscript>
|
||||
<img alt="" height="152" src="../assets/home/50aa7b2c8191c024/../shared/images/7586281e6691807a/chapter_heap.webp" style="height: 10.566%; left: 77.226%; top: 11.559%;" width="151"/>
|
||||
<img alt="" height="152" src="../assets/home/087f217bf2136799/../shared/images/7586281e6691807a/chapter_heap.webp" style="height: 10.566%; left: 77.226%; top: 11.559%;" width="151"/>
|
||||
</noscript>
|
||||
<span style="left: 88.103%; top: 15.422%;">
|
||||
ヒープ
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_graph/">
|
||||
<img alt="" data-hero-asset="chapter_graph" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/175a7f2e7c3cf5f0/chapter_graph.webp" data-source-height="272" data-source-width="542" height="272" style="height: 16.112%; left: 51.854%; top: 5.575%;; aspect-ratio: 542 / 272" width="542"/>
|
||||
<img alt="" data-hero-asset="chapter_graph" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/175a7f2e7c3cf5f0/chapter_graph.webp" data-source-height="272" data-source-width="542" height="272" style="height: 16.112%; left: 51.854%; top: 5.575%;; aspect-ratio: 542 / 272" width="542"/>
|
||||
<noscript>
|
||||
<img alt="" height="272" src="../assets/home/50aa7b2c8191c024/../shared/images/175a7f2e7c3cf5f0/chapter_graph.webp" style="height: 16.112%; left: 51.854%; top: 5.575%;" width="542"/>
|
||||
<img alt="" height="272" src="../assets/home/087f217bf2136799/../shared/images/175a7f2e7c3cf5f0/chapter_graph.webp" style="height: 16.112%; left: 51.854%; top: 5.575%;" width="542"/>
|
||||
</noscript>
|
||||
<span style="left: 71.195%; top: 6.503%;">
|
||||
グラフ
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_searching/">
|
||||
<img alt="" data-hero-asset="chapter_searching" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/ebfe2b953dbb9d90/chapter_searching.webp" data-source-height="216" data-source-width="216" height="216" style="height: 15.149%; left: 18.185%; top: 16.404%;; aspect-ratio: 216 / 216" width="216"/>
|
||||
<img alt="" data-hero-asset="chapter_searching" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/ebfe2b953dbb9d90/chapter_searching.webp" data-source-height="216" data-source-width="216" height="216" style="height: 15.149%; left: 18.185%; top: 16.404%;; aspect-ratio: 216 / 216" width="216"/>
|
||||
<noscript>
|
||||
<img alt="" height="216" src="../assets/home/50aa7b2c8191c024/../shared/images/ebfe2b953dbb9d90/chapter_searching.webp" style="height: 15.149%; left: 18.185%; top: 16.404%;" width="216"/>
|
||||
<img alt="" height="216" src="../assets/home/087f217bf2136799/../shared/images/ebfe2b953dbb9d90/chapter_searching.webp" style="height: 15.149%; left: 18.185%; top: 16.404%;" width="216"/>
|
||||
</noscript>
|
||||
<span style="left: 14.556%; top: 20.876%;">
|
||||
探索
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_sorting/">
|
||||
<img alt="" data-hero-asset="chapter_sorting" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/9d4be68b2680967c/chapter_sorting.webp" data-source-height="137" data-source-width="138" height="137" style="height: 9.574%; left: 25.409%; top: 40.747%;; aspect-ratio: 138 / 137" width="138"/>
|
||||
<img alt="" data-hero-asset="chapter_sorting" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/9d4be68b2680967c/chapter_sorting.webp" data-source-height="137" data-source-width="138" height="137" style="height: 9.574%; left: 25.409%; top: 40.747%;; aspect-ratio: 138 / 137" width="138"/>
|
||||
<noscript>
|
||||
<img alt="" height="137" src="../assets/home/50aa7b2c8191c024/../shared/images/9d4be68b2680967c/chapter_sorting.webp" style="height: 9.574%; left: 25.409%; top: 40.747%;" width="138"/>
|
||||
<img alt="" height="137" src="../assets/home/087f217bf2136799/../shared/images/9d4be68b2680967c/chapter_sorting.webp" style="height: 9.574%; left: 25.409%; top: 40.747%;" width="138"/>
|
||||
</noscript>
|
||||
<span style="left: 28.805%; top: 53.808%;">
|
||||
ソート
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_divide_and_conquer/">
|
||||
<img alt="" data-hero-asset="chapter_divide_and_conquer" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/6f5766ca9385cd2e/chapter_divide_and_conquer.webp" data-source-height="269" data-source-width="407" height="269" style="height: 18.681%; left: 32.721%; top: 4.816%;; aspect-ratio: 407 / 269" width="407"/>
|
||||
<img alt="" data-hero-asset="chapter_divide_and_conquer" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/6f5766ca9385cd2e/chapter_divide_and_conquer.webp" data-source-height="269" data-source-width="407" height="269" style="height: 18.681%; left: 32.721%; top: 4.816%;; aspect-ratio: 407 / 269" width="407"/>
|
||||
<noscript>
|
||||
<img alt="" height="269" src="../assets/home/50aa7b2c8191c024/../shared/images/6f5766ca9385cd2e/chapter_divide_and_conquer.webp" style="height: 18.681%; left: 32.721%; top: 4.816%;" width="407"/>
|
||||
<img alt="" height="269" src="../assets/home/087f217bf2136799/../shared/images/6f5766ca9385cd2e/chapter_divide_and_conquer.webp" style="height: 18.681%; left: 32.721%; top: 4.816%;" width="407"/>
|
||||
</noscript>
|
||||
<span style="left: 31.42%; top: 8.679%;">
|
||||
分割統治
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_backtracking/">
|
||||
<img alt="" data-hero-asset="chapter_backtracking" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/176675e685febf11/chapter_backtracking.webp" data-source-height="249" data-source-width="345" height="249" style="height: 17.338%; left: 4.875%; top: 32.925%;; aspect-ratio: 345 / 249" width="345"/>
|
||||
<img alt="" data-hero-asset="chapter_backtracking" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/176675e685febf11/chapter_backtracking.webp" data-source-height="249" data-source-width="345" height="249" style="height: 17.338%; left: 4.875%; top: 32.925%;; aspect-ratio: 345 / 249" width="345"/>
|
||||
<noscript>
|
||||
<img alt="" height="249" src="../assets/home/50aa7b2c8191c024/../shared/images/176675e685febf11/chapter_backtracking.webp" style="height: 17.338%; left: 4.875%; top: 32.925%;" width="345"/>
|
||||
<img alt="" height="249" src="../assets/home/087f217bf2136799/../shared/images/176675e685febf11/chapter_backtracking.webp" style="height: 17.338%; left: 4.875%; top: 32.925%;" width="345"/>
|
||||
</noscript>
|
||||
<span style="left: 4.742%; top: 50.113%;">
|
||||
バックトラッキング
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_dynamic_programming/">
|
||||
<img alt="" data-hero-asset="chapter_dynamic_programming" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/06264b1ffd05b08e/chapter_dynamic_programming.webp" data-source-height="268" data-source-width="267" height="268" style="height: 15.47%; left: 9.406%; top: 57.472%;; aspect-ratio: 267 / 268" width="267"/>
|
||||
<img alt="" data-hero-asset="chapter_dynamic_programming" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/06264b1ffd05b08e/chapter_dynamic_programming.webp" data-source-height="268" data-source-width="267" height="268" style="height: 15.47%; left: 9.406%; top: 57.472%;; aspect-ratio: 267 / 268" width="267"/>
|
||||
<noscript>
|
||||
<img alt="" height="268" src="../assets/home/50aa7b2c8191c024/../shared/images/06264b1ffd05b08e/chapter_dynamic_programming.webp" style="height: 15.47%; left: 9.406%; top: 57.472%;" width="267"/>
|
||||
<img alt="" height="268" src="../assets/home/087f217bf2136799/../shared/images/06264b1ffd05b08e/chapter_dynamic_programming.webp" style="height: 15.47%; left: 9.406%; top: 57.472%;" width="267"/>
|
||||
</noscript>
|
||||
<span style="left: 8.561%; top: 75.351%;">
|
||||
動的計画法
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_greedy/">
|
||||
<img alt="" data-hero-asset="chapter_greedy" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/2ce6caaac951c40b/chapter_greedy.webp" data-source-height="202" data-source-width="265" height="202" style="height: 14.127%; left: 23.132%; top: 75.803%;; aspect-ratio: 265 / 202" width="265"/>
|
||||
<img alt="" data-hero-asset="chapter_greedy" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/2ce6caaac951c40b/chapter_greedy.webp" data-source-height="202" data-source-width="265" height="202" style="height: 14.127%; left: 23.132%; top: 75.803%;; aspect-ratio: 265 / 202" width="265"/>
|
||||
<noscript>
|
||||
<img alt="" height="202" src="../assets/home/50aa7b2c8191c024/../shared/images/2ce6caaac951c40b/chapter_greedy.webp" style="height: 14.127%; left: 23.132%; top: 75.803%;" width="265"/>
|
||||
<img alt="" height="202" src="../assets/home/087f217bf2136799/../shared/images/2ce6caaac951c40b/chapter_greedy.webp" style="height: 14.127%; left: 23.132%; top: 75.803%;" width="265"/>
|
||||
</noscript>
|
||||
<span style="left: 21.619%; top: 86.85%;">
|
||||
貪欲法
|
||||
@@ -330,9 +329,9 @@
|
||||
<a href="chapter_hello_algo/">
|
||||
<div style="height: 4.34%;">
|
||||
</div>
|
||||
<img alt="" class="device-on-hover" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/5b64cf7672ec5ec6/web_mac_iphone.webp" decoding="async" height="965" style="height: 66.31%;" width="1598"/>
|
||||
<img alt="" class="device-on-hover" data-home-src="../assets/home/087f217bf2136799/../shared/images/5b64cf7672ec5ec6/web_mac_iphone.webp" decoding="async" height="965" style="height: 66.31%;" width="1598"/>
|
||||
<noscript>
|
||||
<img alt="" class="device-on-hover" height="965" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/5b64cf7672ec5ec6/web_mac_iphone.webp" style="height: 66.31%;" width="1598"/>
|
||||
<img alt="" class="device-on-hover" height="965" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/5b64cf7672ec5ec6/web_mac_iphone.webp" style="height: 66.31%;" width="1598"/>
|
||||
</noscript>
|
||||
<div style="height: 4.34%;">
|
||||
</div>
|
||||
@@ -349,9 +348,9 @@
|
||||
</div>
|
||||
<div class="media-block">
|
||||
<a href="https://github.com/krahets/hello-algo/releases">
|
||||
<img alt="" class="device-on-hover" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/66baa2f9bf3abec7/pdf_ipad.webp" decoding="async" height="960" style="height: 75%;" width="812"/>
|
||||
<img alt="" class="device-on-hover" data-home-src="../assets/home/087f217bf2136799/../shared/images/66baa2f9bf3abec7/pdf_ipad.webp" decoding="async" height="960" style="height: 75%;" width="812"/>
|
||||
<noscript>
|
||||
<img alt="" class="device-on-hover" height="960" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/66baa2f9bf3abec7/pdf_ipad.webp" style="height: 75%;" width="812"/>
|
||||
<img alt="" class="device-on-hover" height="960" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/66baa2f9bf3abec7/pdf_ipad.webp" style="height: 75%;" width="812"/>
|
||||
</noscript>
|
||||
<div class="text-button">
|
||||
<span>
|
||||
@@ -422,21 +421,21 @@
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<video aria-label="アルゴリズムの動きを示すアニメーション" class="intro-image" data-home-poster="../assets/home/50aa7b2c8191c024/../shared/images/9e5f39bf33afc70f/animation-poster.webp" data-home-video="../assets/home/50aa7b2c8191c024/../shared/media/6c70de2b2bf4eef7/animation.mp4" height="1080" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1600 / 1080" width="1600">
|
||||
<video aria-label="アルゴリズムの動きを示すアニメーション" class="intro-image" data-home-poster="../assets/home/087f217bf2136799/../shared/images/9e5f39bf33afc70f/animation-poster.webp" data-home-video="../assets/home/087f217bf2136799/../shared/media/6c70de2b2bf4eef7/animation.mp4" height="1080" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1600 / 1080" width="1600">
|
||||
</video>
|
||||
<noscript>
|
||||
<a href="../assets/home/50aa7b2c8191c024/../shared/media/6c70de2b2bf4eef7/animation.mp4">
|
||||
<img alt="アルゴリズムの動きを示すアニメーション" class="intro-image" height="1080" src="../assets/home/50aa7b2c8191c024/../shared/images/9e5f39bf33afc70f/animation-poster.webp" width="1600"/>
|
||||
<a href="../assets/home/087f217bf2136799/../shared/media/6c70de2b2bf4eef7/animation.mp4">
|
||||
<img alt="アルゴリズムの動きを示すアニメーション" class="intro-image" height="1080" src="../assets/home/087f217bf2136799/../shared/images/9e5f39bf33afc70f/animation-poster.webp" width="1600"/>
|
||||
アニメーションによる図解
|
||||
</a>
|
||||
</noscript>
|
||||
</div>
|
||||
<div class="intro-container">
|
||||
<video aria-label="コードを実行する例" class="intro-image" data-home-poster="../assets/home/50aa7b2c8191c024/../shared/images/f33a13e8331245ae/running_code-poster.webp" data-home-video="../assets/home/50aa7b2c8191c024/../shared/media/bb169a96ca8316da/running_code.mp4" height="1082" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1600 / 1082" width="1600">
|
||||
<video aria-label="コードを実行する例" class="intro-image" data-home-poster="../assets/home/087f217bf2136799/../shared/images/f33a13e8331245ae/running_code-poster.webp" data-home-video="../assets/home/087f217bf2136799/../shared/media/bb169a96ca8316da/running_code.mp4" height="1082" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1600 / 1082" width="1600">
|
||||
</video>
|
||||
<noscript>
|
||||
<a href="../assets/home/50aa7b2c8191c024/../shared/media/bb169a96ca8316da/running_code.mp4">
|
||||
<img alt="コードを実行する例" class="intro-image" height="1082" src="../assets/home/50aa7b2c8191c024/../shared/images/f33a13e8331245ae/running_code-poster.webp" width="1600"/>
|
||||
<a href="../assets/home/087f217bf2136799/../shared/media/bb169a96ca8316da/running_code.mp4">
|
||||
<img alt="コードを実行する例" class="intro-image" height="1082" src="../assets/home/087f217bf2136799/../shared/images/f33a13e8331245ae/running_code-poster.webp" width="1600"/>
|
||||
ワンクリックで実行
|
||||
</a>
|
||||
</noscript>
|
||||
@@ -484,11 +483,11 @@
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<video aria-label="コメントで学び合う例" class="intro-image" data-home-poster="../assets/home/50aa7b2c8191c024/../shared/images/f9ac69536a7582f5/comment-poster.webp" data-home-video="../assets/home/50aa7b2c8191c024/../shared/media/62aa0b8d351c63a7/comment.mp4" height="1080" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1600 / 1080" width="1600">
|
||||
<video aria-label="コメントで学び合う例" class="intro-image" data-home-poster="../assets/home/087f217bf2136799/../shared/images/f9ac69536a7582f5/comment-poster.webp" data-home-video="../assets/home/087f217bf2136799/../shared/media/62aa0b8d351c63a7/comment.mp4" height="1080" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1600 / 1080" width="1600">
|
||||
</video>
|
||||
<noscript>
|
||||
<a href="../assets/home/50aa7b2c8191c024/../shared/media/62aa0b8d351c63a7/comment.mp4">
|
||||
<img alt="コメントで学び合う例" class="intro-image" height="1080" src="../assets/home/50aa7b2c8191c024/../shared/images/f9ac69536a7582f5/comment-poster.webp" width="1600"/>
|
||||
<a href="../assets/home/087f217bf2136799/../shared/media/62aa0b8d351c63a7/comment.mp4">
|
||||
<img alt="コメントで学び合う例" class="intro-image" height="1080" src="../assets/home/087f217bf2136799/../shared/images/f9ac69536a7582f5/comment-poster.webp" width="1600"/>
|
||||
読者同士で学び合う
|
||||
</a>
|
||||
</noscript>
|
||||
@@ -504,9 +503,9 @@
|
||||
<div class="profile-div">
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/krahets">
|
||||
<img alt="著者:yudongjin" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/02348410d40f7665/avatar_yudongjin.webp" decoding="async" height="512" width="512"/>
|
||||
<img alt="著者:yudongjin" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/02348410d40f7665/avatar_yudongjin.webp" decoding="async" height="512" width="512"/>
|
||||
<noscript>
|
||||
<img alt="著者:yudongjin" class="profile-img" height="512" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/02348410d40f7665/avatar_yudongjin.webp" width="512"/>
|
||||
<img alt="著者:yudongjin" class="profile-img" height="512" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/02348410d40f7665/avatar_yudongjin.webp" width="512"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -526,9 +525,9 @@
|
||||
<div class="profile-div">
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/coderonion">
|
||||
<img alt="コードのレビュー担当者:coderonion" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/db606f27971eae34/avatar_coderonion.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="コードのレビュー担当者:coderonion" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/db606f27971eae34/avatar_coderonion.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="コードのレビュー担当者:coderonion" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/db606f27971eae34/avatar_coderonion.webp" width="384"/>
|
||||
<img alt="コードのレビュー担当者:coderonion" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/db606f27971eae34/avatar_coderonion.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -542,9 +541,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/curtishd">
|
||||
<img alt="コードのレビュー担当者:curtishd" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/feedb0e547ea31fc/avatar_curtishd.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="コードのレビュー担当者:curtishd" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/feedb0e547ea31fc/avatar_curtishd.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="コードのレビュー担当者:curtishd" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/feedb0e547ea31fc/avatar_curtishd.webp" width="384"/>
|
||||
<img alt="コードのレビュー担当者:curtishd" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/feedb0e547ea31fc/avatar_curtishd.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -558,9 +557,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/Gonglja">
|
||||
<img alt="コードのレビュー担当者:Gonglja" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/cdcf023b032b8d30/avatar_Gonglja.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="コードのレビュー担当者:Gonglja" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/cdcf023b032b8d30/avatar_Gonglja.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="コードのレビュー担当者:Gonglja" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/cdcf023b032b8d30/avatar_Gonglja.webp" width="384"/>
|
||||
<img alt="コードのレビュー担当者:Gonglja" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/cdcf023b032b8d30/avatar_Gonglja.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -574,9 +573,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/gvenusleo">
|
||||
<img alt="コードのレビュー担当者:gvenusleo" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/464e2d351b9263ec/avatar_gvenusleo.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="コードのレビュー担当者:gvenusleo" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/464e2d351b9263ec/avatar_gvenusleo.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="コードのレビュー担当者:gvenusleo" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/464e2d351b9263ec/avatar_gvenusleo.webp" width="384"/>
|
||||
<img alt="コードのレビュー担当者:gvenusleo" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/464e2d351b9263ec/avatar_gvenusleo.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -590,9 +589,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/hpstory">
|
||||
<img alt="コードのレビュー担当者:hpstory" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/7b6478acdab6b845/avatar_hpstory.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="コードのレビュー担当者:hpstory" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/7b6478acdab6b845/avatar_hpstory.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="コードのレビュー担当者:hpstory" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/7b6478acdab6b845/avatar_hpstory.webp" width="384"/>
|
||||
<img alt="コードのレビュー担当者:hpstory" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/7b6478acdab6b845/avatar_hpstory.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -606,9 +605,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/justin-tse">
|
||||
<img alt="コードのレビュー担当者:justin-tse" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/208ee5aae490eefa/avatar_justin-tse.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="コードのレビュー担当者:justin-tse" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/208ee5aae490eefa/avatar_justin-tse.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="コードのレビュー担当者:justin-tse" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/208ee5aae490eefa/avatar_justin-tse.webp" width="384"/>
|
||||
<img alt="コードのレビュー担当者:justin-tse" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/208ee5aae490eefa/avatar_justin-tse.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -622,9 +621,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/khoaxuantu">
|
||||
<img alt="コードのレビュー担当者:khoaxuantu" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/9d3f1a21ff51de78/avatar_khoaxuantu.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="コードのレビュー担当者:khoaxuantu" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/9d3f1a21ff51de78/avatar_khoaxuantu.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="コードのレビュー担当者:khoaxuantu" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/9d3f1a21ff51de78/avatar_khoaxuantu.webp" width="384"/>
|
||||
<img alt="コードのレビュー担当者:khoaxuantu" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/9d3f1a21ff51de78/avatar_khoaxuantu.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -638,9 +637,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/krahets">
|
||||
<img alt="コードのレビュー担当者:krahets" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/e321f9a3ac2739e0/avatar_krahets.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="コードのレビュー担当者:krahets" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/e321f9a3ac2739e0/avatar_krahets.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="コードのレビュー担当者:krahets" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/e321f9a3ac2739e0/avatar_krahets.webp" width="384"/>
|
||||
<img alt="コードのレビュー担当者:krahets" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/e321f9a3ac2739e0/avatar_krahets.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -654,9 +653,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/night-cruise">
|
||||
<img alt="コードのレビュー担当者:night-cruise" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/960b489efa22abd4/avatar_night-cruise.jpg" decoding="async" height="384" width="384"/>
|
||||
<img alt="コードのレビュー担当者:night-cruise" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/960b489efa22abd4/avatar_night-cruise.jpg" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="コードのレビュー担当者:night-cruise" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/960b489efa22abd4/avatar_night-cruise.jpg" width="384"/>
|
||||
<img alt="コードのレビュー担当者:night-cruise" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/960b489efa22abd4/avatar_night-cruise.jpg" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -670,9 +669,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/nuomi1">
|
||||
<img alt="コードのレビュー担当者:nuomi1" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/7316a9eb4429b259/avatar_nuomi1.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="コードのレビュー担当者:nuomi1" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/7316a9eb4429b259/avatar_nuomi1.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="コードのレビュー担当者:nuomi1" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/7316a9eb4429b259/avatar_nuomi1.webp" width="384"/>
|
||||
<img alt="コードのレビュー担当者:nuomi1" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/7316a9eb4429b259/avatar_nuomi1.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -686,9 +685,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/Reanon">
|
||||
<img alt="コードのレビュー担当者:Reanon" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/dcc15aa68cc793c7/avatar_Reanon.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="コードのレビュー担当者:Reanon" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/dcc15aa68cc793c7/avatar_Reanon.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="コードのレビュー担当者:Reanon" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/dcc15aa68cc793c7/avatar_Reanon.webp" width="384"/>
|
||||
<img alt="コードのレビュー担当者:Reanon" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/dcc15aa68cc793c7/avatar_Reanon.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -702,9 +701,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/rongyi">
|
||||
<img alt="コードのレビュー担当者:rongyi" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/5dc6c4b1d8bfe0ac/avatar_rongyi.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="コードのレビュー担当者:rongyi" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/5dc6c4b1d8bfe0ac/avatar_rongyi.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="コードのレビュー担当者:rongyi" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/5dc6c4b1d8bfe0ac/avatar_rongyi.webp" width="384"/>
|
||||
<img alt="コードのレビュー担当者:rongyi" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/5dc6c4b1d8bfe0ac/avatar_rongyi.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -734,7 +733,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<script defer="" onerror="document.querySelectorAll('[data-home-src], [data-home-poster]').forEach(function(el) { if (el.dataset.homeSrc) el.src = el.dataset.homeSrc; if (el.dataset.homePoster) el.poster = el.dataset.homePoster; });" src="../assets/home/50aa7b2c8191c024/javascripts/homepage-media.js">
|
||||
<script defer="" onerror="document.querySelectorAll('[data-home-src], [data-home-poster]').forEach(function(el) { if (el.dataset.homeSrc) el.src = el.dataset.homeSrc; if (el.dataset.homePoster) el.poster = el.dataset.homePoster; });" src="../assets/home/087f217bf2136799/javascripts/homepage-media.js">
|
||||
</script>
|
||||
<script>
|
||||
// If the scene entry point itself fails, still provide chapter illustrations.
|
||||
@@ -2063,7 +2062,7 @@
|
||||
document.addEventListener('DOMContentLoaded', applyLandingPalette, { once: true });
|
||||
})();
|
||||
</script>
|
||||
<script data-home-scene="" src="../assets/home/50aa7b2c8191c024/javascripts/starfield.js">
|
||||
<script data-home-scene="" src="../assets/home/087f217bf2136799/javascripts/starfield.js">
|
||||
</script>
|
||||
<script>
|
||||
Starfield.setup({
|
||||
|
||||
BIN
ja/index.html.gz
@@ -301,4 +301,4 @@
|
||||
initAutoSlide();
|
||||
}
|
||||
})();
|
||||
/*! update cache: 20261105081728 */
|
||||
/*! update cache: 20261106114542 */
|
||||
|
||||
234
ja/javascripts/hero-flow-links.js
Normal file
@@ -0,0 +1,234 @@
|
||||
import * as THREE from './vendor/three/three.module.min.js';
|
||||
|
||||
// Art-directed spines in the original 1562 x 1134 composition. The open oval,
|
||||
// two inward sweeps and bottom title gap are retained; these are 3D curves,
|
||||
// not a sampled image and not a graph of straight planet-to-planet chords.
|
||||
const spines = [
|
||||
{from:'backtracking', to:'divide_and_conquer', via:['searching'], points:[[59,484,-26],[150,245,-8],[440,92,-42],[581,92,-18]], spread:44},
|
||||
{from:'backtracking', to:'greedy', via:['dynamic_programming'], points:[[59,484,-20],[-37,736,-28],[97,946,-28],[378,1072,-24]], spread:46},
|
||||
{from:'heap', to:'stack_and_queue', via:['tree','array_and_linkedlist'], points:[[1357,136,-22],[1630,515,14],[1550,965,-40],[1104,1118,-24]], spread:44},
|
||||
{from:'graph', to:'tree', points:[[1024,90,-30],[1210,165,-10],[1370,245,-36],[1478,419,-20]], spread:40},
|
||||
{from:'sorting', to:'divide_and_conquer', points:[[355,549,-24],[390,370,4],[525,175,-36],[581,92,-18]], spread:44},
|
||||
{from:'hashing', to:'tree', points:[[1123,406,-20],[1260,405,-32],[1320,415,6],[1478,419,-22]], spread:34},
|
||||
{from:'hashing', to:'array_and_linkedlist', points:[[1123,406,-24],[1280,545,4],[1390,665,-38],[1442,817,-20]], spread:42},
|
||||
];
|
||||
|
||||
export function createFlowLinks(targets) {
|
||||
if (!targets.length) return null;
|
||||
const positions=[],tangents=[],styles=[],paths=[],fractions=[],bindings=[],motions=[],indices=[];
|
||||
const strands=17,segments=72;
|
||||
const random = n => {const x=Math.sin(n*127.1+311.7)*43758.5453;return x-Math.floor(x);};
|
||||
|
||||
spines.forEach((definition, route) => {
|
||||
const {points:[a,b,c,d]}=definition;
|
||||
const routeSeed=701+route*43;
|
||||
const spread=definition.spread*(.92+.16*random(routeSeed));
|
||||
const mirrored=random(routeSeed+1)>.5;
|
||||
const primary=mirrored?2:14,echo=16-primary;
|
||||
const brushLanes=[4+Math.floor(random(routeSeed+2)*2),7+Math.floor(random(routeSeed+3)*2),10];
|
||||
const dominant=brushLanes[Math.floor(random(routeSeed+4)*brushLanes.length)];
|
||||
const fanPhase=random(routeSeed+5)*Math.PI*2;
|
||||
const curve=new THREE.CubicBezierCurve3(...[a,b,c,d].map(([x,y,z])=>new THREE.Vector3(x-781,567-y,z)));
|
||||
curve.arcLengthDivisions=256;
|
||||
const length=curve.getLength();
|
||||
// Seed once per route: geometry and timing stay stable on pause / resize.
|
||||
const phase=random(routeSeed+6);
|
||||
const speed=66+random(routeSeed+7)*38;
|
||||
const gap=500+random(routeSeed+8)*300;
|
||||
const tailLength=Math.min(42+random(routeSeed+9)*42,length*(.065+.04*random(routeSeed+10)));
|
||||
const headLength=3.2+random(routeSeed+11)*2.5;
|
||||
for(let lane=0;lane<strands;lane++) {
|
||||
const seed=route*strands+lane+1;
|
||||
const logicalLane=mirrored?16-lane:lane;
|
||||
const brush=brushLanes.includes(logicalLane);
|
||||
const rank=(lane-8+(random(seed+31)-.5)*.3)/8;
|
||||
const vertices=[];
|
||||
for(let j=0;j<=segments;j++) {
|
||||
const u=j/segments;
|
||||
const point=curve.getPointAt(u),tangent=curve.getTangentAt(u);
|
||||
const normal=new THREE.Vector3(-tangent.y,tangent.x,0).normalize();
|
||||
// Unequal strand spacing, subtle crossings and tapered bundles give the
|
||||
// original brushwork's character without moving an entire bright band.
|
||||
const fan=route===5 ? 1 : .88+.10*Math.sin(Math.PI*u+fanPhase);
|
||||
const offset=rank*spread*.5*fan + Math.sin((route===5?0:u*Math.PI*2)+seed)*.7;
|
||||
point.addScaledVector(normal,offset);
|
||||
point.z+=Math.sin(seed*2.4+u*Math.PI)*spread*.2;
|
||||
vertices.push(point);
|
||||
}
|
||||
const distances=[0];
|
||||
for(let j=1;j<=segments;j++)distances.push(distances[j-1]+vertices[j].distanceTo(vertices[j-1]));
|
||||
const strandLength=distances[segments];
|
||||
const offset=positions.length/3;
|
||||
for(let j=0;j<=segments;j++) {
|
||||
const u=j/segments;
|
||||
const direction=vertices[Math.min(segments,j+1)].clone().sub(vertices[Math.max(0,j-1)]).normalize();
|
||||
// Broad painted strokes live among hairline bristles, as in the art.
|
||||
// Keep the travelling filament narrow even where the painted body widens.
|
||||
const baseWidth=lane===primary?1.2+.5*random(routeSeed+12)
|
||||
:brush?(logicalLane===dominant?4.1+random(seed+4)*1.0:2.7+random(seed+4)*1.5)
|
||||
:.65+random(seed+4)*.7;
|
||||
const width=baseWidth*((lane===primary?.92:.78)
|
||||
+(lane===primary?.08:.22)*Math.sin(u*(5.+random(seed+6)*4.)+random(seed+7)*Math.PI*2));
|
||||
const intensity=lane===primary?.15:brush?.62+random(seed+23)*.12:.40+random(seed+23)*.18;
|
||||
// Broad strokes and moving light keep separate tracks even when mirrored.
|
||||
const emissive=lane===primary?1.5+.35*random(routeSeed+13):(lane===echo?.18+.08*random(routeSeed+14):0.);
|
||||
for(const side of [-1,1]) {
|
||||
positions.push(...vertices[j].toArray());tangents.push(...direction.toArray());
|
||||
// One shared progress per bundle, measured on each strand's own arc.
|
||||
// A rank-dependent head offset made short links look like sideways sweeps.
|
||||
paths.push(distances[j],side,strandLength,phase);
|
||||
styles.push(width,intensity,length,emissive);
|
||||
fractions.push(j/segments,random(seed+54),spread/(strands-1));
|
||||
bindings.push(route,u,lane,brush?1:0);
|
||||
motions.push(speed,gap,tailLength,headLength);
|
||||
}
|
||||
if(j<segments){const v=offset+j*2;indices.push(v,v+1,v+2,v+1,v+3,v+2);}
|
||||
}
|
||||
}
|
||||
});
|
||||
const geometry=new THREE.BufferGeometry();
|
||||
geometry.setAttribute('position',new THREE.Float32BufferAttribute(positions,3));
|
||||
geometry.setAttribute('curveTangent',new THREE.Float32BufferAttribute(tangents,3));
|
||||
geometry.setAttribute('pathStyle',new THREE.Float32BufferAttribute(paths,4));
|
||||
geometry.setAttribute('strandStyle',new THREE.Float32BufferAttribute(styles,4));
|
||||
geometry.setAttribute('fraction',new THREE.Float32BufferAttribute(fractions,3));
|
||||
geometry.setAttribute('binding',new THREE.Float32BufferAttribute(bindings,4));
|
||||
geometry.setAttribute('flowStyle',new THREE.Float32BufferAttribute(motions,4));
|
||||
geometry.setIndex(indices);
|
||||
const uniforms={
|
||||
time:{value:0},unit:{value:1},pixelRatio:{value:1},viewShift:{value:new THREE.Vector2()},
|
||||
routeEmphasis:{value:spines.map(()=>0)},selectionActive:{value:0},
|
||||
startShift:{value:spines.map(()=>new THREE.Vector3())},
|
||||
endShift:{value:spines.map(()=>new THREE.Vector3())},
|
||||
teal:{value:new THREE.Color('#479d9d')},
|
||||
pearl:{value:new THREE.Color('#def9ef')},
|
||||
glow:{value:new THREE.Color('#effffb')},
|
||||
blush:{value:new THREE.Color('#d7bab1')},
|
||||
};
|
||||
const material=new THREE.ShaderMaterial({
|
||||
uniforms,transparent:true,depthTest:true,depthWrite:false,side:THREE.DoubleSide,
|
||||
vertexShader:`
|
||||
attribute vec3 curveTangent;
|
||||
attribute vec4 pathStyle, strandStyle;
|
||||
attribute vec3 fraction;
|
||||
attribute vec4 binding,flowStyle;
|
||||
uniform float routeEmphasis[${spines.length}];
|
||||
uniform vec3 startShift[${spines.length}],endShift[${spines.length}];
|
||||
uniform vec2 viewShift;
|
||||
uniform float unit,pixelRatio;
|
||||
varying vec4 travel, strand, motion;
|
||||
varying vec2 shape, along;
|
||||
varying float highlight,filamentOpacity,painted;
|
||||
void main(){
|
||||
vec3 point=(modelMatrix*vec4(position,1.)).xyz;
|
||||
vec3 tangent=(modelMatrix*vec4(curveTangent,0.)).xyz;
|
||||
int route=int(binding.x);
|
||||
// Emphasize the complete connected bundle, not just pixels near a globe.
|
||||
highlight=routeEmphasis[route];
|
||||
float u=binding.y;
|
||||
float blend=u*u*(3.-2.*u);
|
||||
vec3 anchored=mix(startShift[route],endShift[route],blend);
|
||||
vec3 anchorSlope=(endShift[route]-startShift[route])*6.*u*(1.-u)/strandStyle.z;
|
||||
// Endpoint-only deformation preserves the oval's curvature; local
|
||||
// Gaussian attraction to passing planets introduced bends in the spine.
|
||||
point+=anchored;
|
||||
tangent+=anchorSlope;
|
||||
point.xy+=viewShift*point.z*.035;
|
||||
tangent.xy+=viewShift*tangent.z*.035;
|
||||
vec2 normal=normalize(vec2(-tangent.y,tangent.x));
|
||||
float core=max(.28,strandStyle.x*unit*.65)*(1.+.18*highlight);
|
||||
float halfWidth=core+max(.9,2.5*unit);
|
||||
point.xy+=normal*pathStyle.y*halfWidth;
|
||||
travel=pathStyle;strand=strandStyle;motion=flowStyle;painted=binding.w;shape=vec2(core,halfWidth);along=fraction.xy;
|
||||
// Fade interleaved strands before their spacing falls below a pixel.
|
||||
// Keeping all 17 at low DPR produced diagonal moire between filaments.
|
||||
float gap=fraction.z*unit*pixelRatio;
|
||||
filamentOpacity=1.;
|
||||
if(mod(binding.z,2.)>.5)filamentOpacity*=smoothstep(1.,1.6,gap);
|
||||
if(mod(binding.z,4.)>1.5)filamentOpacity*=smoothstep(1.,1.6,gap*2.);
|
||||
if(mod(binding.z,8.)>3.5)filamentOpacity*=smoothstep(1.,1.6,gap*4.);
|
||||
if(binding.w>.5||strandStyle.w>1.)filamentOpacity=1.;
|
||||
gl_Position=projectionMatrix*viewMatrix*vec4(point,1.);
|
||||
}`,
|
||||
fragmentShader:`
|
||||
uniform float time,unit,selectionActive;
|
||||
uniform vec3 teal,pearl,glow,blush;
|
||||
varying vec4 travel,strand,motion;
|
||||
varying vec2 shape,along;
|
||||
varying float highlight,filamentOpacity,painted;
|
||||
void main(){
|
||||
float across=abs(travel.y)*shape.y;
|
||||
// Differentiate the signed ribbon coordinate before taking abs. Across
|
||||
// the centreline, abs cancels neighbouring pixel derivatives and turns
|
||||
// thin filaments into diagonal, braided-looking antialiasing bands.
|
||||
float aa=max(fwidth(travel.y)*shape.y,.35);
|
||||
float signedAcross=travel.y*shape.y;
|
||||
float core=clamp((signedAcross+shape.x)/aa+.5,0.,1.)
|
||||
-clamp((signedAcross-shape.x)/aa+.5,0.,1.);
|
||||
float halo=exp(-across*across/max(shape.y*shape.y*.32,.01));
|
||||
halo*=1.-smoothstep(.75,1.,abs(travel.y));
|
||||
// A compact leading glint with a length-scaled filament tail. Speed is
|
||||
// in art-space distance, with a seeded cadence for each bundle.
|
||||
float cycle=strand.z+motion.y;
|
||||
float progress=(mod(time*motion.x+travel.w*cycle,cycle)-150.)/strand.z;
|
||||
float behind=progress*travel.z-travel.x;
|
||||
float tailLength=motion.z;
|
||||
float tail=smoothstep(-3.,2.,behind)*exp(-max(behind,0.)/tailLength)
|
||||
*(1.-smoothstep(tailLength*2.,tailLength*3.2,behind));
|
||||
float glint=exp(-pow(behind/motion.w,2.));
|
||||
float pulse=strand.w*(tail+.65*glint);
|
||||
float density=min(1.,unit/.55);
|
||||
float brush=painted;
|
||||
float notch=abs(along.x-(.18+.64*along.y));
|
||||
float dry=smoothstep(.004,.014,notch);
|
||||
float quiet=core*strand.y*(.95+.85*highlight)*mix(1.,.12+.88*dry,brush);
|
||||
float light=pulse*(core*.90+halo*.38)*(1.+.25*highlight);
|
||||
float ends=smoothstep(0.,.035,along.x)*smoothstep(0.,.035,1.-along.x);
|
||||
float hoverHalo=halo*.09*highlight*brush;
|
||||
float context=1.-.22*selectionActive*(1.-highlight);
|
||||
float alpha=(quiet+light+hoverHalo)*density*ends*filamentOpacity*context;
|
||||
// A continuous blue-green / pearl ground leaves the brightest white
|
||||
// for the travelling edge filament, with no isolated pigment blocks.
|
||||
vec3 ink=mix(teal,pearl,.18+.36*along.y);
|
||||
ink=mix(ink,blush,smoothstep(.84,.97,along.y)*.55);
|
||||
vec3 paint=mix(teal,pearl,.68+.06*sin(along.x*5.+along.y));
|
||||
vec3 color=mix(ink,paint,brush);
|
||||
color=mix(color,glow,min(.97,pulse*.72+.32*highlight));
|
||||
gl_FragColor=vec4(color,min(alpha,.98));
|
||||
#include <colorspace_fragment>
|
||||
}`,
|
||||
});
|
||||
const mesh=new THREE.Mesh(geometry,material);
|
||||
mesh.name='hero-flow-links';mesh.frustumCulled=false;mesh.renderOrder=-1;
|
||||
const byName=new Map(targets.map(target=>[target.name,target]));
|
||||
function attach(shift,target,point,scale){
|
||||
if(!target){shift.set(0,0,0);return;}
|
||||
target.sphere.getWorldPosition(shift);
|
||||
shift.z-=target.sphere.scale.x*target.root.scale.x*.15;
|
||||
shift.x-=(point[0]-781)*scale+mesh.position.x;
|
||||
shift.y-=(567-point[1])*scale+mesh.position.y;
|
||||
shift.z-=point[2]*scale;
|
||||
}
|
||||
return {
|
||||
mesh,
|
||||
update(time,width,height,pointer={x:0,y:0},pixelRatio=1){
|
||||
// Composition box is explicit: no hidden legacy image owns layout.
|
||||
const boxHeight=Math.round(height*.78751),boxWidth=Math.round(height*.78751*1562/1134);
|
||||
const scale=boxWidth/1562;
|
||||
uniforms.time.value=time;uniforms.unit.value=scale;uniforms.pixelRatio.value=pixelRatio;
|
||||
uniforms.viewShift.value.set(pointer.x,pointer.y);
|
||||
mesh.scale.setScalar(scale);
|
||||
mesh.position.set(Math.round(width*.10545)+boxWidth/2-width/2,
|
||||
height/2-Math.round(height*.07326)-boxHeight/2,0);
|
||||
spines.forEach(({from,to,via=[],points},i)=>{
|
||||
attach(uniforms.startShift.value[i],byName.get(from),points[0],scale);
|
||||
attach(uniforms.endShift.value[i],byName.get(to),points[3],scale);
|
||||
uniforms.routeEmphasis.value[i]=Math.max(...[from,...via,to].map(name=>
|
||||
byName.get(name)?.material.uniforms.emphasis.value||0));
|
||||
});
|
||||
uniforms.selectionActive.value=Math.max(...uniforms.routeEmphasis.value);
|
||||
},
|
||||
dispose(){mesh.removeFromParent();geometry.dispose();material.dispose();},
|
||||
};
|
||||
}
|
||||
/*! update cache: 20261106114542 */
|
||||
@@ -8,4 +8,4 @@ document$.subscribe(({ body }) => {
|
||||
],
|
||||
});
|
||||
});
|
||||
/*! update cache: 20261105081728 */
|
||||
/*! update cache: 20261106114542 */
|
||||
|
||||
@@ -15,4 +15,4 @@ window.MathJax = {
|
||||
document$.subscribe(() => {
|
||||
MathJax.typesetPromise();
|
||||
});
|
||||
/*! update cache: 20261105081728 */
|
||||
/*! update cache: 20261106114542 */
|
||||
|
||||
@@ -176,4 +176,4 @@
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
}
|
||||
/*! update cache: 20261105081728 */
|
||||
/*! update cache: 20261106114542 */
|
||||
|
||||
@@ -979,4 +979,4 @@ a:hover .device-on-hover {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
/*! update cache: 20261105081728 */
|
||||
/*! update cache: 20261106114542 */
|
||||
|
||||
@@ -122,4 +122,4 @@ main .gsc-loading-image {
|
||||
.gsc-reply-content::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
/*! update cache: 20261105081728 */
|
||||
/*! update cache: 20261106114542 */
|
||||
|
||||
@@ -153,4 +153,4 @@ main {
|
||||
.gsc-reply-content::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
/*! update cache: 20261105081728 */
|
||||
/*! update cache: 20261106114542 */
|
||||
|
||||
@@ -301,4 +301,4 @@
|
||||
initAutoSlide();
|
||||
}
|
||||
})();
|
||||
/*! update cache: 20261105081547 */
|
||||
/*! update cache: 20261106114359 */
|
||||
|
||||
234
javascripts/hero-flow-links.js
Normal file
@@ -0,0 +1,234 @@
|
||||
import * as THREE from './vendor/three/three.module.min.js';
|
||||
|
||||
// Art-directed spines in the original 1562 x 1134 composition. The open oval,
|
||||
// two inward sweeps and bottom title gap are retained; these are 3D curves,
|
||||
// not a sampled image and not a graph of straight planet-to-planet chords.
|
||||
const spines = [
|
||||
{from:'backtracking', to:'divide_and_conquer', via:['searching'], points:[[59,484,-26],[150,245,-8],[440,92,-42],[581,92,-18]], spread:44},
|
||||
{from:'backtracking', to:'greedy', via:['dynamic_programming'], points:[[59,484,-20],[-37,736,-28],[97,946,-28],[378,1072,-24]], spread:46},
|
||||
{from:'heap', to:'stack_and_queue', via:['tree','array_and_linkedlist'], points:[[1357,136,-22],[1630,515,14],[1550,965,-40],[1104,1118,-24]], spread:44},
|
||||
{from:'graph', to:'tree', points:[[1024,90,-30],[1210,165,-10],[1370,245,-36],[1478,419,-20]], spread:40},
|
||||
{from:'sorting', to:'divide_and_conquer', points:[[355,549,-24],[390,370,4],[525,175,-36],[581,92,-18]], spread:44},
|
||||
{from:'hashing', to:'tree', points:[[1123,406,-20],[1260,405,-32],[1320,415,6],[1478,419,-22]], spread:34},
|
||||
{from:'hashing', to:'array_and_linkedlist', points:[[1123,406,-24],[1280,545,4],[1390,665,-38],[1442,817,-20]], spread:42},
|
||||
];
|
||||
|
||||
export function createFlowLinks(targets) {
|
||||
if (!targets.length) return null;
|
||||
const positions=[],tangents=[],styles=[],paths=[],fractions=[],bindings=[],motions=[],indices=[];
|
||||
const strands=17,segments=72;
|
||||
const random = n => {const x=Math.sin(n*127.1+311.7)*43758.5453;return x-Math.floor(x);};
|
||||
|
||||
spines.forEach((definition, route) => {
|
||||
const {points:[a,b,c,d]}=definition;
|
||||
const routeSeed=701+route*43;
|
||||
const spread=definition.spread*(.92+.16*random(routeSeed));
|
||||
const mirrored=random(routeSeed+1)>.5;
|
||||
const primary=mirrored?2:14,echo=16-primary;
|
||||
const brushLanes=[4+Math.floor(random(routeSeed+2)*2),7+Math.floor(random(routeSeed+3)*2),10];
|
||||
const dominant=brushLanes[Math.floor(random(routeSeed+4)*brushLanes.length)];
|
||||
const fanPhase=random(routeSeed+5)*Math.PI*2;
|
||||
const curve=new THREE.CubicBezierCurve3(...[a,b,c,d].map(([x,y,z])=>new THREE.Vector3(x-781,567-y,z)));
|
||||
curve.arcLengthDivisions=256;
|
||||
const length=curve.getLength();
|
||||
// Seed once per route: geometry and timing stay stable on pause / resize.
|
||||
const phase=random(routeSeed+6);
|
||||
const speed=66+random(routeSeed+7)*38;
|
||||
const gap=500+random(routeSeed+8)*300;
|
||||
const tailLength=Math.min(42+random(routeSeed+9)*42,length*(.065+.04*random(routeSeed+10)));
|
||||
const headLength=3.2+random(routeSeed+11)*2.5;
|
||||
for(let lane=0;lane<strands;lane++) {
|
||||
const seed=route*strands+lane+1;
|
||||
const logicalLane=mirrored?16-lane:lane;
|
||||
const brush=brushLanes.includes(logicalLane);
|
||||
const rank=(lane-8+(random(seed+31)-.5)*.3)/8;
|
||||
const vertices=[];
|
||||
for(let j=0;j<=segments;j++) {
|
||||
const u=j/segments;
|
||||
const point=curve.getPointAt(u),tangent=curve.getTangentAt(u);
|
||||
const normal=new THREE.Vector3(-tangent.y,tangent.x,0).normalize();
|
||||
// Unequal strand spacing, subtle crossings and tapered bundles give the
|
||||
// original brushwork's character without moving an entire bright band.
|
||||
const fan=route===5 ? 1 : .88+.10*Math.sin(Math.PI*u+fanPhase);
|
||||
const offset=rank*spread*.5*fan + Math.sin((route===5?0:u*Math.PI*2)+seed)*.7;
|
||||
point.addScaledVector(normal,offset);
|
||||
point.z+=Math.sin(seed*2.4+u*Math.PI)*spread*.2;
|
||||
vertices.push(point);
|
||||
}
|
||||
const distances=[0];
|
||||
for(let j=1;j<=segments;j++)distances.push(distances[j-1]+vertices[j].distanceTo(vertices[j-1]));
|
||||
const strandLength=distances[segments];
|
||||
const offset=positions.length/3;
|
||||
for(let j=0;j<=segments;j++) {
|
||||
const u=j/segments;
|
||||
const direction=vertices[Math.min(segments,j+1)].clone().sub(vertices[Math.max(0,j-1)]).normalize();
|
||||
// Broad painted strokes live among hairline bristles, as in the art.
|
||||
// Keep the travelling filament narrow even where the painted body widens.
|
||||
const baseWidth=lane===primary?1.2+.5*random(routeSeed+12)
|
||||
:brush?(logicalLane===dominant?4.1+random(seed+4)*1.0:2.7+random(seed+4)*1.5)
|
||||
:.65+random(seed+4)*.7;
|
||||
const width=baseWidth*((lane===primary?.92:.78)
|
||||
+(lane===primary?.08:.22)*Math.sin(u*(5.+random(seed+6)*4.)+random(seed+7)*Math.PI*2));
|
||||
const intensity=lane===primary?.15:brush?.62+random(seed+23)*.12:.40+random(seed+23)*.18;
|
||||
// Broad strokes and moving light keep separate tracks even when mirrored.
|
||||
const emissive=lane===primary?1.5+.35*random(routeSeed+13):(lane===echo?.18+.08*random(routeSeed+14):0.);
|
||||
for(const side of [-1,1]) {
|
||||
positions.push(...vertices[j].toArray());tangents.push(...direction.toArray());
|
||||
// One shared progress per bundle, measured on each strand's own arc.
|
||||
// A rank-dependent head offset made short links look like sideways sweeps.
|
||||
paths.push(distances[j],side,strandLength,phase);
|
||||
styles.push(width,intensity,length,emissive);
|
||||
fractions.push(j/segments,random(seed+54),spread/(strands-1));
|
||||
bindings.push(route,u,lane,brush?1:0);
|
||||
motions.push(speed,gap,tailLength,headLength);
|
||||
}
|
||||
if(j<segments){const v=offset+j*2;indices.push(v,v+1,v+2,v+1,v+3,v+2);}
|
||||
}
|
||||
}
|
||||
});
|
||||
const geometry=new THREE.BufferGeometry();
|
||||
geometry.setAttribute('position',new THREE.Float32BufferAttribute(positions,3));
|
||||
geometry.setAttribute('curveTangent',new THREE.Float32BufferAttribute(tangents,3));
|
||||
geometry.setAttribute('pathStyle',new THREE.Float32BufferAttribute(paths,4));
|
||||
geometry.setAttribute('strandStyle',new THREE.Float32BufferAttribute(styles,4));
|
||||
geometry.setAttribute('fraction',new THREE.Float32BufferAttribute(fractions,3));
|
||||
geometry.setAttribute('binding',new THREE.Float32BufferAttribute(bindings,4));
|
||||
geometry.setAttribute('flowStyle',new THREE.Float32BufferAttribute(motions,4));
|
||||
geometry.setIndex(indices);
|
||||
const uniforms={
|
||||
time:{value:0},unit:{value:1},pixelRatio:{value:1},viewShift:{value:new THREE.Vector2()},
|
||||
routeEmphasis:{value:spines.map(()=>0)},selectionActive:{value:0},
|
||||
startShift:{value:spines.map(()=>new THREE.Vector3())},
|
||||
endShift:{value:spines.map(()=>new THREE.Vector3())},
|
||||
teal:{value:new THREE.Color('#479d9d')},
|
||||
pearl:{value:new THREE.Color('#def9ef')},
|
||||
glow:{value:new THREE.Color('#effffb')},
|
||||
blush:{value:new THREE.Color('#d7bab1')},
|
||||
};
|
||||
const material=new THREE.ShaderMaterial({
|
||||
uniforms,transparent:true,depthTest:true,depthWrite:false,side:THREE.DoubleSide,
|
||||
vertexShader:`
|
||||
attribute vec3 curveTangent;
|
||||
attribute vec4 pathStyle, strandStyle;
|
||||
attribute vec3 fraction;
|
||||
attribute vec4 binding,flowStyle;
|
||||
uniform float routeEmphasis[${spines.length}];
|
||||
uniform vec3 startShift[${spines.length}],endShift[${spines.length}];
|
||||
uniform vec2 viewShift;
|
||||
uniform float unit,pixelRatio;
|
||||
varying vec4 travel, strand, motion;
|
||||
varying vec2 shape, along;
|
||||
varying float highlight,filamentOpacity,painted;
|
||||
void main(){
|
||||
vec3 point=(modelMatrix*vec4(position,1.)).xyz;
|
||||
vec3 tangent=(modelMatrix*vec4(curveTangent,0.)).xyz;
|
||||
int route=int(binding.x);
|
||||
// Emphasize the complete connected bundle, not just pixels near a globe.
|
||||
highlight=routeEmphasis[route];
|
||||
float u=binding.y;
|
||||
float blend=u*u*(3.-2.*u);
|
||||
vec3 anchored=mix(startShift[route],endShift[route],blend);
|
||||
vec3 anchorSlope=(endShift[route]-startShift[route])*6.*u*(1.-u)/strandStyle.z;
|
||||
// Endpoint-only deformation preserves the oval's curvature; local
|
||||
// Gaussian attraction to passing planets introduced bends in the spine.
|
||||
point+=anchored;
|
||||
tangent+=anchorSlope;
|
||||
point.xy+=viewShift*point.z*.035;
|
||||
tangent.xy+=viewShift*tangent.z*.035;
|
||||
vec2 normal=normalize(vec2(-tangent.y,tangent.x));
|
||||
float core=max(.28,strandStyle.x*unit*.65)*(1.+.18*highlight);
|
||||
float halfWidth=core+max(.9,2.5*unit);
|
||||
point.xy+=normal*pathStyle.y*halfWidth;
|
||||
travel=pathStyle;strand=strandStyle;motion=flowStyle;painted=binding.w;shape=vec2(core,halfWidth);along=fraction.xy;
|
||||
// Fade interleaved strands before their spacing falls below a pixel.
|
||||
// Keeping all 17 at low DPR produced diagonal moire between filaments.
|
||||
float gap=fraction.z*unit*pixelRatio;
|
||||
filamentOpacity=1.;
|
||||
if(mod(binding.z,2.)>.5)filamentOpacity*=smoothstep(1.,1.6,gap);
|
||||
if(mod(binding.z,4.)>1.5)filamentOpacity*=smoothstep(1.,1.6,gap*2.);
|
||||
if(mod(binding.z,8.)>3.5)filamentOpacity*=smoothstep(1.,1.6,gap*4.);
|
||||
if(binding.w>.5||strandStyle.w>1.)filamentOpacity=1.;
|
||||
gl_Position=projectionMatrix*viewMatrix*vec4(point,1.);
|
||||
}`,
|
||||
fragmentShader:`
|
||||
uniform float time,unit,selectionActive;
|
||||
uniform vec3 teal,pearl,glow,blush;
|
||||
varying vec4 travel,strand,motion;
|
||||
varying vec2 shape,along;
|
||||
varying float highlight,filamentOpacity,painted;
|
||||
void main(){
|
||||
float across=abs(travel.y)*shape.y;
|
||||
// Differentiate the signed ribbon coordinate before taking abs. Across
|
||||
// the centreline, abs cancels neighbouring pixel derivatives and turns
|
||||
// thin filaments into diagonal, braided-looking antialiasing bands.
|
||||
float aa=max(fwidth(travel.y)*shape.y,.35);
|
||||
float signedAcross=travel.y*shape.y;
|
||||
float core=clamp((signedAcross+shape.x)/aa+.5,0.,1.)
|
||||
-clamp((signedAcross-shape.x)/aa+.5,0.,1.);
|
||||
float halo=exp(-across*across/max(shape.y*shape.y*.32,.01));
|
||||
halo*=1.-smoothstep(.75,1.,abs(travel.y));
|
||||
// A compact leading glint with a length-scaled filament tail. Speed is
|
||||
// in art-space distance, with a seeded cadence for each bundle.
|
||||
float cycle=strand.z+motion.y;
|
||||
float progress=(mod(time*motion.x+travel.w*cycle,cycle)-150.)/strand.z;
|
||||
float behind=progress*travel.z-travel.x;
|
||||
float tailLength=motion.z;
|
||||
float tail=smoothstep(-3.,2.,behind)*exp(-max(behind,0.)/tailLength)
|
||||
*(1.-smoothstep(tailLength*2.,tailLength*3.2,behind));
|
||||
float glint=exp(-pow(behind/motion.w,2.));
|
||||
float pulse=strand.w*(tail+.65*glint);
|
||||
float density=min(1.,unit/.55);
|
||||
float brush=painted;
|
||||
float notch=abs(along.x-(.18+.64*along.y));
|
||||
float dry=smoothstep(.004,.014,notch);
|
||||
float quiet=core*strand.y*(.95+.85*highlight)*mix(1.,.12+.88*dry,brush);
|
||||
float light=pulse*(core*.90+halo*.38)*(1.+.25*highlight);
|
||||
float ends=smoothstep(0.,.035,along.x)*smoothstep(0.,.035,1.-along.x);
|
||||
float hoverHalo=halo*.09*highlight*brush;
|
||||
float context=1.-.22*selectionActive*(1.-highlight);
|
||||
float alpha=(quiet+light+hoverHalo)*density*ends*filamentOpacity*context;
|
||||
// A continuous blue-green / pearl ground leaves the brightest white
|
||||
// for the travelling edge filament, with no isolated pigment blocks.
|
||||
vec3 ink=mix(teal,pearl,.18+.36*along.y);
|
||||
ink=mix(ink,blush,smoothstep(.84,.97,along.y)*.55);
|
||||
vec3 paint=mix(teal,pearl,.68+.06*sin(along.x*5.+along.y));
|
||||
vec3 color=mix(ink,paint,brush);
|
||||
color=mix(color,glow,min(.97,pulse*.72+.32*highlight));
|
||||
gl_FragColor=vec4(color,min(alpha,.98));
|
||||
#include <colorspace_fragment>
|
||||
}`,
|
||||
});
|
||||
const mesh=new THREE.Mesh(geometry,material);
|
||||
mesh.name='hero-flow-links';mesh.frustumCulled=false;mesh.renderOrder=-1;
|
||||
const byName=new Map(targets.map(target=>[target.name,target]));
|
||||
function attach(shift,target,point,scale){
|
||||
if(!target){shift.set(0,0,0);return;}
|
||||
target.sphere.getWorldPosition(shift);
|
||||
shift.z-=target.sphere.scale.x*target.root.scale.x*.15;
|
||||
shift.x-=(point[0]-781)*scale+mesh.position.x;
|
||||
shift.y-=(567-point[1])*scale+mesh.position.y;
|
||||
shift.z-=point[2]*scale;
|
||||
}
|
||||
return {
|
||||
mesh,
|
||||
update(time,width,height,pointer={x:0,y:0},pixelRatio=1){
|
||||
// Composition box is explicit: no hidden legacy image owns layout.
|
||||
const boxHeight=Math.round(height*.78751),boxWidth=Math.round(height*.78751*1562/1134);
|
||||
const scale=boxWidth/1562;
|
||||
uniforms.time.value=time;uniforms.unit.value=scale;uniforms.pixelRatio.value=pixelRatio;
|
||||
uniforms.viewShift.value.set(pointer.x,pointer.y);
|
||||
mesh.scale.setScalar(scale);
|
||||
mesh.position.set(Math.round(width*.10545)+boxWidth/2-width/2,
|
||||
height/2-Math.round(height*.07326)-boxHeight/2,0);
|
||||
spines.forEach(({from,to,via=[],points},i)=>{
|
||||
attach(uniforms.startShift.value[i],byName.get(from),points[0],scale);
|
||||
attach(uniforms.endShift.value[i],byName.get(to),points[3],scale);
|
||||
uniforms.routeEmphasis.value[i]=Math.max(...[from,...via,to].map(name=>
|
||||
byName.get(name)?.material.uniforms.emphasis.value||0));
|
||||
});
|
||||
uniforms.selectionActive.value=Math.max(...uniforms.routeEmphasis.value);
|
||||
},
|
||||
dispose(){mesh.removeFromParent();geometry.dispose();material.dispose();},
|
||||
};
|
||||
}
|
||||
/*! update cache: 20261106114359 */
|
||||
@@ -8,4 +8,4 @@ document$.subscribe(({ body }) => {
|
||||
],
|
||||
});
|
||||
});
|
||||
/*! update cache: 20261105081547 */
|
||||
/*! update cache: 20261106114359 */
|
||||
|
||||
@@ -15,4 +15,4 @@ window.MathJax = {
|
||||
document$.subscribe(() => {
|
||||
MathJax.typesetPromise();
|
||||
});
|
||||
/*! update cache: 20261105081547 */
|
||||
/*! update cache: 20261106114359 */
|
||||
|
||||
|
Before Width: | Height: | Size: 176 KiB After Width: | Height: | Size: 174 KiB |
141
ko/index.html
@@ -152,7 +152,7 @@
|
||||
</nav>
|
||||
</header>
|
||||
<div class="md-container" data-md-component="container">
|
||||
<link href="../assets/home/50aa7b2c8191c024/hero-motion.css" rel="stylesheet"/>
|
||||
<link href="../assets/home/087f217bf2136799/hero-motion.css" rel="stylesheet"/>
|
||||
<noscript>
|
||||
<style>
|
||||
[data-home-src], video[data-home-poster], [data-hero-fallback] { display: none; }
|
||||
@@ -164,126 +164,125 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="hero-div hero-div--ko" data-home-layout="universe">
|
||||
<img alt="" data-hero-asset="ground" data-source-height="380" data-source-width="881" height="380" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/567306c070a6a7e2/ground.webp" style="position: absolute; width: auto; height: 26.445%; left: 28.211%; top: 54.145%;; aspect-ratio: 881 / 380" width="881"/>
|
||||
<img alt="" data-hero-asset="links" data-source-height="1134" data-source-width="1562" height="1134" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/3e50f38a325c1cb5/links.webp" style="position: absolute; width: auto; height: 78.751%; left: 10.545%; top: 7.326%;; aspect-ratio: 1562 / 1134" width="1562"/>
|
||||
<img alt="" data-hero-asset="ground" data-source-height="380" data-source-width="881" height="380" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/567306c070a6a7e2/ground.webp" style="position: absolute; width: auto; height: 26.445%; left: 28.211%; top: 54.145%;; aspect-ratio: 881 / 380" width="881"/>
|
||||
<a href="chapter_introduction/">
|
||||
<img alt="" data-hero-asset="astronaut" data-source-height="672" data-source-width="515" height="672" src="../assets/home/50aa7b2c8191c024/../shared/images/8e5eb3b3e3ebd9f7/astronaut.webp" style="height: 46.673%; left: 35.413%; top: 24.343%;; aspect-ratio: 515 / 672" width="515"/>
|
||||
<img alt="" data-hero-asset="astronaut" data-source-height="672" data-source-width="515" height="672" src="../assets/home/087f217bf2136799/../shared/images/8e5eb3b3e3ebd9f7/astronaut.webp" style="height: 46.673%; left: 35.413%; top: 24.343%;; aspect-ratio: 515 / 672" width="515"/>
|
||||
<span style="left: 52.244%; top: 20.919%;">
|
||||
알고리즘과의 첫 만남
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_computational_complexity/">
|
||||
<img alt="" data-hero-asset="chapter_computational_complexity" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/2fb425426d1f8d86/chapter_computational_complexity.webp" data-source-height="178" data-source-width="113" height="178" style="height: 12.347%; left: 36.267%; top: 37.653%;; aspect-ratio: 113 / 178" width="113"/>
|
||||
<img alt="" data-hero-asset="chapter_computational_complexity" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/2fb425426d1f8d86/chapter_computational_complexity.webp" data-source-height="178" data-source-width="113" height="178" style="height: 12.347%; left: 36.267%; top: 37.653%;; aspect-ratio: 113 / 178" width="113"/>
|
||||
<noscript>
|
||||
<img alt="" height="178" src="../assets/home/50aa7b2c8191c024/../shared/images/2fb425426d1f8d86/chapter_computational_complexity.webp" style="height: 12.347%; left: 36.267%; top: 37.653%;" width="113"/>
|
||||
<img alt="" height="178" src="../assets/home/087f217bf2136799/../shared/images/2fb425426d1f8d86/chapter_computational_complexity.webp" style="height: 12.347%; left: 36.267%; top: 37.653%;" width="113"/>
|
||||
</noscript>
|
||||
<span style="left: 39.244%; top: 33.919%;">
|
||||
복잡도 분석
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_array_and_linkedlist/">
|
||||
<img alt="" data-hero-asset="chapter_array_and_linkedlist" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/5cbbdf7be555d3ef/chapter_array_and_linkedlist.webp" data-source-height="319" data-source-width="468" height="319" style="height: 22.242%; left: 73.242%; top: 52.481%;; aspect-ratio: 468 / 319" width="468"/>
|
||||
<img alt="" data-hero-asset="chapter_array_and_linkedlist" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/5cbbdf7be555d3ef/chapter_array_and_linkedlist.webp" data-source-height="319" data-source-width="468" height="319" style="height: 22.242%; left: 73.242%; top: 52.481%;; aspect-ratio: 468 / 319" width="468"/>
|
||||
<noscript>
|
||||
<img alt="" height="319" src="../assets/home/50aa7b2c8191c024/../shared/images/5cbbdf7be555d3ef/chapter_array_and_linkedlist.webp" style="height: 22.242%; left: 73.242%; top: 52.481%;" width="468"/>
|
||||
<img alt="" height="319" src="../assets/home/087f217bf2136799/../shared/images/5cbbdf7be555d3ef/chapter_array_and_linkedlist.webp" style="height: 22.242%; left: 73.242%; top: 52.481%;" width="468"/>
|
||||
</noscript>
|
||||
<span style="left: 90.897%; top: 76.259%;">
|
||||
배열과 연결 리스트
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_stack_and_queue/">
|
||||
<img alt="" data-hero-asset="chapter_stack_and_queue" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/e2667767cf7481bd/chapter_stack_and_queue.webp" data-source-height="204" data-source-width="204" height="204" style="height: 14.302%; left: 62.646%; top: 77.875%;; aspect-ratio: 204 / 204" width="204"/>
|
||||
<img alt="" data-hero-asset="chapter_stack_and_queue" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/e2667767cf7481bd/chapter_stack_and_queue.webp" data-source-height="204" data-source-width="204" height="204" style="height: 14.302%; left: 62.646%; top: 77.875%;; aspect-ratio: 204 / 204" width="204"/>
|
||||
<noscript>
|
||||
<img alt="" height="204" src="../assets/home/50aa7b2c8191c024/../shared/images/e2667767cf7481bd/chapter_stack_and_queue.webp" style="height: 14.302%; left: 62.646%; top: 77.875%;" width="204"/>
|
||||
<img alt="" height="204" src="../assets/home/087f217bf2136799/../shared/images/e2667767cf7481bd/chapter_stack_and_queue.webp" style="height: 14.302%; left: 62.646%; top: 77.875%;" width="204"/>
|
||||
</noscript>
|
||||
<span style="left: 77.571%; top: 91.25%;">
|
||||
스택과 큐
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_hashing/">
|
||||
<img alt="" data-hero-asset="chapter_hashing" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/b108d70a537714cb/chapter_hashing.webp" data-source-height="218" data-source-width="218" height="218" style="height: 15.266%; left: 63.281%; top: 27.933%;; aspect-ratio: 218 / 218" width="218"/>
|
||||
<img alt="" data-hero-asset="chapter_hashing" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/b108d70a537714cb/chapter_hashing.webp" data-source-height="218" data-source-width="218" height="218" style="height: 15.266%; left: 63.281%; top: 27.933%;; aspect-ratio: 218 / 218" width="218"/>
|
||||
<noscript>
|
||||
<img alt="" height="218" src="../assets/home/50aa7b2c8191c024/../shared/images/b108d70a537714cb/chapter_hashing.webp" style="height: 15.266%; left: 63.281%; top: 27.933%;" width="218"/>
|
||||
<img alt="" height="218" src="../assets/home/087f217bf2136799/../shared/images/b108d70a537714cb/chapter_hashing.webp" style="height: 15.266%; left: 63.281%; top: 27.933%;" width="218"/>
|
||||
</noscript>
|
||||
<span style="left: 68.862%; top: 46.292%;">
|
||||
해시 테이블
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_tree/">
|
||||
<img alt="" data-hero-asset="chapter_tree" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/8138bb0acecedec4/chapter_tree.webp" data-source-height="281" data-source-width="280" height="281" style="height: 19.615%; left: 80.137%; top: 26.678%;; aspect-ratio: 280 / 281" width="280"/>
|
||||
<img alt="" data-hero-asset="chapter_tree" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/8138bb0acecedec4/chapter_tree.webp" data-source-height="281" data-source-width="280" height="281" style="height: 19.615%; left: 80.137%; top: 26.678%;; aspect-ratio: 280 / 281" width="280"/>
|
||||
<noscript>
|
||||
<img alt="" height="281" src="../assets/home/50aa7b2c8191c024/../shared/images/8138bb0acecedec4/chapter_tree.webp" style="height: 19.615%; left: 80.137%; top: 26.678%;" width="280"/>
|
||||
<img alt="" height="281" src="../assets/home/087f217bf2136799/../shared/images/8138bb0acecedec4/chapter_tree.webp" style="height: 19.615%; left: 80.137%; top: 26.678%;" width="280"/>
|
||||
</noscript>
|
||||
<span style="left: 96.159%; top: 44.8%;">
|
||||
트리
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_heap/">
|
||||
<img alt="" data-hero-asset="chapter_heap" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/7586281e6691807a/chapter_heap.webp" data-source-height="152" data-source-width="151" height="152" style="height: 10.566%; left: 77.226%; top: 11.559%;; aspect-ratio: 151 / 152" width="151"/>
|
||||
<img alt="" data-hero-asset="chapter_heap" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/7586281e6691807a/chapter_heap.webp" data-source-height="152" data-source-width="151" height="152" style="height: 10.566%; left: 77.226%; top: 11.559%;; aspect-ratio: 151 / 152" width="151"/>
|
||||
<noscript>
|
||||
<img alt="" height="152" src="../assets/home/50aa7b2c8191c024/../shared/images/7586281e6691807a/chapter_heap.webp" style="height: 10.566%; left: 77.226%; top: 11.559%;" width="151"/>
|
||||
<img alt="" height="152" src="../assets/home/087f217bf2136799/../shared/images/7586281e6691807a/chapter_heap.webp" style="height: 10.566%; left: 77.226%; top: 11.559%;" width="151"/>
|
||||
</noscript>
|
||||
<span style="left: 88.103%; top: 15.422%;">
|
||||
힙
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_graph/">
|
||||
<img alt="" data-hero-asset="chapter_graph" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/175a7f2e7c3cf5f0/chapter_graph.webp" data-source-height="272" data-source-width="542" height="272" style="height: 16.112%; left: 51.854%; top: 5.575%;; aspect-ratio: 542 / 272" width="542"/>
|
||||
<img alt="" data-hero-asset="chapter_graph" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/175a7f2e7c3cf5f0/chapter_graph.webp" data-source-height="272" data-source-width="542" height="272" style="height: 16.112%; left: 51.854%; top: 5.575%;; aspect-ratio: 542 / 272" width="542"/>
|
||||
<noscript>
|
||||
<img alt="" height="272" src="../assets/home/50aa7b2c8191c024/../shared/images/175a7f2e7c3cf5f0/chapter_graph.webp" style="height: 16.112%; left: 51.854%; top: 5.575%;" width="542"/>
|
||||
<img alt="" height="272" src="../assets/home/087f217bf2136799/../shared/images/175a7f2e7c3cf5f0/chapter_graph.webp" style="height: 16.112%; left: 51.854%; top: 5.575%;" width="542"/>
|
||||
</noscript>
|
||||
<span style="left: 71.195%; top: 6.503%;">
|
||||
그래프
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_searching/">
|
||||
<img alt="" data-hero-asset="chapter_searching" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/ebfe2b953dbb9d90/chapter_searching.webp" data-source-height="216" data-source-width="216" height="216" style="height: 15.149%; left: 18.185%; top: 16.404%;; aspect-ratio: 216 / 216" width="216"/>
|
||||
<img alt="" data-hero-asset="chapter_searching" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/ebfe2b953dbb9d90/chapter_searching.webp" data-source-height="216" data-source-width="216" height="216" style="height: 15.149%; left: 18.185%; top: 16.404%;; aspect-ratio: 216 / 216" width="216"/>
|
||||
<noscript>
|
||||
<img alt="" height="216" src="../assets/home/50aa7b2c8191c024/../shared/images/ebfe2b953dbb9d90/chapter_searching.webp" style="height: 15.149%; left: 18.185%; top: 16.404%;" width="216"/>
|
||||
<img alt="" height="216" src="../assets/home/087f217bf2136799/../shared/images/ebfe2b953dbb9d90/chapter_searching.webp" style="height: 15.149%; left: 18.185%; top: 16.404%;" width="216"/>
|
||||
</noscript>
|
||||
<span style="left: 14.556%; top: 20.876%;">
|
||||
탐색
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_sorting/">
|
||||
<img alt="" data-hero-asset="chapter_sorting" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/9d4be68b2680967c/chapter_sorting.webp" data-source-height="137" data-source-width="138" height="137" style="height: 9.574%; left: 25.409%; top: 40.747%;; aspect-ratio: 138 / 137" width="138"/>
|
||||
<img alt="" data-hero-asset="chapter_sorting" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/9d4be68b2680967c/chapter_sorting.webp" data-source-height="137" data-source-width="138" height="137" style="height: 9.574%; left: 25.409%; top: 40.747%;; aspect-ratio: 138 / 137" width="138"/>
|
||||
<noscript>
|
||||
<img alt="" height="137" src="../assets/home/50aa7b2c8191c024/../shared/images/9d4be68b2680967c/chapter_sorting.webp" style="height: 9.574%; left: 25.409%; top: 40.747%;" width="138"/>
|
||||
<img alt="" height="137" src="../assets/home/087f217bf2136799/../shared/images/9d4be68b2680967c/chapter_sorting.webp" style="height: 9.574%; left: 25.409%; top: 40.747%;" width="138"/>
|
||||
</noscript>
|
||||
<span style="left: 28.805%; top: 53.808%;">
|
||||
정렬
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_divide_and_conquer/">
|
||||
<img alt="" data-hero-asset="chapter_divide_and_conquer" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/6f5766ca9385cd2e/chapter_divide_and_conquer.webp" data-source-height="269" data-source-width="407" height="269" style="height: 18.681%; left: 32.721%; top: 4.816%;; aspect-ratio: 407 / 269" width="407"/>
|
||||
<img alt="" data-hero-asset="chapter_divide_and_conquer" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/6f5766ca9385cd2e/chapter_divide_and_conquer.webp" data-source-height="269" data-source-width="407" height="269" style="height: 18.681%; left: 32.721%; top: 4.816%;; aspect-ratio: 407 / 269" width="407"/>
|
||||
<noscript>
|
||||
<img alt="" height="269" src="../assets/home/50aa7b2c8191c024/../shared/images/6f5766ca9385cd2e/chapter_divide_and_conquer.webp" style="height: 18.681%; left: 32.721%; top: 4.816%;" width="407"/>
|
||||
<img alt="" height="269" src="../assets/home/087f217bf2136799/../shared/images/6f5766ca9385cd2e/chapter_divide_and_conquer.webp" style="height: 18.681%; left: 32.721%; top: 4.816%;" width="407"/>
|
||||
</noscript>
|
||||
<span style="left: 31.42%; top: 8.679%;">
|
||||
분할 정복
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_backtracking/">
|
||||
<img alt="" data-hero-asset="chapter_backtracking" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/176675e685febf11/chapter_backtracking.webp" data-source-height="249" data-source-width="345" height="249" style="height: 17.338%; left: 4.875%; top: 32.925%;; aspect-ratio: 345 / 249" width="345"/>
|
||||
<img alt="" data-hero-asset="chapter_backtracking" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/176675e685febf11/chapter_backtracking.webp" data-source-height="249" data-source-width="345" height="249" style="height: 17.338%; left: 4.875%; top: 32.925%;; aspect-ratio: 345 / 249" width="345"/>
|
||||
<noscript>
|
||||
<img alt="" height="249" src="../assets/home/50aa7b2c8191c024/../shared/images/176675e685febf11/chapter_backtracking.webp" style="height: 17.338%; left: 4.875%; top: 32.925%;" width="345"/>
|
||||
<img alt="" height="249" src="../assets/home/087f217bf2136799/../shared/images/176675e685febf11/chapter_backtracking.webp" style="height: 17.338%; left: 4.875%; top: 32.925%;" width="345"/>
|
||||
</noscript>
|
||||
<span style="left: 4.742%; top: 50.113%;">
|
||||
백트래킹
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_dynamic_programming/">
|
||||
<img alt="" data-hero-asset="chapter_dynamic_programming" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/06264b1ffd05b08e/chapter_dynamic_programming.webp" data-source-height="268" data-source-width="267" height="268" style="height: 15.47%; left: 9.406%; top: 57.472%;; aspect-ratio: 267 / 268" width="267"/>
|
||||
<img alt="" data-hero-asset="chapter_dynamic_programming" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/06264b1ffd05b08e/chapter_dynamic_programming.webp" data-source-height="268" data-source-width="267" height="268" style="height: 15.47%; left: 9.406%; top: 57.472%;; aspect-ratio: 267 / 268" width="267"/>
|
||||
<noscript>
|
||||
<img alt="" height="268" src="../assets/home/50aa7b2c8191c024/../shared/images/06264b1ffd05b08e/chapter_dynamic_programming.webp" style="height: 15.47%; left: 9.406%; top: 57.472%;" width="267"/>
|
||||
<img alt="" height="268" src="../assets/home/087f217bf2136799/../shared/images/06264b1ffd05b08e/chapter_dynamic_programming.webp" style="height: 15.47%; left: 9.406%; top: 57.472%;" width="267"/>
|
||||
</noscript>
|
||||
<span style="left: 8.561%; top: 75.351%;">
|
||||
동적 계획법
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_greedy/">
|
||||
<img alt="" data-hero-asset="chapter_greedy" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/2ce6caaac951c40b/chapter_greedy.webp" data-source-height="202" data-source-width="265" height="202" style="height: 14.127%; left: 23.132%; top: 75.803%;; aspect-ratio: 265 / 202" width="265"/>
|
||||
<img alt="" data-hero-asset="chapter_greedy" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/2ce6caaac951c40b/chapter_greedy.webp" data-source-height="202" data-source-width="265" height="202" style="height: 14.127%; left: 23.132%; top: 75.803%;; aspect-ratio: 265 / 202" width="265"/>
|
||||
<noscript>
|
||||
<img alt="" height="202" src="../assets/home/50aa7b2c8191c024/../shared/images/2ce6caaac951c40b/chapter_greedy.webp" style="height: 14.127%; left: 23.132%; top: 75.803%;" width="265"/>
|
||||
<img alt="" height="202" src="../assets/home/087f217bf2136799/../shared/images/2ce6caaac951c40b/chapter_greedy.webp" style="height: 14.127%; left: 23.132%; top: 75.803%;" width="265"/>
|
||||
</noscript>
|
||||
<span style="left: 21.619%; top: 86.85%;">
|
||||
탐욕
|
||||
@@ -330,9 +329,9 @@
|
||||
<a href="chapter_hello_algo/">
|
||||
<div style="height: 4.34%;">
|
||||
</div>
|
||||
<img alt="" class="device-on-hover" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/5b64cf7672ec5ec6/web_mac_iphone.webp" decoding="async" height="965" style="height: 66.31%;" width="1598"/>
|
||||
<img alt="" class="device-on-hover" data-home-src="../assets/home/087f217bf2136799/../shared/images/5b64cf7672ec5ec6/web_mac_iphone.webp" decoding="async" height="965" style="height: 66.31%;" width="1598"/>
|
||||
<noscript>
|
||||
<img alt="" class="device-on-hover" height="965" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/5b64cf7672ec5ec6/web_mac_iphone.webp" style="height: 66.31%;" width="1598"/>
|
||||
<img alt="" class="device-on-hover" height="965" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/5b64cf7672ec5ec6/web_mac_iphone.webp" style="height: 66.31%;" width="1598"/>
|
||||
</noscript>
|
||||
<div style="height: 4.34%;">
|
||||
</div>
|
||||
@@ -349,9 +348,9 @@
|
||||
</div>
|
||||
<div class="media-block">
|
||||
<a href="https://github.com/krahets/hello-algo/releases">
|
||||
<img alt="" class="device-on-hover" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/66baa2f9bf3abec7/pdf_ipad.webp" decoding="async" height="960" style="height: 75%;" width="812"/>
|
||||
<img alt="" class="device-on-hover" data-home-src="../assets/home/087f217bf2136799/../shared/images/66baa2f9bf3abec7/pdf_ipad.webp" decoding="async" height="960" style="height: 75%;" width="812"/>
|
||||
<noscript>
|
||||
<img alt="" class="device-on-hover" height="960" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/66baa2f9bf3abec7/pdf_ipad.webp" style="height: 75%;" width="812"/>
|
||||
<img alt="" class="device-on-hover" height="960" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/66baa2f9bf3abec7/pdf_ipad.webp" style="height: 75%;" width="812"/>
|
||||
</noscript>
|
||||
<div class="text-button">
|
||||
<span>
|
||||
@@ -419,21 +418,21 @@
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<video aria-label="애니메이션 예제" class="intro-image" data-home-poster="../assets/home/50aa7b2c8191c024/../shared/images/9e5f39bf33afc70f/animation-poster.webp" data-home-video="../assets/home/50aa7b2c8191c024/../shared/media/6c70de2b2bf4eef7/animation.mp4" height="1080" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1600 / 1080" width="1600">
|
||||
<video aria-label="애니메이션 예제" class="intro-image" data-home-poster="../assets/home/087f217bf2136799/../shared/images/9e5f39bf33afc70f/animation-poster.webp" data-home-video="../assets/home/087f217bf2136799/../shared/media/6c70de2b2bf4eef7/animation.mp4" height="1080" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1600 / 1080" width="1600">
|
||||
</video>
|
||||
<noscript>
|
||||
<a href="../assets/home/50aa7b2c8191c024/../shared/media/6c70de2b2bf4eef7/animation.mp4">
|
||||
<img alt="애니메이션 예제" class="intro-image" height="1080" src="../assets/home/50aa7b2c8191c024/../shared/images/9e5f39bf33afc70f/animation-poster.webp" width="1600"/>
|
||||
<a href="../assets/home/087f217bf2136799/../shared/media/6c70de2b2bf4eef7/animation.mp4">
|
||||
<img alt="애니메이션 예제" class="intro-image" height="1080" src="../assets/home/087f217bf2136799/../shared/images/9e5f39bf33afc70f/animation-poster.webp" width="1600"/>
|
||||
애니메이션 그림
|
||||
</a>
|
||||
</noscript>
|
||||
</div>
|
||||
<div class="intro-container">
|
||||
<video aria-label="코드 실행 예제" class="intro-image" data-home-poster="../assets/home/50aa7b2c8191c024/../shared/images/f33a13e8331245ae/running_code-poster.webp" data-home-video="../assets/home/50aa7b2c8191c024/../shared/media/bb169a96ca8316da/running_code.mp4" height="1082" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1600 / 1082" width="1600">
|
||||
<video aria-label="코드 실행 예제" class="intro-image" data-home-poster="../assets/home/087f217bf2136799/../shared/images/f33a13e8331245ae/running_code-poster.webp" data-home-video="../assets/home/087f217bf2136799/../shared/media/bb169a96ca8316da/running_code.mp4" height="1082" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1600 / 1082" width="1600">
|
||||
</video>
|
||||
<noscript>
|
||||
<a href="../assets/home/50aa7b2c8191c024/../shared/media/bb169a96ca8316da/running_code.mp4">
|
||||
<img alt="코드 실행 예제" class="intro-image" height="1082" src="../assets/home/50aa7b2c8191c024/../shared/images/f33a13e8331245ae/running_code-poster.webp" width="1600"/>
|
||||
<a href="../assets/home/087f217bf2136799/../shared/media/bb169a96ca8316da/running_code.mp4">
|
||||
<img alt="코드 실행 예제" class="intro-image" height="1082" src="../assets/home/087f217bf2136799/../shared/images/f33a13e8331245ae/running_code-poster.webp" width="1600"/>
|
||||
클릭 한 번으로 실행
|
||||
</a>
|
||||
</noscript>
|
||||
@@ -481,11 +480,11 @@
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<video aria-label="댓글 예제" class="intro-image" data-home-poster="../assets/home/50aa7b2c8191c024/../shared/images/f9ac69536a7582f5/comment-poster.webp" data-home-video="../assets/home/50aa7b2c8191c024/../shared/media/62aa0b8d351c63a7/comment.mp4" height="1080" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1600 / 1080" width="1600">
|
||||
<video aria-label="댓글 예제" class="intro-image" data-home-poster="../assets/home/087f217bf2136799/../shared/images/f9ac69536a7582f5/comment-poster.webp" data-home-video="../assets/home/087f217bf2136799/../shared/media/62aa0b8d351c63a7/comment.mp4" height="1080" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1600 / 1080" width="1600">
|
||||
</video>
|
||||
<noscript>
|
||||
<a href="../assets/home/50aa7b2c8191c024/../shared/media/62aa0b8d351c63a7/comment.mp4">
|
||||
<img alt="댓글 예제" class="intro-image" height="1080" src="../assets/home/50aa7b2c8191c024/../shared/images/f9ac69536a7582f5/comment-poster.webp" width="1600"/>
|
||||
<a href="../assets/home/087f217bf2136799/../shared/media/62aa0b8d351c63a7/comment.mp4">
|
||||
<img alt="댓글 예제" class="intro-image" height="1080" src="../assets/home/087f217bf2136799/../shared/images/f9ac69536a7582f5/comment-poster.webp" width="1600"/>
|
||||
함께 배우기
|
||||
</a>
|
||||
</noscript>
|
||||
@@ -501,9 +500,9 @@
|
||||
<div class="profile-div">
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/krahets">
|
||||
<img alt="저자: yudongjin" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/02348410d40f7665/avatar_yudongjin.webp" decoding="async" height="512" width="512"/>
|
||||
<img alt="저자: yudongjin" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/02348410d40f7665/avatar_yudongjin.webp" decoding="async" height="512" width="512"/>
|
||||
<noscript>
|
||||
<img alt="저자: yudongjin" class="profile-img" height="512" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/02348410d40f7665/avatar_yudongjin.webp" width="512"/>
|
||||
<img alt="저자: yudongjin" class="profile-img" height="512" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/02348410d40f7665/avatar_yudongjin.webp" width="512"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -523,9 +522,9 @@
|
||||
<div class="profile-div">
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/coderonion">
|
||||
<img alt="검토자: coderonion" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/db606f27971eae34/avatar_coderonion.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="검토자: coderonion" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/db606f27971eae34/avatar_coderonion.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="검토자: coderonion" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/db606f27971eae34/avatar_coderonion.webp" width="384"/>
|
||||
<img alt="검토자: coderonion" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/db606f27971eae34/avatar_coderonion.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -539,9 +538,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/curtishd">
|
||||
<img alt="검토자: curtishd" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/feedb0e547ea31fc/avatar_curtishd.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="검토자: curtishd" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/feedb0e547ea31fc/avatar_curtishd.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="검토자: curtishd" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/feedb0e547ea31fc/avatar_curtishd.webp" width="384"/>
|
||||
<img alt="검토자: curtishd" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/feedb0e547ea31fc/avatar_curtishd.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -555,9 +554,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/Gonglja">
|
||||
<img alt="검토자: Gonglja" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/cdcf023b032b8d30/avatar_Gonglja.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="검토자: Gonglja" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/cdcf023b032b8d30/avatar_Gonglja.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="검토자: Gonglja" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/cdcf023b032b8d30/avatar_Gonglja.webp" width="384"/>
|
||||
<img alt="검토자: Gonglja" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/cdcf023b032b8d30/avatar_Gonglja.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -571,9 +570,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/gvenusleo">
|
||||
<img alt="검토자: gvenusleo" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/464e2d351b9263ec/avatar_gvenusleo.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="검토자: gvenusleo" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/464e2d351b9263ec/avatar_gvenusleo.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="검토자: gvenusleo" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/464e2d351b9263ec/avatar_gvenusleo.webp" width="384"/>
|
||||
<img alt="검토자: gvenusleo" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/464e2d351b9263ec/avatar_gvenusleo.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -587,9 +586,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/hpstory">
|
||||
<img alt="검토자: hpstory" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/7b6478acdab6b845/avatar_hpstory.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="검토자: hpstory" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/7b6478acdab6b845/avatar_hpstory.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="검토자: hpstory" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/7b6478acdab6b845/avatar_hpstory.webp" width="384"/>
|
||||
<img alt="검토자: hpstory" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/7b6478acdab6b845/avatar_hpstory.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -603,9 +602,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/justin-tse">
|
||||
<img alt="검토자: justin-tse" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/208ee5aae490eefa/avatar_justin-tse.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="검토자: justin-tse" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/208ee5aae490eefa/avatar_justin-tse.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="검토자: justin-tse" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/208ee5aae490eefa/avatar_justin-tse.webp" width="384"/>
|
||||
<img alt="검토자: justin-tse" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/208ee5aae490eefa/avatar_justin-tse.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -619,9 +618,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/khoaxuantu">
|
||||
<img alt="검토자: khoaxuantu" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/9d3f1a21ff51de78/avatar_khoaxuantu.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="검토자: khoaxuantu" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/9d3f1a21ff51de78/avatar_khoaxuantu.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="검토자: khoaxuantu" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/9d3f1a21ff51de78/avatar_khoaxuantu.webp" width="384"/>
|
||||
<img alt="검토자: khoaxuantu" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/9d3f1a21ff51de78/avatar_khoaxuantu.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -635,9 +634,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/krahets">
|
||||
<img alt="검토자: krahets" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/e321f9a3ac2739e0/avatar_krahets.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="검토자: krahets" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/e321f9a3ac2739e0/avatar_krahets.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="검토자: krahets" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/e321f9a3ac2739e0/avatar_krahets.webp" width="384"/>
|
||||
<img alt="검토자: krahets" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/e321f9a3ac2739e0/avatar_krahets.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -651,9 +650,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/night-cruise">
|
||||
<img alt="검토자: night-cruise" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/960b489efa22abd4/avatar_night-cruise.jpg" decoding="async" height="384" width="384"/>
|
||||
<img alt="검토자: night-cruise" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/960b489efa22abd4/avatar_night-cruise.jpg" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="검토자: night-cruise" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/960b489efa22abd4/avatar_night-cruise.jpg" width="384"/>
|
||||
<img alt="검토자: night-cruise" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/960b489efa22abd4/avatar_night-cruise.jpg" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -667,9 +666,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/nuomi1">
|
||||
<img alt="검토자: nuomi1" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/7316a9eb4429b259/avatar_nuomi1.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="검토자: nuomi1" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/7316a9eb4429b259/avatar_nuomi1.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="검토자: nuomi1" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/7316a9eb4429b259/avatar_nuomi1.webp" width="384"/>
|
||||
<img alt="검토자: nuomi1" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/7316a9eb4429b259/avatar_nuomi1.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -683,9 +682,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/Reanon">
|
||||
<img alt="검토자: Reanon" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/dcc15aa68cc793c7/avatar_Reanon.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="검토자: Reanon" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/dcc15aa68cc793c7/avatar_Reanon.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="검토자: Reanon" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/dcc15aa68cc793c7/avatar_Reanon.webp" width="384"/>
|
||||
<img alt="검토자: Reanon" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/dcc15aa68cc793c7/avatar_Reanon.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -699,9 +698,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/rongyi">
|
||||
<img alt="검토자: rongyi" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/5dc6c4b1d8bfe0ac/avatar_rongyi.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="검토자: rongyi" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/5dc6c4b1d8bfe0ac/avatar_rongyi.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="검토자: rongyi" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/5dc6c4b1d8bfe0ac/avatar_rongyi.webp" width="384"/>
|
||||
<img alt="검토자: rongyi" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/5dc6c4b1d8bfe0ac/avatar_rongyi.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -731,7 +730,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<script defer="" onerror="document.querySelectorAll('[data-home-src], [data-home-poster]').forEach(function(el) { if (el.dataset.homeSrc) el.src = el.dataset.homeSrc; if (el.dataset.homePoster) el.poster = el.dataset.homePoster; });" src="../assets/home/50aa7b2c8191c024/javascripts/homepage-media.js">
|
||||
<script defer="" onerror="document.querySelectorAll('[data-home-src], [data-home-poster]').forEach(function(el) { if (el.dataset.homeSrc) el.src = el.dataset.homeSrc; if (el.dataset.homePoster) el.poster = el.dataset.homePoster; });" src="../assets/home/087f217bf2136799/javascripts/homepage-media.js">
|
||||
</script>
|
||||
<script>
|
||||
// If the scene entry point itself fails, still provide chapter illustrations.
|
||||
@@ -2061,7 +2060,7 @@
|
||||
document.addEventListener('DOMContentLoaded', applyLandingPalette, { once: true });
|
||||
})();
|
||||
</script>
|
||||
<script data-home-scene="" src="../assets/home/50aa7b2c8191c024/javascripts/starfield.js">
|
||||
<script data-home-scene="" src="../assets/home/087f217bf2136799/javascripts/starfield.js">
|
||||
</script>
|
||||
<script>
|
||||
Starfield.setup({
|
||||
|
||||
BIN
ko/index.html.gz
@@ -301,4 +301,4 @@
|
||||
initAutoSlide();
|
||||
}
|
||||
})();
|
||||
/*! update cache: 20261105081840 */
|
||||
/*! update cache: 20261106114657 */
|
||||
|
||||
234
ko/javascripts/hero-flow-links.js
Normal file
@@ -0,0 +1,234 @@
|
||||
import * as THREE from './vendor/three/three.module.min.js';
|
||||
|
||||
// Art-directed spines in the original 1562 x 1134 composition. The open oval,
|
||||
// two inward sweeps and bottom title gap are retained; these are 3D curves,
|
||||
// not a sampled image and not a graph of straight planet-to-planet chords.
|
||||
const spines = [
|
||||
{from:'backtracking', to:'divide_and_conquer', via:['searching'], points:[[59,484,-26],[150,245,-8],[440,92,-42],[581,92,-18]], spread:44},
|
||||
{from:'backtracking', to:'greedy', via:['dynamic_programming'], points:[[59,484,-20],[-37,736,-28],[97,946,-28],[378,1072,-24]], spread:46},
|
||||
{from:'heap', to:'stack_and_queue', via:['tree','array_and_linkedlist'], points:[[1357,136,-22],[1630,515,14],[1550,965,-40],[1104,1118,-24]], spread:44},
|
||||
{from:'graph', to:'tree', points:[[1024,90,-30],[1210,165,-10],[1370,245,-36],[1478,419,-20]], spread:40},
|
||||
{from:'sorting', to:'divide_and_conquer', points:[[355,549,-24],[390,370,4],[525,175,-36],[581,92,-18]], spread:44},
|
||||
{from:'hashing', to:'tree', points:[[1123,406,-20],[1260,405,-32],[1320,415,6],[1478,419,-22]], spread:34},
|
||||
{from:'hashing', to:'array_and_linkedlist', points:[[1123,406,-24],[1280,545,4],[1390,665,-38],[1442,817,-20]], spread:42},
|
||||
];
|
||||
|
||||
export function createFlowLinks(targets) {
|
||||
if (!targets.length) return null;
|
||||
const positions=[],tangents=[],styles=[],paths=[],fractions=[],bindings=[],motions=[],indices=[];
|
||||
const strands=17,segments=72;
|
||||
const random = n => {const x=Math.sin(n*127.1+311.7)*43758.5453;return x-Math.floor(x);};
|
||||
|
||||
spines.forEach((definition, route) => {
|
||||
const {points:[a,b,c,d]}=definition;
|
||||
const routeSeed=701+route*43;
|
||||
const spread=definition.spread*(.92+.16*random(routeSeed));
|
||||
const mirrored=random(routeSeed+1)>.5;
|
||||
const primary=mirrored?2:14,echo=16-primary;
|
||||
const brushLanes=[4+Math.floor(random(routeSeed+2)*2),7+Math.floor(random(routeSeed+3)*2),10];
|
||||
const dominant=brushLanes[Math.floor(random(routeSeed+4)*brushLanes.length)];
|
||||
const fanPhase=random(routeSeed+5)*Math.PI*2;
|
||||
const curve=new THREE.CubicBezierCurve3(...[a,b,c,d].map(([x,y,z])=>new THREE.Vector3(x-781,567-y,z)));
|
||||
curve.arcLengthDivisions=256;
|
||||
const length=curve.getLength();
|
||||
// Seed once per route: geometry and timing stay stable on pause / resize.
|
||||
const phase=random(routeSeed+6);
|
||||
const speed=66+random(routeSeed+7)*38;
|
||||
const gap=500+random(routeSeed+8)*300;
|
||||
const tailLength=Math.min(42+random(routeSeed+9)*42,length*(.065+.04*random(routeSeed+10)));
|
||||
const headLength=3.2+random(routeSeed+11)*2.5;
|
||||
for(let lane=0;lane<strands;lane++) {
|
||||
const seed=route*strands+lane+1;
|
||||
const logicalLane=mirrored?16-lane:lane;
|
||||
const brush=brushLanes.includes(logicalLane);
|
||||
const rank=(lane-8+(random(seed+31)-.5)*.3)/8;
|
||||
const vertices=[];
|
||||
for(let j=0;j<=segments;j++) {
|
||||
const u=j/segments;
|
||||
const point=curve.getPointAt(u),tangent=curve.getTangentAt(u);
|
||||
const normal=new THREE.Vector3(-tangent.y,tangent.x,0).normalize();
|
||||
// Unequal strand spacing, subtle crossings and tapered bundles give the
|
||||
// original brushwork's character without moving an entire bright band.
|
||||
const fan=route===5 ? 1 : .88+.10*Math.sin(Math.PI*u+fanPhase);
|
||||
const offset=rank*spread*.5*fan + Math.sin((route===5?0:u*Math.PI*2)+seed)*.7;
|
||||
point.addScaledVector(normal,offset);
|
||||
point.z+=Math.sin(seed*2.4+u*Math.PI)*spread*.2;
|
||||
vertices.push(point);
|
||||
}
|
||||
const distances=[0];
|
||||
for(let j=1;j<=segments;j++)distances.push(distances[j-1]+vertices[j].distanceTo(vertices[j-1]));
|
||||
const strandLength=distances[segments];
|
||||
const offset=positions.length/3;
|
||||
for(let j=0;j<=segments;j++) {
|
||||
const u=j/segments;
|
||||
const direction=vertices[Math.min(segments,j+1)].clone().sub(vertices[Math.max(0,j-1)]).normalize();
|
||||
// Broad painted strokes live among hairline bristles, as in the art.
|
||||
// Keep the travelling filament narrow even where the painted body widens.
|
||||
const baseWidth=lane===primary?1.2+.5*random(routeSeed+12)
|
||||
:brush?(logicalLane===dominant?4.1+random(seed+4)*1.0:2.7+random(seed+4)*1.5)
|
||||
:.65+random(seed+4)*.7;
|
||||
const width=baseWidth*((lane===primary?.92:.78)
|
||||
+(lane===primary?.08:.22)*Math.sin(u*(5.+random(seed+6)*4.)+random(seed+7)*Math.PI*2));
|
||||
const intensity=lane===primary?.15:brush?.62+random(seed+23)*.12:.40+random(seed+23)*.18;
|
||||
// Broad strokes and moving light keep separate tracks even when mirrored.
|
||||
const emissive=lane===primary?1.5+.35*random(routeSeed+13):(lane===echo?.18+.08*random(routeSeed+14):0.);
|
||||
for(const side of [-1,1]) {
|
||||
positions.push(...vertices[j].toArray());tangents.push(...direction.toArray());
|
||||
// One shared progress per bundle, measured on each strand's own arc.
|
||||
// A rank-dependent head offset made short links look like sideways sweeps.
|
||||
paths.push(distances[j],side,strandLength,phase);
|
||||
styles.push(width,intensity,length,emissive);
|
||||
fractions.push(j/segments,random(seed+54),spread/(strands-1));
|
||||
bindings.push(route,u,lane,brush?1:0);
|
||||
motions.push(speed,gap,tailLength,headLength);
|
||||
}
|
||||
if(j<segments){const v=offset+j*2;indices.push(v,v+1,v+2,v+1,v+3,v+2);}
|
||||
}
|
||||
}
|
||||
});
|
||||
const geometry=new THREE.BufferGeometry();
|
||||
geometry.setAttribute('position',new THREE.Float32BufferAttribute(positions,3));
|
||||
geometry.setAttribute('curveTangent',new THREE.Float32BufferAttribute(tangents,3));
|
||||
geometry.setAttribute('pathStyle',new THREE.Float32BufferAttribute(paths,4));
|
||||
geometry.setAttribute('strandStyle',new THREE.Float32BufferAttribute(styles,4));
|
||||
geometry.setAttribute('fraction',new THREE.Float32BufferAttribute(fractions,3));
|
||||
geometry.setAttribute('binding',new THREE.Float32BufferAttribute(bindings,4));
|
||||
geometry.setAttribute('flowStyle',new THREE.Float32BufferAttribute(motions,4));
|
||||
geometry.setIndex(indices);
|
||||
const uniforms={
|
||||
time:{value:0},unit:{value:1},pixelRatio:{value:1},viewShift:{value:new THREE.Vector2()},
|
||||
routeEmphasis:{value:spines.map(()=>0)},selectionActive:{value:0},
|
||||
startShift:{value:spines.map(()=>new THREE.Vector3())},
|
||||
endShift:{value:spines.map(()=>new THREE.Vector3())},
|
||||
teal:{value:new THREE.Color('#479d9d')},
|
||||
pearl:{value:new THREE.Color('#def9ef')},
|
||||
glow:{value:new THREE.Color('#effffb')},
|
||||
blush:{value:new THREE.Color('#d7bab1')},
|
||||
};
|
||||
const material=new THREE.ShaderMaterial({
|
||||
uniforms,transparent:true,depthTest:true,depthWrite:false,side:THREE.DoubleSide,
|
||||
vertexShader:`
|
||||
attribute vec3 curveTangent;
|
||||
attribute vec4 pathStyle, strandStyle;
|
||||
attribute vec3 fraction;
|
||||
attribute vec4 binding,flowStyle;
|
||||
uniform float routeEmphasis[${spines.length}];
|
||||
uniform vec3 startShift[${spines.length}],endShift[${spines.length}];
|
||||
uniform vec2 viewShift;
|
||||
uniform float unit,pixelRatio;
|
||||
varying vec4 travel, strand, motion;
|
||||
varying vec2 shape, along;
|
||||
varying float highlight,filamentOpacity,painted;
|
||||
void main(){
|
||||
vec3 point=(modelMatrix*vec4(position,1.)).xyz;
|
||||
vec3 tangent=(modelMatrix*vec4(curveTangent,0.)).xyz;
|
||||
int route=int(binding.x);
|
||||
// Emphasize the complete connected bundle, not just pixels near a globe.
|
||||
highlight=routeEmphasis[route];
|
||||
float u=binding.y;
|
||||
float blend=u*u*(3.-2.*u);
|
||||
vec3 anchored=mix(startShift[route],endShift[route],blend);
|
||||
vec3 anchorSlope=(endShift[route]-startShift[route])*6.*u*(1.-u)/strandStyle.z;
|
||||
// Endpoint-only deformation preserves the oval's curvature; local
|
||||
// Gaussian attraction to passing planets introduced bends in the spine.
|
||||
point+=anchored;
|
||||
tangent+=anchorSlope;
|
||||
point.xy+=viewShift*point.z*.035;
|
||||
tangent.xy+=viewShift*tangent.z*.035;
|
||||
vec2 normal=normalize(vec2(-tangent.y,tangent.x));
|
||||
float core=max(.28,strandStyle.x*unit*.65)*(1.+.18*highlight);
|
||||
float halfWidth=core+max(.9,2.5*unit);
|
||||
point.xy+=normal*pathStyle.y*halfWidth;
|
||||
travel=pathStyle;strand=strandStyle;motion=flowStyle;painted=binding.w;shape=vec2(core,halfWidth);along=fraction.xy;
|
||||
// Fade interleaved strands before their spacing falls below a pixel.
|
||||
// Keeping all 17 at low DPR produced diagonal moire between filaments.
|
||||
float gap=fraction.z*unit*pixelRatio;
|
||||
filamentOpacity=1.;
|
||||
if(mod(binding.z,2.)>.5)filamentOpacity*=smoothstep(1.,1.6,gap);
|
||||
if(mod(binding.z,4.)>1.5)filamentOpacity*=smoothstep(1.,1.6,gap*2.);
|
||||
if(mod(binding.z,8.)>3.5)filamentOpacity*=smoothstep(1.,1.6,gap*4.);
|
||||
if(binding.w>.5||strandStyle.w>1.)filamentOpacity=1.;
|
||||
gl_Position=projectionMatrix*viewMatrix*vec4(point,1.);
|
||||
}`,
|
||||
fragmentShader:`
|
||||
uniform float time,unit,selectionActive;
|
||||
uniform vec3 teal,pearl,glow,blush;
|
||||
varying vec4 travel,strand,motion;
|
||||
varying vec2 shape,along;
|
||||
varying float highlight,filamentOpacity,painted;
|
||||
void main(){
|
||||
float across=abs(travel.y)*shape.y;
|
||||
// Differentiate the signed ribbon coordinate before taking abs. Across
|
||||
// the centreline, abs cancels neighbouring pixel derivatives and turns
|
||||
// thin filaments into diagonal, braided-looking antialiasing bands.
|
||||
float aa=max(fwidth(travel.y)*shape.y,.35);
|
||||
float signedAcross=travel.y*shape.y;
|
||||
float core=clamp((signedAcross+shape.x)/aa+.5,0.,1.)
|
||||
-clamp((signedAcross-shape.x)/aa+.5,0.,1.);
|
||||
float halo=exp(-across*across/max(shape.y*shape.y*.32,.01));
|
||||
halo*=1.-smoothstep(.75,1.,abs(travel.y));
|
||||
// A compact leading glint with a length-scaled filament tail. Speed is
|
||||
// in art-space distance, with a seeded cadence for each bundle.
|
||||
float cycle=strand.z+motion.y;
|
||||
float progress=(mod(time*motion.x+travel.w*cycle,cycle)-150.)/strand.z;
|
||||
float behind=progress*travel.z-travel.x;
|
||||
float tailLength=motion.z;
|
||||
float tail=smoothstep(-3.,2.,behind)*exp(-max(behind,0.)/tailLength)
|
||||
*(1.-smoothstep(tailLength*2.,tailLength*3.2,behind));
|
||||
float glint=exp(-pow(behind/motion.w,2.));
|
||||
float pulse=strand.w*(tail+.65*glint);
|
||||
float density=min(1.,unit/.55);
|
||||
float brush=painted;
|
||||
float notch=abs(along.x-(.18+.64*along.y));
|
||||
float dry=smoothstep(.004,.014,notch);
|
||||
float quiet=core*strand.y*(.95+.85*highlight)*mix(1.,.12+.88*dry,brush);
|
||||
float light=pulse*(core*.90+halo*.38)*(1.+.25*highlight);
|
||||
float ends=smoothstep(0.,.035,along.x)*smoothstep(0.,.035,1.-along.x);
|
||||
float hoverHalo=halo*.09*highlight*brush;
|
||||
float context=1.-.22*selectionActive*(1.-highlight);
|
||||
float alpha=(quiet+light+hoverHalo)*density*ends*filamentOpacity*context;
|
||||
// A continuous blue-green / pearl ground leaves the brightest white
|
||||
// for the travelling edge filament, with no isolated pigment blocks.
|
||||
vec3 ink=mix(teal,pearl,.18+.36*along.y);
|
||||
ink=mix(ink,blush,smoothstep(.84,.97,along.y)*.55);
|
||||
vec3 paint=mix(teal,pearl,.68+.06*sin(along.x*5.+along.y));
|
||||
vec3 color=mix(ink,paint,brush);
|
||||
color=mix(color,glow,min(.97,pulse*.72+.32*highlight));
|
||||
gl_FragColor=vec4(color,min(alpha,.98));
|
||||
#include <colorspace_fragment>
|
||||
}`,
|
||||
});
|
||||
const mesh=new THREE.Mesh(geometry,material);
|
||||
mesh.name='hero-flow-links';mesh.frustumCulled=false;mesh.renderOrder=-1;
|
||||
const byName=new Map(targets.map(target=>[target.name,target]));
|
||||
function attach(shift,target,point,scale){
|
||||
if(!target){shift.set(0,0,0);return;}
|
||||
target.sphere.getWorldPosition(shift);
|
||||
shift.z-=target.sphere.scale.x*target.root.scale.x*.15;
|
||||
shift.x-=(point[0]-781)*scale+mesh.position.x;
|
||||
shift.y-=(567-point[1])*scale+mesh.position.y;
|
||||
shift.z-=point[2]*scale;
|
||||
}
|
||||
return {
|
||||
mesh,
|
||||
update(time,width,height,pointer={x:0,y:0},pixelRatio=1){
|
||||
// Composition box is explicit: no hidden legacy image owns layout.
|
||||
const boxHeight=Math.round(height*.78751),boxWidth=Math.round(height*.78751*1562/1134);
|
||||
const scale=boxWidth/1562;
|
||||
uniforms.time.value=time;uniforms.unit.value=scale;uniforms.pixelRatio.value=pixelRatio;
|
||||
uniforms.viewShift.value.set(pointer.x,pointer.y);
|
||||
mesh.scale.setScalar(scale);
|
||||
mesh.position.set(Math.round(width*.10545)+boxWidth/2-width/2,
|
||||
height/2-Math.round(height*.07326)-boxHeight/2,0);
|
||||
spines.forEach(({from,to,via=[],points},i)=>{
|
||||
attach(uniforms.startShift.value[i],byName.get(from),points[0],scale);
|
||||
attach(uniforms.endShift.value[i],byName.get(to),points[3],scale);
|
||||
uniforms.routeEmphasis.value[i]=Math.max(...[from,...via,to].map(name=>
|
||||
byName.get(name)?.material.uniforms.emphasis.value||0));
|
||||
});
|
||||
uniforms.selectionActive.value=Math.max(...uniforms.routeEmphasis.value);
|
||||
},
|
||||
dispose(){mesh.removeFromParent();geometry.dispose();material.dispose();},
|
||||
};
|
||||
}
|
||||
/*! update cache: 20261106114657 */
|
||||
@@ -8,4 +8,4 @@ document$.subscribe(({ body }) => {
|
||||
],
|
||||
});
|
||||
});
|
||||
/*! update cache: 20261105081840 */
|
||||
/*! update cache: 20261106114657 */
|
||||
|
||||
@@ -15,4 +15,4 @@ window.MathJax = {
|
||||
document$.subscribe(() => {
|
||||
MathJax.typesetPromise();
|
||||
});
|
||||
/*! update cache: 20261105081840 */
|
||||
/*! update cache: 20261106114657 */
|
||||
|
||||
@@ -176,4 +176,4 @@
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
}
|
||||
/*! update cache: 20261105081840 */
|
||||
/*! update cache: 20261106114657 */
|
||||
|
||||
@@ -979,4 +979,4 @@ a:hover .device-on-hover {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
/*! update cache: 20261105081840 */
|
||||
/*! update cache: 20261106114657 */
|
||||
|
||||
@@ -122,4 +122,4 @@ main .gsc-loading-image {
|
||||
.gsc-reply-content::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
/*! update cache: 20261105081840 */
|
||||
/*! update cache: 20261106114657 */
|
||||
|
||||
@@ -153,4 +153,4 @@ main {
|
||||
.gsc-reply-content::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
/*! update cache: 20261105081840 */
|
||||
/*! update cache: 20261106114657 */
|
||||
|
||||
|
Before Width: | Height: | Size: 175 KiB After Width: | Height: | Size: 174 KiB |
149
ru/index.html
@@ -152,7 +152,7 @@
|
||||
</nav>
|
||||
</header>
|
||||
<div class="md-container" data-md-component="container">
|
||||
<link href="../assets/home/50aa7b2c8191c024/hero-motion.css" rel="stylesheet"/>
|
||||
<link href="../assets/home/087f217bf2136799/hero-motion.css" rel="stylesheet"/>
|
||||
<noscript>
|
||||
<style>
|
||||
[data-home-src], video[data-home-poster], [data-hero-fallback] { display: none; }
|
||||
@@ -164,126 +164,125 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="hero-div hero-div--ru" data-home-layout="universe">
|
||||
<img alt="" data-hero-asset="ground" data-source-height="380" data-source-width="881" height="380" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/567306c070a6a7e2/ground.webp" style="position: absolute; width: auto; height: 26.445%; left: 28.211%; top: 54.145%;; aspect-ratio: 881 / 380" width="881"/>
|
||||
<img alt="" data-hero-asset="links" data-source-height="1134" data-source-width="1562" height="1134" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/3e50f38a325c1cb5/links.webp" style="position: absolute; width: auto; height: 78.751%; left: 10.545%; top: 7.326%;; aspect-ratio: 1562 / 1134" width="1562"/>
|
||||
<img alt="" data-hero-asset="ground" data-source-height="380" data-source-width="881" height="380" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/567306c070a6a7e2/ground.webp" style="position: absolute; width: auto; height: 26.445%; left: 28.211%; top: 54.145%;; aspect-ratio: 881 / 380" width="881"/>
|
||||
<a href="chapter_introduction/">
|
||||
<img alt="" data-hero-asset="astronaut" data-source-height="672" data-source-width="515" height="672" src="../assets/home/50aa7b2c8191c024/../shared/images/8e5eb3b3e3ebd9f7/astronaut.webp" style="height: 46.673%; left: 35.413%; top: 24.343%;; aspect-ratio: 515 / 672" width="515"/>
|
||||
<img alt="" data-hero-asset="astronaut" data-source-height="672" data-source-width="515" height="672" src="../assets/home/087f217bf2136799/../shared/images/8e5eb3b3e3ebd9f7/astronaut.webp" style="height: 46.673%; left: 35.413%; top: 24.343%;; aspect-ratio: 515 / 672" width="515"/>
|
||||
<span style="left: 52.244%; top: 20.919%;">
|
||||
Введение в алгоритмы
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_computational_complexity/">
|
||||
<img alt="" data-hero-asset="chapter_computational_complexity" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/2fb425426d1f8d86/chapter_computational_complexity.webp" data-source-height="178" data-source-width="113" height="178" style="height: 12.347%; left: 36.267%; top: 37.653%;; aspect-ratio: 113 / 178" width="113"/>
|
||||
<img alt="" data-hero-asset="chapter_computational_complexity" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/2fb425426d1f8d86/chapter_computational_complexity.webp" data-source-height="178" data-source-width="113" height="178" style="height: 12.347%; left: 36.267%; top: 37.653%;; aspect-ratio: 113 / 178" width="113"/>
|
||||
<noscript>
|
||||
<img alt="" height="178" src="../assets/home/50aa7b2c8191c024/../shared/images/2fb425426d1f8d86/chapter_computational_complexity.webp" style="height: 12.347%; left: 36.267%; top: 37.653%;" width="113"/>
|
||||
<img alt="" height="178" src="../assets/home/087f217bf2136799/../shared/images/2fb425426d1f8d86/chapter_computational_complexity.webp" style="height: 12.347%; left: 36.267%; top: 37.653%;" width="113"/>
|
||||
</noscript>
|
||||
<span style="left: 39.244%; top: 33.919%;">
|
||||
Анализ сложности
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_array_and_linkedlist/">
|
||||
<img alt="" data-hero-asset="chapter_array_and_linkedlist" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/5cbbdf7be555d3ef/chapter_array_and_linkedlist.webp" data-source-height="319" data-source-width="468" height="319" style="height: 22.242%; left: 73.242%; top: 52.481%;; aspect-ratio: 468 / 319" width="468"/>
|
||||
<img alt="" data-hero-asset="chapter_array_and_linkedlist" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/5cbbdf7be555d3ef/chapter_array_and_linkedlist.webp" data-source-height="319" data-source-width="468" height="319" style="height: 22.242%; left: 73.242%; top: 52.481%;; aspect-ratio: 468 / 319" width="468"/>
|
||||
<noscript>
|
||||
<img alt="" height="319" src="../assets/home/50aa7b2c8191c024/../shared/images/5cbbdf7be555d3ef/chapter_array_and_linkedlist.webp" style="height: 22.242%; left: 73.242%; top: 52.481%;" width="468"/>
|
||||
<img alt="" height="319" src="../assets/home/087f217bf2136799/../shared/images/5cbbdf7be555d3ef/chapter_array_and_linkedlist.webp" style="height: 22.242%; left: 73.242%; top: 52.481%;" width="468"/>
|
||||
</noscript>
|
||||
<span style="left: 83.897%; top: 76.259%;">
|
||||
Массивы и списки
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_stack_and_queue/">
|
||||
<img alt="" data-hero-asset="chapter_stack_and_queue" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/e2667767cf7481bd/chapter_stack_and_queue.webp" data-source-height="204" data-source-width="204" height="204" style="height: 14.302%; left: 62.646%; top: 77.875%;; aspect-ratio: 204 / 204" width="204"/>
|
||||
<img alt="" data-hero-asset="chapter_stack_and_queue" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/e2667767cf7481bd/chapter_stack_and_queue.webp" data-source-height="204" data-source-width="204" height="204" style="height: 14.302%; left: 62.646%; top: 77.875%;; aspect-ratio: 204 / 204" width="204"/>
|
||||
<noscript>
|
||||
<img alt="" height="204" src="../assets/home/50aa7b2c8191c024/../shared/images/e2667767cf7481bd/chapter_stack_and_queue.webp" style="height: 14.302%; left: 62.646%; top: 77.875%;" width="204"/>
|
||||
<img alt="" height="204" src="../assets/home/087f217bf2136799/../shared/images/e2667767cf7481bd/chapter_stack_and_queue.webp" style="height: 14.302%; left: 62.646%; top: 77.875%;" width="204"/>
|
||||
</noscript>
|
||||
<span style="left: 77.571%; top: 91.25%;">
|
||||
Стек и очередь
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_hashing/">
|
||||
<img alt="" data-hero-asset="chapter_hashing" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/b108d70a537714cb/chapter_hashing.webp" data-source-height="218" data-source-width="218" height="218" style="height: 15.266%; left: 63.281%; top: 27.933%;; aspect-ratio: 218 / 218" width="218"/>
|
||||
<img alt="" data-hero-asset="chapter_hashing" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/b108d70a537714cb/chapter_hashing.webp" data-source-height="218" data-source-width="218" height="218" style="height: 15.266%; left: 63.281%; top: 27.933%;; aspect-ratio: 218 / 218" width="218"/>
|
||||
<noscript>
|
||||
<img alt="" height="218" src="../assets/home/50aa7b2c8191c024/../shared/images/b108d70a537714cb/chapter_hashing.webp" style="height: 15.266%; left: 63.281%; top: 27.933%;" width="218"/>
|
||||
<img alt="" height="218" src="../assets/home/087f217bf2136799/../shared/images/b108d70a537714cb/chapter_hashing.webp" style="height: 15.266%; left: 63.281%; top: 27.933%;" width="218"/>
|
||||
</noscript>
|
||||
<span style="left: 68.862%; top: 46.292%;">
|
||||
Хеш-таблицы
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_tree/">
|
||||
<img alt="" data-hero-asset="chapter_tree" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/8138bb0acecedec4/chapter_tree.webp" data-source-height="281" data-source-width="280" height="281" style="height: 19.615%; left: 80.137%; top: 26.678%;; aspect-ratio: 280 / 281" width="280"/>
|
||||
<img alt="" data-hero-asset="chapter_tree" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/8138bb0acecedec4/chapter_tree.webp" data-source-height="281" data-source-width="280" height="281" style="height: 19.615%; left: 80.137%; top: 26.678%;; aspect-ratio: 280 / 281" width="280"/>
|
||||
<noscript>
|
||||
<img alt="" height="281" src="../assets/home/50aa7b2c8191c024/../shared/images/8138bb0acecedec4/chapter_tree.webp" style="height: 19.615%; left: 80.137%; top: 26.678%;" width="280"/>
|
||||
<img alt="" height="281" src="../assets/home/087f217bf2136799/../shared/images/8138bb0acecedec4/chapter_tree.webp" style="height: 19.615%; left: 80.137%; top: 26.678%;" width="280"/>
|
||||
</noscript>
|
||||
<span style="left: 96.159%; top: 44.8%;">
|
||||
Деревья
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_heap/">
|
||||
<img alt="" data-hero-asset="chapter_heap" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/7586281e6691807a/chapter_heap.webp" data-source-height="152" data-source-width="151" height="152" style="height: 10.566%; left: 77.226%; top: 11.559%;; aspect-ratio: 151 / 152" width="151"/>
|
||||
<img alt="" data-hero-asset="chapter_heap" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/7586281e6691807a/chapter_heap.webp" data-source-height="152" data-source-width="151" height="152" style="height: 10.566%; left: 77.226%; top: 11.559%;; aspect-ratio: 151 / 152" width="151"/>
|
||||
<noscript>
|
||||
<img alt="" height="152" src="../assets/home/50aa7b2c8191c024/../shared/images/7586281e6691807a/chapter_heap.webp" style="height: 10.566%; left: 77.226%; top: 11.559%;" width="151"/>
|
||||
<img alt="" height="152" src="../assets/home/087f217bf2136799/../shared/images/7586281e6691807a/chapter_heap.webp" style="height: 10.566%; left: 77.226%; top: 11.559%;" width="151"/>
|
||||
</noscript>
|
||||
<span style="left: 88.103%; top: 15.422%;">
|
||||
Куча
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_graph/">
|
||||
<img alt="" data-hero-asset="chapter_graph" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/175a7f2e7c3cf5f0/chapter_graph.webp" data-source-height="272" data-source-width="542" height="272" style="height: 16.112%; left: 51.854%; top: 5.575%;; aspect-ratio: 542 / 272" width="542"/>
|
||||
<img alt="" data-hero-asset="chapter_graph" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/175a7f2e7c3cf5f0/chapter_graph.webp" data-source-height="272" data-source-width="542" height="272" style="height: 16.112%; left: 51.854%; top: 5.575%;; aspect-ratio: 542 / 272" width="542"/>
|
||||
<noscript>
|
||||
<img alt="" height="272" src="../assets/home/50aa7b2c8191c024/../shared/images/175a7f2e7c3cf5f0/chapter_graph.webp" style="height: 16.112%; left: 51.854%; top: 5.575%;" width="542"/>
|
||||
<img alt="" height="272" src="../assets/home/087f217bf2136799/../shared/images/175a7f2e7c3cf5f0/chapter_graph.webp" style="height: 16.112%; left: 51.854%; top: 5.575%;" width="542"/>
|
||||
</noscript>
|
||||
<span style="left: 71.195%; top: 6.503%;">
|
||||
Графы
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_searching/">
|
||||
<img alt="" data-hero-asset="chapter_searching" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/ebfe2b953dbb9d90/chapter_searching.webp" data-source-height="216" data-source-width="216" height="216" style="height: 15.149%; left: 18.185%; top: 16.404%;; aspect-ratio: 216 / 216" width="216"/>
|
||||
<img alt="" data-hero-asset="chapter_searching" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/ebfe2b953dbb9d90/chapter_searching.webp" data-source-height="216" data-source-width="216" height="216" style="height: 15.149%; left: 18.185%; top: 16.404%;; aspect-ratio: 216 / 216" width="216"/>
|
||||
<noscript>
|
||||
<img alt="" height="216" src="../assets/home/50aa7b2c8191c024/../shared/images/ebfe2b953dbb9d90/chapter_searching.webp" style="height: 15.149%; left: 18.185%; top: 16.404%;" width="216"/>
|
||||
<img alt="" height="216" src="../assets/home/087f217bf2136799/../shared/images/ebfe2b953dbb9d90/chapter_searching.webp" style="height: 15.149%; left: 18.185%; top: 16.404%;" width="216"/>
|
||||
</noscript>
|
||||
<span style="left: 14.556%; top: 20.876%;">
|
||||
Поиск
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_sorting/">
|
||||
<img alt="" data-hero-asset="chapter_sorting" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/9d4be68b2680967c/chapter_sorting.webp" data-source-height="137" data-source-width="138" height="137" style="height: 9.574%; left: 25.409%; top: 40.747%;; aspect-ratio: 138 / 137" width="138"/>
|
||||
<img alt="" data-hero-asset="chapter_sorting" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/9d4be68b2680967c/chapter_sorting.webp" data-source-height="137" data-source-width="138" height="137" style="height: 9.574%; left: 25.409%; top: 40.747%;; aspect-ratio: 138 / 137" width="138"/>
|
||||
<noscript>
|
||||
<img alt="" height="137" src="../assets/home/50aa7b2c8191c024/../shared/images/9d4be68b2680967c/chapter_sorting.webp" style="height: 9.574%; left: 25.409%; top: 40.747%;" width="138"/>
|
||||
<img alt="" height="137" src="../assets/home/087f217bf2136799/../shared/images/9d4be68b2680967c/chapter_sorting.webp" style="height: 9.574%; left: 25.409%; top: 40.747%;" width="138"/>
|
||||
</noscript>
|
||||
<span style="left: 28.805%; top: 53.808%;">
|
||||
Сортировка
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_divide_and_conquer/">
|
||||
<img alt="" data-hero-asset="chapter_divide_and_conquer" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/6f5766ca9385cd2e/chapter_divide_and_conquer.webp" data-source-height="269" data-source-width="407" height="269" style="height: 18.681%; left: 32.721%; top: 4.816%;; aspect-ratio: 407 / 269" width="407"/>
|
||||
<img alt="" data-hero-asset="chapter_divide_and_conquer" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/6f5766ca9385cd2e/chapter_divide_and_conquer.webp" data-source-height="269" data-source-width="407" height="269" style="height: 18.681%; left: 32.721%; top: 4.816%;; aspect-ratio: 407 / 269" width="407"/>
|
||||
<noscript>
|
||||
<img alt="" height="269" src="../assets/home/50aa7b2c8191c024/../shared/images/6f5766ca9385cd2e/chapter_divide_and_conquer.webp" style="height: 18.681%; left: 32.721%; top: 4.816%;" width="407"/>
|
||||
<img alt="" height="269" src="../assets/home/087f217bf2136799/../shared/images/6f5766ca9385cd2e/chapter_divide_and_conquer.webp" style="height: 18.681%; left: 32.721%; top: 4.816%;" width="407"/>
|
||||
</noscript>
|
||||
<span style="left: 28.42%; top: 8.679%;">
|
||||
Разделяй и властвуй
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_backtracking/">
|
||||
<img alt="" data-hero-asset="chapter_backtracking" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/176675e685febf11/chapter_backtracking.webp" data-source-height="249" data-source-width="345" height="249" style="height: 17.338%; left: 4.875%; top: 32.925%;; aspect-ratio: 345 / 249" width="345"/>
|
||||
<img alt="" data-hero-asset="chapter_backtracking" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/176675e685febf11/chapter_backtracking.webp" data-source-height="249" data-source-width="345" height="249" style="height: 17.338%; left: 4.875%; top: 32.925%;; aspect-ratio: 345 / 249" width="345"/>
|
||||
<noscript>
|
||||
<img alt="" height="249" src="../assets/home/50aa7b2c8191c024/../shared/images/176675e685febf11/chapter_backtracking.webp" style="height: 17.338%; left: 4.875%; top: 32.925%;" width="345"/>
|
||||
<img alt="" height="249" src="../assets/home/087f217bf2136799/../shared/images/176675e685febf11/chapter_backtracking.webp" style="height: 17.338%; left: 4.875%; top: 32.925%;" width="345"/>
|
||||
</noscript>
|
||||
<span style="left: 4.742%; top: 50.113%;">
|
||||
Поиск с возвратом
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_dynamic_programming/">
|
||||
<img alt="" data-hero-asset="chapter_dynamic_programming" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/06264b1ffd05b08e/chapter_dynamic_programming.webp" data-source-height="268" data-source-width="267" height="268" style="height: 15.47%; left: 9.406%; top: 57.472%;; aspect-ratio: 267 / 268" width="267"/>
|
||||
<img alt="" data-hero-asset="chapter_dynamic_programming" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/06264b1ffd05b08e/chapter_dynamic_programming.webp" data-source-height="268" data-source-width="267" height="268" style="height: 15.47%; left: 9.406%; top: 57.472%;; aspect-ratio: 267 / 268" width="267"/>
|
||||
<noscript>
|
||||
<img alt="" height="268" src="../assets/home/50aa7b2c8191c024/../shared/images/06264b1ffd05b08e/chapter_dynamic_programming.webp" style="height: 15.47%; left: 9.406%; top: 57.472%;" width="267"/>
|
||||
<img alt="" height="268" src="../assets/home/087f217bf2136799/../shared/images/06264b1ffd05b08e/chapter_dynamic_programming.webp" style="height: 15.47%; left: 9.406%; top: 57.472%;" width="267"/>
|
||||
</noscript>
|
||||
<span style="left: 6.561%; top: 75.351%;">
|
||||
Динамическое программирование
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_greedy/">
|
||||
<img alt="" data-hero-asset="chapter_greedy" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/2ce6caaac951c40b/chapter_greedy.webp" data-source-height="202" data-source-width="265" height="202" style="height: 14.127%; left: 23.132%; top: 75.803%;; aspect-ratio: 265 / 202" width="265"/>
|
||||
<img alt="" data-hero-asset="chapter_greedy" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/2ce6caaac951c40b/chapter_greedy.webp" data-source-height="202" data-source-width="265" height="202" style="height: 14.127%; left: 23.132%; top: 75.803%;; aspect-ratio: 265 / 202" width="265"/>
|
||||
<noscript>
|
||||
<img alt="" height="202" src="../assets/home/50aa7b2c8191c024/../shared/images/2ce6caaac951c40b/chapter_greedy.webp" style="height: 14.127%; left: 23.132%; top: 75.803%;" width="265"/>
|
||||
<img alt="" height="202" src="../assets/home/087f217bf2136799/../shared/images/2ce6caaac951c40b/chapter_greedy.webp" style="height: 14.127%; left: 23.132%; top: 75.803%;" width="265"/>
|
||||
</noscript>
|
||||
<span style="left: 21.619%; top: 86.85%;">
|
||||
Жадность
|
||||
@@ -330,9 +329,9 @@
|
||||
<a href="chapter_hello_algo/">
|
||||
<div style="height: 4.34%;">
|
||||
</div>
|
||||
<img alt="" class="device-on-hover" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/5b64cf7672ec5ec6/web_mac_iphone.webp" decoding="async" height="965" style="height: 66.31%;" width="1598"/>
|
||||
<img alt="" class="device-on-hover" data-home-src="../assets/home/087f217bf2136799/../shared/images/5b64cf7672ec5ec6/web_mac_iphone.webp" decoding="async" height="965" style="height: 66.31%;" width="1598"/>
|
||||
<noscript>
|
||||
<img alt="" class="device-on-hover" height="965" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/5b64cf7672ec5ec6/web_mac_iphone.webp" style="height: 66.31%;" width="1598"/>
|
||||
<img alt="" class="device-on-hover" height="965" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/5b64cf7672ec5ec6/web_mac_iphone.webp" style="height: 66.31%;" width="1598"/>
|
||||
</noscript>
|
||||
<div style="height: 4.34%;">
|
||||
</div>
|
||||
@@ -349,9 +348,9 @@
|
||||
</div>
|
||||
<div class="media-block">
|
||||
<a href="https://github.com/krahets/hello-algo/releases">
|
||||
<img alt="" class="device-on-hover" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/66baa2f9bf3abec7/pdf_ipad.webp" decoding="async" height="960" style="height: 75%;" width="812"/>
|
||||
<img alt="" class="device-on-hover" data-home-src="../assets/home/087f217bf2136799/../shared/images/66baa2f9bf3abec7/pdf_ipad.webp" decoding="async" height="960" style="height: 75%;" width="812"/>
|
||||
<noscript>
|
||||
<img alt="" class="device-on-hover" height="960" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/66baa2f9bf3abec7/pdf_ipad.webp" style="height: 75%;" width="812"/>
|
||||
<img alt="" class="device-on-hover" height="960" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/66baa2f9bf3abec7/pdf_ipad.webp" style="height: 75%;" width="812"/>
|
||||
</noscript>
|
||||
<div class="text-button">
|
||||
<span>
|
||||
@@ -419,21 +418,21 @@
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<video aria-label="Animation example" class="intro-image" data-home-poster="../assets/home/50aa7b2c8191c024/../shared/images/9e5f39bf33afc70f/animation-poster.webp" data-home-video="../assets/home/50aa7b2c8191c024/../shared/media/6c70de2b2bf4eef7/animation.mp4" height="1080" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1600 / 1080" width="1600">
|
||||
<video aria-label="Animation example" class="intro-image" data-home-poster="../assets/home/087f217bf2136799/../shared/images/9e5f39bf33afc70f/animation-poster.webp" data-home-video="../assets/home/087f217bf2136799/../shared/media/6c70de2b2bf4eef7/animation.mp4" height="1080" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1600 / 1080" width="1600">
|
||||
</video>
|
||||
<noscript>
|
||||
<a href="../assets/home/50aa7b2c8191c024/../shared/media/6c70de2b2bf4eef7/animation.mp4">
|
||||
<img alt="Animation example" class="intro-image" height="1080" src="../assets/home/50aa7b2c8191c024/../shared/images/9e5f39bf33afc70f/animation-poster.webp" width="1600"/>
|
||||
<a href="../assets/home/087f217bf2136799/../shared/media/6c70de2b2bf4eef7/animation.mp4">
|
||||
<img alt="Animation example" class="intro-image" height="1080" src="../assets/home/087f217bf2136799/../shared/images/9e5f39bf33afc70f/animation-poster.webp" width="1600"/>
|
||||
Анимированные схемы
|
||||
</a>
|
||||
</noscript>
|
||||
</div>
|
||||
<div class="intro-container">
|
||||
<video aria-label="Running code example" class="intro-image" data-home-poster="../assets/home/50aa7b2c8191c024/../shared/images/f33a13e8331245ae/running_code-poster.webp" data-home-video="../assets/home/50aa7b2c8191c024/../shared/media/bb169a96ca8316da/running_code.mp4" height="1082" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1600 / 1082" width="1600">
|
||||
<video aria-label="Running code example" class="intro-image" data-home-poster="../assets/home/087f217bf2136799/../shared/images/f33a13e8331245ae/running_code-poster.webp" data-home-video="../assets/home/087f217bf2136799/../shared/media/bb169a96ca8316da/running_code.mp4" height="1082" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1600 / 1082" width="1600">
|
||||
</video>
|
||||
<noscript>
|
||||
<a href="../assets/home/50aa7b2c8191c024/../shared/media/bb169a96ca8316da/running_code.mp4">
|
||||
<img alt="Running code example" class="intro-image" height="1082" src="../assets/home/50aa7b2c8191c024/../shared/images/f33a13e8331245ae/running_code-poster.webp" width="1600"/>
|
||||
<a href="../assets/home/087f217bf2136799/../shared/media/bb169a96ca8316da/running_code.mp4">
|
||||
<img alt="Running code example" class="intro-image" height="1082" src="../assets/home/087f217bf2136799/../shared/images/f33a13e8331245ae/running_code-poster.webp" width="1600"/>
|
||||
Запуск в один клик
|
||||
</a>
|
||||
</noscript>
|
||||
@@ -481,11 +480,11 @@
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<video aria-label="Comments example" class="intro-image" data-home-poster="../assets/home/50aa7b2c8191c024/../shared/images/f9ac69536a7582f5/comment-poster.webp" data-home-video="../assets/home/50aa7b2c8191c024/../shared/media/62aa0b8d351c63a7/comment.mp4" height="1080" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1600 / 1080" width="1600">
|
||||
<video aria-label="Comments example" class="intro-image" data-home-poster="../assets/home/087f217bf2136799/../shared/images/f9ac69536a7582f5/comment-poster.webp" data-home-video="../assets/home/087f217bf2136799/../shared/media/62aa0b8d351c63a7/comment.mp4" height="1080" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1600 / 1080" width="1600">
|
||||
</video>
|
||||
<noscript>
|
||||
<a href="../assets/home/50aa7b2c8191c024/../shared/media/62aa0b8d351c63a7/comment.mp4">
|
||||
<img alt="Comments example" class="intro-image" height="1080" src="../assets/home/50aa7b2c8191c024/../shared/images/f9ac69536a7582f5/comment-poster.webp" width="1600"/>
|
||||
<a href="../assets/home/087f217bf2136799/../shared/media/62aa0b8d351c63a7/comment.mp4">
|
||||
<img alt="Comments example" class="intro-image" height="1080" src="../assets/home/087f217bf2136799/../shared/images/f9ac69536a7582f5/comment-poster.webp" width="1600"/>
|
||||
Учимся вместе
|
||||
</a>
|
||||
</noscript>
|
||||
@@ -501,9 +500,9 @@
|
||||
<div class="profile-div">
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/krahets">
|
||||
<img alt="Author: yudongjin" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/02348410d40f7665/avatar_yudongjin.webp" decoding="async" height="512" width="512"/>
|
||||
<img alt="Author: yudongjin" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/02348410d40f7665/avatar_yudongjin.webp" decoding="async" height="512" width="512"/>
|
||||
<noscript>
|
||||
<img alt="Author: yudongjin" class="profile-img" height="512" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/02348410d40f7665/avatar_yudongjin.webp" width="512"/>
|
||||
<img alt="Author: yudongjin" class="profile-img" height="512" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/02348410d40f7665/avatar_yudongjin.webp" width="512"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -522,9 +521,9 @@
|
||||
</p>
|
||||
<div class="profile-div">
|
||||
<div class="profile-cell translator-profile-cell">
|
||||
<img alt="Translator: shevkun" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/91019a79d7ac4441/avatar_shevkun.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Translator: shevkun" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/91019a79d7ac4441/avatar_shevkun.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Translator: shevkun" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/91019a79d7ac4441/avatar_shevkun.webp" width="384"/>
|
||||
<img alt="Translator: shevkun" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/91019a79d7ac4441/avatar_shevkun.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -533,9 +532,9 @@
|
||||
</div>
|
||||
<div class="profile-cell translator-profile-cell">
|
||||
<a href="https://github.com/veronicahuang2977">
|
||||
<img alt="Translator: yuyanhuang" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/f2c06730dacd8659/avatar_yuyanhuang.webp" decoding="async" height="512" width="512"/>
|
||||
<img alt="Translator: yuyanhuang" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/f2c06730dacd8659/avatar_yuyanhuang.webp" decoding="async" height="512" width="512"/>
|
||||
<noscript>
|
||||
<img alt="Translator: yuyanhuang" class="profile-img" height="512" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/f2c06730dacd8659/avatar_yuyanhuang.webp" width="512"/>
|
||||
<img alt="Translator: yuyanhuang" class="profile-img" height="512" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/f2c06730dacd8659/avatar_yuyanhuang.webp" width="512"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -555,9 +554,9 @@
|
||||
<div class="profile-div">
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/coderonion">
|
||||
<img alt="Reviewer: coderonion" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/db606f27971eae34/avatar_coderonion.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: coderonion" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/db606f27971eae34/avatar_coderonion.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: coderonion" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/db606f27971eae34/avatar_coderonion.webp" width="384"/>
|
||||
<img alt="Reviewer: coderonion" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/db606f27971eae34/avatar_coderonion.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -571,9 +570,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/curtishd">
|
||||
<img alt="Reviewer: curtishd" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/feedb0e547ea31fc/avatar_curtishd.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: curtishd" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/feedb0e547ea31fc/avatar_curtishd.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: curtishd" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/feedb0e547ea31fc/avatar_curtishd.webp" width="384"/>
|
||||
<img alt="Reviewer: curtishd" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/feedb0e547ea31fc/avatar_curtishd.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -587,9 +586,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/Gonglja">
|
||||
<img alt="Reviewer: Gonglja" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/cdcf023b032b8d30/avatar_Gonglja.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: Gonglja" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/cdcf023b032b8d30/avatar_Gonglja.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: Gonglja" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/cdcf023b032b8d30/avatar_Gonglja.webp" width="384"/>
|
||||
<img alt="Reviewer: Gonglja" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/cdcf023b032b8d30/avatar_Gonglja.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -603,9 +602,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/gvenusleo">
|
||||
<img alt="Reviewer: gvenusleo" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/464e2d351b9263ec/avatar_gvenusleo.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: gvenusleo" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/464e2d351b9263ec/avatar_gvenusleo.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: gvenusleo" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/464e2d351b9263ec/avatar_gvenusleo.webp" width="384"/>
|
||||
<img alt="Reviewer: gvenusleo" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/464e2d351b9263ec/avatar_gvenusleo.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -619,9 +618,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/hpstory">
|
||||
<img alt="Reviewer: hpstory" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/7b6478acdab6b845/avatar_hpstory.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: hpstory" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/7b6478acdab6b845/avatar_hpstory.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: hpstory" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/7b6478acdab6b845/avatar_hpstory.webp" width="384"/>
|
||||
<img alt="Reviewer: hpstory" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/7b6478acdab6b845/avatar_hpstory.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -635,9 +634,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/justin-tse">
|
||||
<img alt="Reviewer: justin-tse" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/208ee5aae490eefa/avatar_justin-tse.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: justin-tse" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/208ee5aae490eefa/avatar_justin-tse.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: justin-tse" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/208ee5aae490eefa/avatar_justin-tse.webp" width="384"/>
|
||||
<img alt="Reviewer: justin-tse" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/208ee5aae490eefa/avatar_justin-tse.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -651,9 +650,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/khoaxuantu">
|
||||
<img alt="Reviewer: khoaxuantu" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/9d3f1a21ff51de78/avatar_khoaxuantu.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: khoaxuantu" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/9d3f1a21ff51de78/avatar_khoaxuantu.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: khoaxuantu" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/9d3f1a21ff51de78/avatar_khoaxuantu.webp" width="384"/>
|
||||
<img alt="Reviewer: khoaxuantu" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/9d3f1a21ff51de78/avatar_khoaxuantu.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -667,9 +666,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/krahets">
|
||||
<img alt="Reviewer: krahets" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/e321f9a3ac2739e0/avatar_krahets.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: krahets" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/e321f9a3ac2739e0/avatar_krahets.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: krahets" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/e321f9a3ac2739e0/avatar_krahets.webp" width="384"/>
|
||||
<img alt="Reviewer: krahets" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/e321f9a3ac2739e0/avatar_krahets.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -683,9 +682,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/night-cruise">
|
||||
<img alt="Reviewer: night-cruise" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/960b489efa22abd4/avatar_night-cruise.jpg" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: night-cruise" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/960b489efa22abd4/avatar_night-cruise.jpg" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: night-cruise" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/960b489efa22abd4/avatar_night-cruise.jpg" width="384"/>
|
||||
<img alt="Reviewer: night-cruise" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/960b489efa22abd4/avatar_night-cruise.jpg" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -699,9 +698,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/nuomi1">
|
||||
<img alt="Reviewer: nuomi1" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/7316a9eb4429b259/avatar_nuomi1.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: nuomi1" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/7316a9eb4429b259/avatar_nuomi1.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: nuomi1" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/7316a9eb4429b259/avatar_nuomi1.webp" width="384"/>
|
||||
<img alt="Reviewer: nuomi1" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/7316a9eb4429b259/avatar_nuomi1.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -715,9 +714,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/Reanon">
|
||||
<img alt="Reviewer: Reanon" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/dcc15aa68cc793c7/avatar_Reanon.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: Reanon" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/dcc15aa68cc793c7/avatar_Reanon.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: Reanon" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/dcc15aa68cc793c7/avatar_Reanon.webp" width="384"/>
|
||||
<img alt="Reviewer: Reanon" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/dcc15aa68cc793c7/avatar_Reanon.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -731,9 +730,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/rongyi">
|
||||
<img alt="Reviewer: rongyi" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/5dc6c4b1d8bfe0ac/avatar_rongyi.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: rongyi" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/5dc6c4b1d8bfe0ac/avatar_rongyi.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: rongyi" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/5dc6c4b1d8bfe0ac/avatar_rongyi.webp" width="384"/>
|
||||
<img alt="Reviewer: rongyi" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/5dc6c4b1d8bfe0ac/avatar_rongyi.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -763,7 +762,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<script defer="" onerror="document.querySelectorAll('[data-home-src], [data-home-poster]').forEach(function(el) { if (el.dataset.homeSrc) el.src = el.dataset.homeSrc; if (el.dataset.homePoster) el.poster = el.dataset.homePoster; });" src="../assets/home/50aa7b2c8191c024/javascripts/homepage-media.js">
|
||||
<script defer="" onerror="document.querySelectorAll('[data-home-src], [data-home-poster]').forEach(function(el) { if (el.dataset.homeSrc) el.src = el.dataset.homeSrc; if (el.dataset.homePoster) el.poster = el.dataset.homePoster; });" src="../assets/home/087f217bf2136799/javascripts/homepage-media.js">
|
||||
</script>
|
||||
<script>
|
||||
// If the scene entry point itself fails, still provide chapter illustrations.
|
||||
@@ -2092,7 +2091,7 @@
|
||||
document.addEventListener('DOMContentLoaded', applyLandingPalette, { once: true });
|
||||
})();
|
||||
</script>
|
||||
<script data-home-scene="" src="../assets/home/50aa7b2c8191c024/javascripts/starfield.js">
|
||||
<script data-home-scene="" src="../assets/home/087f217bf2136799/javascripts/starfield.js">
|
||||
</script>
|
||||
<script>
|
||||
Starfield.setup({
|
||||
|
||||
BIN
ru/index.html.gz
@@ -301,4 +301,4 @@
|
||||
initAutoSlide();
|
||||
}
|
||||
})();
|
||||
/*! update cache: 20261105081805 */
|
||||
/*! update cache: 20261106114621 */
|
||||
|
||||
234
ru/javascripts/hero-flow-links.js
Normal file
@@ -0,0 +1,234 @@
|
||||
import * as THREE from './vendor/three/three.module.min.js';
|
||||
|
||||
// Art-directed spines in the original 1562 x 1134 composition. The open oval,
|
||||
// two inward sweeps and bottom title gap are retained; these are 3D curves,
|
||||
// not a sampled image and not a graph of straight planet-to-planet chords.
|
||||
const spines = [
|
||||
{from:'backtracking', to:'divide_and_conquer', via:['searching'], points:[[59,484,-26],[150,245,-8],[440,92,-42],[581,92,-18]], spread:44},
|
||||
{from:'backtracking', to:'greedy', via:['dynamic_programming'], points:[[59,484,-20],[-37,736,-28],[97,946,-28],[378,1072,-24]], spread:46},
|
||||
{from:'heap', to:'stack_and_queue', via:['tree','array_and_linkedlist'], points:[[1357,136,-22],[1630,515,14],[1550,965,-40],[1104,1118,-24]], spread:44},
|
||||
{from:'graph', to:'tree', points:[[1024,90,-30],[1210,165,-10],[1370,245,-36],[1478,419,-20]], spread:40},
|
||||
{from:'sorting', to:'divide_and_conquer', points:[[355,549,-24],[390,370,4],[525,175,-36],[581,92,-18]], spread:44},
|
||||
{from:'hashing', to:'tree', points:[[1123,406,-20],[1260,405,-32],[1320,415,6],[1478,419,-22]], spread:34},
|
||||
{from:'hashing', to:'array_and_linkedlist', points:[[1123,406,-24],[1280,545,4],[1390,665,-38],[1442,817,-20]], spread:42},
|
||||
];
|
||||
|
||||
export function createFlowLinks(targets) {
|
||||
if (!targets.length) return null;
|
||||
const positions=[],tangents=[],styles=[],paths=[],fractions=[],bindings=[],motions=[],indices=[];
|
||||
const strands=17,segments=72;
|
||||
const random = n => {const x=Math.sin(n*127.1+311.7)*43758.5453;return x-Math.floor(x);};
|
||||
|
||||
spines.forEach((definition, route) => {
|
||||
const {points:[a,b,c,d]}=definition;
|
||||
const routeSeed=701+route*43;
|
||||
const spread=definition.spread*(.92+.16*random(routeSeed));
|
||||
const mirrored=random(routeSeed+1)>.5;
|
||||
const primary=mirrored?2:14,echo=16-primary;
|
||||
const brushLanes=[4+Math.floor(random(routeSeed+2)*2),7+Math.floor(random(routeSeed+3)*2),10];
|
||||
const dominant=brushLanes[Math.floor(random(routeSeed+4)*brushLanes.length)];
|
||||
const fanPhase=random(routeSeed+5)*Math.PI*2;
|
||||
const curve=new THREE.CubicBezierCurve3(...[a,b,c,d].map(([x,y,z])=>new THREE.Vector3(x-781,567-y,z)));
|
||||
curve.arcLengthDivisions=256;
|
||||
const length=curve.getLength();
|
||||
// Seed once per route: geometry and timing stay stable on pause / resize.
|
||||
const phase=random(routeSeed+6);
|
||||
const speed=66+random(routeSeed+7)*38;
|
||||
const gap=500+random(routeSeed+8)*300;
|
||||
const tailLength=Math.min(42+random(routeSeed+9)*42,length*(.065+.04*random(routeSeed+10)));
|
||||
const headLength=3.2+random(routeSeed+11)*2.5;
|
||||
for(let lane=0;lane<strands;lane++) {
|
||||
const seed=route*strands+lane+1;
|
||||
const logicalLane=mirrored?16-lane:lane;
|
||||
const brush=brushLanes.includes(logicalLane);
|
||||
const rank=(lane-8+(random(seed+31)-.5)*.3)/8;
|
||||
const vertices=[];
|
||||
for(let j=0;j<=segments;j++) {
|
||||
const u=j/segments;
|
||||
const point=curve.getPointAt(u),tangent=curve.getTangentAt(u);
|
||||
const normal=new THREE.Vector3(-tangent.y,tangent.x,0).normalize();
|
||||
// Unequal strand spacing, subtle crossings and tapered bundles give the
|
||||
// original brushwork's character without moving an entire bright band.
|
||||
const fan=route===5 ? 1 : .88+.10*Math.sin(Math.PI*u+fanPhase);
|
||||
const offset=rank*spread*.5*fan + Math.sin((route===5?0:u*Math.PI*2)+seed)*.7;
|
||||
point.addScaledVector(normal,offset);
|
||||
point.z+=Math.sin(seed*2.4+u*Math.PI)*spread*.2;
|
||||
vertices.push(point);
|
||||
}
|
||||
const distances=[0];
|
||||
for(let j=1;j<=segments;j++)distances.push(distances[j-1]+vertices[j].distanceTo(vertices[j-1]));
|
||||
const strandLength=distances[segments];
|
||||
const offset=positions.length/3;
|
||||
for(let j=0;j<=segments;j++) {
|
||||
const u=j/segments;
|
||||
const direction=vertices[Math.min(segments,j+1)].clone().sub(vertices[Math.max(0,j-1)]).normalize();
|
||||
// Broad painted strokes live among hairline bristles, as in the art.
|
||||
// Keep the travelling filament narrow even where the painted body widens.
|
||||
const baseWidth=lane===primary?1.2+.5*random(routeSeed+12)
|
||||
:brush?(logicalLane===dominant?4.1+random(seed+4)*1.0:2.7+random(seed+4)*1.5)
|
||||
:.65+random(seed+4)*.7;
|
||||
const width=baseWidth*((lane===primary?.92:.78)
|
||||
+(lane===primary?.08:.22)*Math.sin(u*(5.+random(seed+6)*4.)+random(seed+7)*Math.PI*2));
|
||||
const intensity=lane===primary?.15:brush?.62+random(seed+23)*.12:.40+random(seed+23)*.18;
|
||||
// Broad strokes and moving light keep separate tracks even when mirrored.
|
||||
const emissive=lane===primary?1.5+.35*random(routeSeed+13):(lane===echo?.18+.08*random(routeSeed+14):0.);
|
||||
for(const side of [-1,1]) {
|
||||
positions.push(...vertices[j].toArray());tangents.push(...direction.toArray());
|
||||
// One shared progress per bundle, measured on each strand's own arc.
|
||||
// A rank-dependent head offset made short links look like sideways sweeps.
|
||||
paths.push(distances[j],side,strandLength,phase);
|
||||
styles.push(width,intensity,length,emissive);
|
||||
fractions.push(j/segments,random(seed+54),spread/(strands-1));
|
||||
bindings.push(route,u,lane,brush?1:0);
|
||||
motions.push(speed,gap,tailLength,headLength);
|
||||
}
|
||||
if(j<segments){const v=offset+j*2;indices.push(v,v+1,v+2,v+1,v+3,v+2);}
|
||||
}
|
||||
}
|
||||
});
|
||||
const geometry=new THREE.BufferGeometry();
|
||||
geometry.setAttribute('position',new THREE.Float32BufferAttribute(positions,3));
|
||||
geometry.setAttribute('curveTangent',new THREE.Float32BufferAttribute(tangents,3));
|
||||
geometry.setAttribute('pathStyle',new THREE.Float32BufferAttribute(paths,4));
|
||||
geometry.setAttribute('strandStyle',new THREE.Float32BufferAttribute(styles,4));
|
||||
geometry.setAttribute('fraction',new THREE.Float32BufferAttribute(fractions,3));
|
||||
geometry.setAttribute('binding',new THREE.Float32BufferAttribute(bindings,4));
|
||||
geometry.setAttribute('flowStyle',new THREE.Float32BufferAttribute(motions,4));
|
||||
geometry.setIndex(indices);
|
||||
const uniforms={
|
||||
time:{value:0},unit:{value:1},pixelRatio:{value:1},viewShift:{value:new THREE.Vector2()},
|
||||
routeEmphasis:{value:spines.map(()=>0)},selectionActive:{value:0},
|
||||
startShift:{value:spines.map(()=>new THREE.Vector3())},
|
||||
endShift:{value:spines.map(()=>new THREE.Vector3())},
|
||||
teal:{value:new THREE.Color('#479d9d')},
|
||||
pearl:{value:new THREE.Color('#def9ef')},
|
||||
glow:{value:new THREE.Color('#effffb')},
|
||||
blush:{value:new THREE.Color('#d7bab1')},
|
||||
};
|
||||
const material=new THREE.ShaderMaterial({
|
||||
uniforms,transparent:true,depthTest:true,depthWrite:false,side:THREE.DoubleSide,
|
||||
vertexShader:`
|
||||
attribute vec3 curveTangent;
|
||||
attribute vec4 pathStyle, strandStyle;
|
||||
attribute vec3 fraction;
|
||||
attribute vec4 binding,flowStyle;
|
||||
uniform float routeEmphasis[${spines.length}];
|
||||
uniform vec3 startShift[${spines.length}],endShift[${spines.length}];
|
||||
uniform vec2 viewShift;
|
||||
uniform float unit,pixelRatio;
|
||||
varying vec4 travel, strand, motion;
|
||||
varying vec2 shape, along;
|
||||
varying float highlight,filamentOpacity,painted;
|
||||
void main(){
|
||||
vec3 point=(modelMatrix*vec4(position,1.)).xyz;
|
||||
vec3 tangent=(modelMatrix*vec4(curveTangent,0.)).xyz;
|
||||
int route=int(binding.x);
|
||||
// Emphasize the complete connected bundle, not just pixels near a globe.
|
||||
highlight=routeEmphasis[route];
|
||||
float u=binding.y;
|
||||
float blend=u*u*(3.-2.*u);
|
||||
vec3 anchored=mix(startShift[route],endShift[route],blend);
|
||||
vec3 anchorSlope=(endShift[route]-startShift[route])*6.*u*(1.-u)/strandStyle.z;
|
||||
// Endpoint-only deformation preserves the oval's curvature; local
|
||||
// Gaussian attraction to passing planets introduced bends in the spine.
|
||||
point+=anchored;
|
||||
tangent+=anchorSlope;
|
||||
point.xy+=viewShift*point.z*.035;
|
||||
tangent.xy+=viewShift*tangent.z*.035;
|
||||
vec2 normal=normalize(vec2(-tangent.y,tangent.x));
|
||||
float core=max(.28,strandStyle.x*unit*.65)*(1.+.18*highlight);
|
||||
float halfWidth=core+max(.9,2.5*unit);
|
||||
point.xy+=normal*pathStyle.y*halfWidth;
|
||||
travel=pathStyle;strand=strandStyle;motion=flowStyle;painted=binding.w;shape=vec2(core,halfWidth);along=fraction.xy;
|
||||
// Fade interleaved strands before their spacing falls below a pixel.
|
||||
// Keeping all 17 at low DPR produced diagonal moire between filaments.
|
||||
float gap=fraction.z*unit*pixelRatio;
|
||||
filamentOpacity=1.;
|
||||
if(mod(binding.z,2.)>.5)filamentOpacity*=smoothstep(1.,1.6,gap);
|
||||
if(mod(binding.z,4.)>1.5)filamentOpacity*=smoothstep(1.,1.6,gap*2.);
|
||||
if(mod(binding.z,8.)>3.5)filamentOpacity*=smoothstep(1.,1.6,gap*4.);
|
||||
if(binding.w>.5||strandStyle.w>1.)filamentOpacity=1.;
|
||||
gl_Position=projectionMatrix*viewMatrix*vec4(point,1.);
|
||||
}`,
|
||||
fragmentShader:`
|
||||
uniform float time,unit,selectionActive;
|
||||
uniform vec3 teal,pearl,glow,blush;
|
||||
varying vec4 travel,strand,motion;
|
||||
varying vec2 shape,along;
|
||||
varying float highlight,filamentOpacity,painted;
|
||||
void main(){
|
||||
float across=abs(travel.y)*shape.y;
|
||||
// Differentiate the signed ribbon coordinate before taking abs. Across
|
||||
// the centreline, abs cancels neighbouring pixel derivatives and turns
|
||||
// thin filaments into diagonal, braided-looking antialiasing bands.
|
||||
float aa=max(fwidth(travel.y)*shape.y,.35);
|
||||
float signedAcross=travel.y*shape.y;
|
||||
float core=clamp((signedAcross+shape.x)/aa+.5,0.,1.)
|
||||
-clamp((signedAcross-shape.x)/aa+.5,0.,1.);
|
||||
float halo=exp(-across*across/max(shape.y*shape.y*.32,.01));
|
||||
halo*=1.-smoothstep(.75,1.,abs(travel.y));
|
||||
// A compact leading glint with a length-scaled filament tail. Speed is
|
||||
// in art-space distance, with a seeded cadence for each bundle.
|
||||
float cycle=strand.z+motion.y;
|
||||
float progress=(mod(time*motion.x+travel.w*cycle,cycle)-150.)/strand.z;
|
||||
float behind=progress*travel.z-travel.x;
|
||||
float tailLength=motion.z;
|
||||
float tail=smoothstep(-3.,2.,behind)*exp(-max(behind,0.)/tailLength)
|
||||
*(1.-smoothstep(tailLength*2.,tailLength*3.2,behind));
|
||||
float glint=exp(-pow(behind/motion.w,2.));
|
||||
float pulse=strand.w*(tail+.65*glint);
|
||||
float density=min(1.,unit/.55);
|
||||
float brush=painted;
|
||||
float notch=abs(along.x-(.18+.64*along.y));
|
||||
float dry=smoothstep(.004,.014,notch);
|
||||
float quiet=core*strand.y*(.95+.85*highlight)*mix(1.,.12+.88*dry,brush);
|
||||
float light=pulse*(core*.90+halo*.38)*(1.+.25*highlight);
|
||||
float ends=smoothstep(0.,.035,along.x)*smoothstep(0.,.035,1.-along.x);
|
||||
float hoverHalo=halo*.09*highlight*brush;
|
||||
float context=1.-.22*selectionActive*(1.-highlight);
|
||||
float alpha=(quiet+light+hoverHalo)*density*ends*filamentOpacity*context;
|
||||
// A continuous blue-green / pearl ground leaves the brightest white
|
||||
// for the travelling edge filament, with no isolated pigment blocks.
|
||||
vec3 ink=mix(teal,pearl,.18+.36*along.y);
|
||||
ink=mix(ink,blush,smoothstep(.84,.97,along.y)*.55);
|
||||
vec3 paint=mix(teal,pearl,.68+.06*sin(along.x*5.+along.y));
|
||||
vec3 color=mix(ink,paint,brush);
|
||||
color=mix(color,glow,min(.97,pulse*.72+.32*highlight));
|
||||
gl_FragColor=vec4(color,min(alpha,.98));
|
||||
#include <colorspace_fragment>
|
||||
}`,
|
||||
});
|
||||
const mesh=new THREE.Mesh(geometry,material);
|
||||
mesh.name='hero-flow-links';mesh.frustumCulled=false;mesh.renderOrder=-1;
|
||||
const byName=new Map(targets.map(target=>[target.name,target]));
|
||||
function attach(shift,target,point,scale){
|
||||
if(!target){shift.set(0,0,0);return;}
|
||||
target.sphere.getWorldPosition(shift);
|
||||
shift.z-=target.sphere.scale.x*target.root.scale.x*.15;
|
||||
shift.x-=(point[0]-781)*scale+mesh.position.x;
|
||||
shift.y-=(567-point[1])*scale+mesh.position.y;
|
||||
shift.z-=point[2]*scale;
|
||||
}
|
||||
return {
|
||||
mesh,
|
||||
update(time,width,height,pointer={x:0,y:0},pixelRatio=1){
|
||||
// Composition box is explicit: no hidden legacy image owns layout.
|
||||
const boxHeight=Math.round(height*.78751),boxWidth=Math.round(height*.78751*1562/1134);
|
||||
const scale=boxWidth/1562;
|
||||
uniforms.time.value=time;uniforms.unit.value=scale;uniforms.pixelRatio.value=pixelRatio;
|
||||
uniforms.viewShift.value.set(pointer.x,pointer.y);
|
||||
mesh.scale.setScalar(scale);
|
||||
mesh.position.set(Math.round(width*.10545)+boxWidth/2-width/2,
|
||||
height/2-Math.round(height*.07326)-boxHeight/2,0);
|
||||
spines.forEach(({from,to,via=[],points},i)=>{
|
||||
attach(uniforms.startShift.value[i],byName.get(from),points[0],scale);
|
||||
attach(uniforms.endShift.value[i],byName.get(to),points[3],scale);
|
||||
uniforms.routeEmphasis.value[i]=Math.max(...[from,...via,to].map(name=>
|
||||
byName.get(name)?.material.uniforms.emphasis.value||0));
|
||||
});
|
||||
uniforms.selectionActive.value=Math.max(...uniforms.routeEmphasis.value);
|
||||
},
|
||||
dispose(){mesh.removeFromParent();geometry.dispose();material.dispose();},
|
||||
};
|
||||
}
|
||||
/*! update cache: 20261106114621 */
|
||||
@@ -8,4 +8,4 @@ document$.subscribe(({ body }) => {
|
||||
],
|
||||
});
|
||||
});
|
||||
/*! update cache: 20261105081805 */
|
||||
/*! update cache: 20261106114621 */
|
||||
|
||||
@@ -15,4 +15,4 @@ window.MathJax = {
|
||||
document$.subscribe(() => {
|
||||
MathJax.typesetPromise();
|
||||
});
|
||||
/*! update cache: 20261105081805 */
|
||||
/*! update cache: 20261106114621 */
|
||||
|
||||
@@ -176,4 +176,4 @@
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
}
|
||||
/*! update cache: 20261105081805 */
|
||||
/*! update cache: 20261106114621 */
|
||||
|
||||
@@ -979,4 +979,4 @@ a:hover .device-on-hover {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
/*! update cache: 20261105081805 */
|
||||
/*! update cache: 20261106114621 */
|
||||
|
||||
@@ -122,4 +122,4 @@ main .gsc-loading-image {
|
||||
.gsc-reply-content::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
/*! update cache: 20261105081805 */
|
||||
/*! update cache: 20261106114621 */
|
||||
|
||||
@@ -153,4 +153,4 @@ main {
|
||||
.gsc-reply-content::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
/*! update cache: 20261105081805 */
|
||||
/*! update cache: 20261106114621 */
|
||||
|
||||
@@ -176,4 +176,4 @@
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
}
|
||||
/*! update cache: 20261105081547 */
|
||||
/*! update cache: 20261106114359 */
|
||||
|
||||
@@ -979,4 +979,4 @@ a:hover .device-on-hover {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
/*! update cache: 20261105081547 */
|
||||
/*! update cache: 20261106114359 */
|
||||
|
||||
@@ -122,4 +122,4 @@ main .gsc-loading-image {
|
||||
.gsc-reply-content::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
/*! update cache: 20261105081547 */
|
||||
/*! update cache: 20261106114359 */
|
||||
|
||||
@@ -153,4 +153,4 @@ main {
|
||||
.gsc-reply-content::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
/*! update cache: 20261105081547 */
|
||||
/*! update cache: 20261106114359 */
|
||||
|
||||
|
Before Width: | Height: | Size: 176 KiB After Width: | Height: | Size: 174 KiB |
@@ -152,7 +152,7 @@
|
||||
</nav>
|
||||
</header>
|
||||
<div class="md-container" data-md-component="container">
|
||||
<link href="../assets/home/50aa7b2c8191c024/hero-motion.css" rel="stylesheet"/>
|
||||
<link href="../assets/home/087f217bf2136799/hero-motion.css" rel="stylesheet"/>
|
||||
<noscript>
|
||||
<style>
|
||||
[data-home-src], video[data-home-poster], [data-hero-fallback] { display: none; }
|
||||
@@ -164,126 +164,125 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="hero-div" data-home-layout="universe">
|
||||
<img alt="" data-hero-asset="ground" data-source-height="380" data-source-width="881" height="380" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/567306c070a6a7e2/ground.webp" style="position: absolute; width: auto; height: 26.445%; left: 28.211%; top: 54.145%;; aspect-ratio: 881 / 380" width="881"/>
|
||||
<img alt="" data-hero-asset="links" data-source-height="1134" data-source-width="1562" height="1134" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/3e50f38a325c1cb5/links.webp" style="position: absolute; width: auto; height: 78.751%; left: 10.545%; top: 7.326%;; aspect-ratio: 1562 / 1134" width="1562"/>
|
||||
<img alt="" data-hero-asset="ground" data-source-height="380" data-source-width="881" height="380" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/567306c070a6a7e2/ground.webp" style="position: absolute; width: auto; height: 26.445%; left: 28.211%; top: 54.145%;; aspect-ratio: 881 / 380" width="881"/>
|
||||
<a href="chapter_introduction/">
|
||||
<img alt="" data-hero-asset="astronaut" data-source-height="672" data-source-width="515" height="672" src="../assets/home/50aa7b2c8191c024/../shared/images/8e5eb3b3e3ebd9f7/astronaut.webp" style="height: 46.673%; left: 35.413%; top: 24.343%;; aspect-ratio: 515 / 672" width="515"/>
|
||||
<img alt="" data-hero-asset="astronaut" data-source-height="672" data-source-width="515" height="672" src="../assets/home/087f217bf2136799/../shared/images/8e5eb3b3e3ebd9f7/astronaut.webp" style="height: 46.673%; left: 35.413%; top: 24.343%;; aspect-ratio: 515 / 672" width="515"/>
|
||||
<span style="left: 52.244%; top: 20.919%;">
|
||||
初識演算法
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_computational_complexity/">
|
||||
<img alt="" data-hero-asset="chapter_computational_complexity" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/2fb425426d1f8d86/chapter_computational_complexity.webp" data-source-height="178" data-source-width="113" height="178" style="height: 12.347%; left: 36.267%; top: 37.653%;; aspect-ratio: 113 / 178" width="113"/>
|
||||
<img alt="" data-hero-asset="chapter_computational_complexity" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/2fb425426d1f8d86/chapter_computational_complexity.webp" data-source-height="178" data-source-width="113" height="178" style="height: 12.347%; left: 36.267%; top: 37.653%;; aspect-ratio: 113 / 178" width="113"/>
|
||||
<noscript>
|
||||
<img alt="" height="178" src="../assets/home/50aa7b2c8191c024/../shared/images/2fb425426d1f8d86/chapter_computational_complexity.webp" style="height: 12.347%; left: 36.267%; top: 37.653%;" width="113"/>
|
||||
<img alt="" height="178" src="../assets/home/087f217bf2136799/../shared/images/2fb425426d1f8d86/chapter_computational_complexity.webp" style="height: 12.347%; left: 36.267%; top: 37.653%;" width="113"/>
|
||||
</noscript>
|
||||
<span style="left: 39.244%; top: 33.919%;">
|
||||
複雜度分析
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_array_and_linkedlist/">
|
||||
<img alt="" data-hero-asset="chapter_array_and_linkedlist" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/5cbbdf7be555d3ef/chapter_array_and_linkedlist.webp" data-source-height="319" data-source-width="468" height="319" style="height: 22.242%; left: 73.242%; top: 52.481%;; aspect-ratio: 468 / 319" width="468"/>
|
||||
<img alt="" data-hero-asset="chapter_array_and_linkedlist" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/5cbbdf7be555d3ef/chapter_array_and_linkedlist.webp" data-source-height="319" data-source-width="468" height="319" style="height: 22.242%; left: 73.242%; top: 52.481%;; aspect-ratio: 468 / 319" width="468"/>
|
||||
<noscript>
|
||||
<img alt="" height="319" src="../assets/home/50aa7b2c8191c024/../shared/images/5cbbdf7be555d3ef/chapter_array_and_linkedlist.webp" style="height: 22.242%; left: 73.242%; top: 52.481%;" width="468"/>
|
||||
<img alt="" height="319" src="../assets/home/087f217bf2136799/../shared/images/5cbbdf7be555d3ef/chapter_array_and_linkedlist.webp" style="height: 22.242%; left: 73.242%; top: 52.481%;" width="468"/>
|
||||
</noscript>
|
||||
<span style="left: 90.897%; top: 76.259%;">
|
||||
陣列與鏈結串列
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_stack_and_queue/">
|
||||
<img alt="" data-hero-asset="chapter_stack_and_queue" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/e2667767cf7481bd/chapter_stack_and_queue.webp" data-source-height="204" data-source-width="204" height="204" style="height: 14.302%; left: 62.646%; top: 77.875%;; aspect-ratio: 204 / 204" width="204"/>
|
||||
<img alt="" data-hero-asset="chapter_stack_and_queue" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/e2667767cf7481bd/chapter_stack_and_queue.webp" data-source-height="204" data-source-width="204" height="204" style="height: 14.302%; left: 62.646%; top: 77.875%;; aspect-ratio: 204 / 204" width="204"/>
|
||||
<noscript>
|
||||
<img alt="" height="204" src="../assets/home/50aa7b2c8191c024/../shared/images/e2667767cf7481bd/chapter_stack_and_queue.webp" style="height: 14.302%; left: 62.646%; top: 77.875%;" width="204"/>
|
||||
<img alt="" height="204" src="../assets/home/087f217bf2136799/../shared/images/e2667767cf7481bd/chapter_stack_and_queue.webp" style="height: 14.302%; left: 62.646%; top: 77.875%;" width="204"/>
|
||||
</noscript>
|
||||
<span style="left: 77.571%; top: 91.25%;">
|
||||
堆疊與佇列
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_hashing/">
|
||||
<img alt="" data-hero-asset="chapter_hashing" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/b108d70a537714cb/chapter_hashing.webp" data-source-height="218" data-source-width="218" height="218" style="height: 15.266%; left: 63.281%; top: 27.933%;; aspect-ratio: 218 / 218" width="218"/>
|
||||
<img alt="" data-hero-asset="chapter_hashing" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/b108d70a537714cb/chapter_hashing.webp" data-source-height="218" data-source-width="218" height="218" style="height: 15.266%; left: 63.281%; top: 27.933%;; aspect-ratio: 218 / 218" width="218"/>
|
||||
<noscript>
|
||||
<img alt="" height="218" src="../assets/home/50aa7b2c8191c024/../shared/images/b108d70a537714cb/chapter_hashing.webp" style="height: 15.266%; left: 63.281%; top: 27.933%;" width="218"/>
|
||||
<img alt="" height="218" src="../assets/home/087f217bf2136799/../shared/images/b108d70a537714cb/chapter_hashing.webp" style="height: 15.266%; left: 63.281%; top: 27.933%;" width="218"/>
|
||||
</noscript>
|
||||
<span style="left: 68.862%; top: 46.292%;">
|
||||
雜湊表
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_tree/">
|
||||
<img alt="" data-hero-asset="chapter_tree" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/8138bb0acecedec4/chapter_tree.webp" data-source-height="281" data-source-width="280" height="281" style="height: 19.615%; left: 80.137%; top: 26.678%;; aspect-ratio: 280 / 281" width="280"/>
|
||||
<img alt="" data-hero-asset="chapter_tree" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/8138bb0acecedec4/chapter_tree.webp" data-source-height="281" data-source-width="280" height="281" style="height: 19.615%; left: 80.137%; top: 26.678%;; aspect-ratio: 280 / 281" width="280"/>
|
||||
<noscript>
|
||||
<img alt="" height="281" src="../assets/home/50aa7b2c8191c024/../shared/images/8138bb0acecedec4/chapter_tree.webp" style="height: 19.615%; left: 80.137%; top: 26.678%;" width="280"/>
|
||||
<img alt="" height="281" src="../assets/home/087f217bf2136799/../shared/images/8138bb0acecedec4/chapter_tree.webp" style="height: 19.615%; left: 80.137%; top: 26.678%;" width="280"/>
|
||||
</noscript>
|
||||
<span style="left: 96.159%; top: 44.8%;">
|
||||
樹
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_heap/">
|
||||
<img alt="" data-hero-asset="chapter_heap" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/7586281e6691807a/chapter_heap.webp" data-source-height="152" data-source-width="151" height="152" style="height: 10.566%; left: 77.226%; top: 11.559%;; aspect-ratio: 151 / 152" width="151"/>
|
||||
<img alt="" data-hero-asset="chapter_heap" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/7586281e6691807a/chapter_heap.webp" data-source-height="152" data-source-width="151" height="152" style="height: 10.566%; left: 77.226%; top: 11.559%;; aspect-ratio: 151 / 152" width="151"/>
|
||||
<noscript>
|
||||
<img alt="" height="152" src="../assets/home/50aa7b2c8191c024/../shared/images/7586281e6691807a/chapter_heap.webp" style="height: 10.566%; left: 77.226%; top: 11.559%;" width="151"/>
|
||||
<img alt="" height="152" src="../assets/home/087f217bf2136799/../shared/images/7586281e6691807a/chapter_heap.webp" style="height: 10.566%; left: 77.226%; top: 11.559%;" width="151"/>
|
||||
</noscript>
|
||||
<span style="left: 88.103%; top: 15.422%;">
|
||||
堆積
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_graph/">
|
||||
<img alt="" data-hero-asset="chapter_graph" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/175a7f2e7c3cf5f0/chapter_graph.webp" data-source-height="272" data-source-width="542" height="272" style="height: 16.112%; left: 51.854%; top: 5.575%;; aspect-ratio: 542 / 272" width="542"/>
|
||||
<img alt="" data-hero-asset="chapter_graph" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/175a7f2e7c3cf5f0/chapter_graph.webp" data-source-height="272" data-source-width="542" height="272" style="height: 16.112%; left: 51.854%; top: 5.575%;; aspect-ratio: 542 / 272" width="542"/>
|
||||
<noscript>
|
||||
<img alt="" height="272" src="../assets/home/50aa7b2c8191c024/../shared/images/175a7f2e7c3cf5f0/chapter_graph.webp" style="height: 16.112%; left: 51.854%; top: 5.575%;" width="542"/>
|
||||
<img alt="" height="272" src="../assets/home/087f217bf2136799/../shared/images/175a7f2e7c3cf5f0/chapter_graph.webp" style="height: 16.112%; left: 51.854%; top: 5.575%;" width="542"/>
|
||||
</noscript>
|
||||
<span style="left: 71.195%; top: 6.503%;">
|
||||
圖
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_searching/">
|
||||
<img alt="" data-hero-asset="chapter_searching" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/ebfe2b953dbb9d90/chapter_searching.webp" data-source-height="216" data-source-width="216" height="216" style="height: 15.149%; left: 18.185%; top: 16.404%;; aspect-ratio: 216 / 216" width="216"/>
|
||||
<img alt="" data-hero-asset="chapter_searching" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/ebfe2b953dbb9d90/chapter_searching.webp" data-source-height="216" data-source-width="216" height="216" style="height: 15.149%; left: 18.185%; top: 16.404%;; aspect-ratio: 216 / 216" width="216"/>
|
||||
<noscript>
|
||||
<img alt="" height="216" src="../assets/home/50aa7b2c8191c024/../shared/images/ebfe2b953dbb9d90/chapter_searching.webp" style="height: 15.149%; left: 18.185%; top: 16.404%;" width="216"/>
|
||||
<img alt="" height="216" src="../assets/home/087f217bf2136799/../shared/images/ebfe2b953dbb9d90/chapter_searching.webp" style="height: 15.149%; left: 18.185%; top: 16.404%;" width="216"/>
|
||||
</noscript>
|
||||
<span style="left: 14.556%; top: 20.876%;">
|
||||
搜尋
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_sorting/">
|
||||
<img alt="" data-hero-asset="chapter_sorting" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/9d4be68b2680967c/chapter_sorting.webp" data-source-height="137" data-source-width="138" height="137" style="height: 9.574%; left: 25.409%; top: 40.747%;; aspect-ratio: 138 / 137" width="138"/>
|
||||
<img alt="" data-hero-asset="chapter_sorting" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/9d4be68b2680967c/chapter_sorting.webp" data-source-height="137" data-source-width="138" height="137" style="height: 9.574%; left: 25.409%; top: 40.747%;; aspect-ratio: 138 / 137" width="138"/>
|
||||
<noscript>
|
||||
<img alt="" height="137" src="../assets/home/50aa7b2c8191c024/../shared/images/9d4be68b2680967c/chapter_sorting.webp" style="height: 9.574%; left: 25.409%; top: 40.747%;" width="138"/>
|
||||
<img alt="" height="137" src="../assets/home/087f217bf2136799/../shared/images/9d4be68b2680967c/chapter_sorting.webp" style="height: 9.574%; left: 25.409%; top: 40.747%;" width="138"/>
|
||||
</noscript>
|
||||
<span style="left: 28.805%; top: 53.808%;">
|
||||
排序
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_divide_and_conquer/">
|
||||
<img alt="" data-hero-asset="chapter_divide_and_conquer" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/6f5766ca9385cd2e/chapter_divide_and_conquer.webp" data-source-height="269" data-source-width="407" height="269" style="height: 18.681%; left: 32.721%; top: 4.816%;; aspect-ratio: 407 / 269" width="407"/>
|
||||
<img alt="" data-hero-asset="chapter_divide_and_conquer" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/6f5766ca9385cd2e/chapter_divide_and_conquer.webp" data-source-height="269" data-source-width="407" height="269" style="height: 18.681%; left: 32.721%; top: 4.816%;; aspect-ratio: 407 / 269" width="407"/>
|
||||
<noscript>
|
||||
<img alt="" height="269" src="../assets/home/50aa7b2c8191c024/../shared/images/6f5766ca9385cd2e/chapter_divide_and_conquer.webp" style="height: 18.681%; left: 32.721%; top: 4.816%;" width="407"/>
|
||||
<img alt="" height="269" src="../assets/home/087f217bf2136799/../shared/images/6f5766ca9385cd2e/chapter_divide_and_conquer.webp" style="height: 18.681%; left: 32.721%; top: 4.816%;" width="407"/>
|
||||
</noscript>
|
||||
<span style="left: 31.42%; top: 8.679%;">
|
||||
分治
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_backtracking/">
|
||||
<img alt="" data-hero-asset="chapter_backtracking" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/176675e685febf11/chapter_backtracking.webp" data-source-height="249" data-source-width="345" height="249" style="height: 17.338%; left: 4.875%; top: 32.925%;; aspect-ratio: 345 / 249" width="345"/>
|
||||
<img alt="" data-hero-asset="chapter_backtracking" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/176675e685febf11/chapter_backtracking.webp" data-source-height="249" data-source-width="345" height="249" style="height: 17.338%; left: 4.875%; top: 32.925%;; aspect-ratio: 345 / 249" width="345"/>
|
||||
<noscript>
|
||||
<img alt="" height="249" src="../assets/home/50aa7b2c8191c024/../shared/images/176675e685febf11/chapter_backtracking.webp" style="height: 17.338%; left: 4.875%; top: 32.925%;" width="345"/>
|
||||
<img alt="" height="249" src="../assets/home/087f217bf2136799/../shared/images/176675e685febf11/chapter_backtracking.webp" style="height: 17.338%; left: 4.875%; top: 32.925%;" width="345"/>
|
||||
</noscript>
|
||||
<span style="left: 4.742%; top: 50.113%;">
|
||||
回溯
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_dynamic_programming/">
|
||||
<img alt="" data-hero-asset="chapter_dynamic_programming" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/06264b1ffd05b08e/chapter_dynamic_programming.webp" data-source-height="268" data-source-width="267" height="268" style="height: 15.47%; left: 9.406%; top: 57.472%;; aspect-ratio: 267 / 268" width="267"/>
|
||||
<img alt="" data-hero-asset="chapter_dynamic_programming" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/06264b1ffd05b08e/chapter_dynamic_programming.webp" data-source-height="268" data-source-width="267" height="268" style="height: 15.47%; left: 9.406%; top: 57.472%;; aspect-ratio: 267 / 268" width="267"/>
|
||||
<noscript>
|
||||
<img alt="" height="268" src="../assets/home/50aa7b2c8191c024/../shared/images/06264b1ffd05b08e/chapter_dynamic_programming.webp" style="height: 15.47%; left: 9.406%; top: 57.472%;" width="267"/>
|
||||
<img alt="" height="268" src="../assets/home/087f217bf2136799/../shared/images/06264b1ffd05b08e/chapter_dynamic_programming.webp" style="height: 15.47%; left: 9.406%; top: 57.472%;" width="267"/>
|
||||
</noscript>
|
||||
<span style="left: 8.561%; top: 75.351%;">
|
||||
動態規劃
|
||||
</span>
|
||||
</a>
|
||||
<a href="chapter_greedy/">
|
||||
<img alt="" data-hero-asset="chapter_greedy" data-hero-fallback="../assets/home/50aa7b2c8191c024/../shared/images/2ce6caaac951c40b/chapter_greedy.webp" data-source-height="202" data-source-width="265" height="202" style="height: 14.127%; left: 23.132%; top: 75.803%;; aspect-ratio: 265 / 202" width="265"/>
|
||||
<img alt="" data-hero-asset="chapter_greedy" data-hero-fallback="../assets/home/087f217bf2136799/../shared/images/2ce6caaac951c40b/chapter_greedy.webp" data-source-height="202" data-source-width="265" height="202" style="height: 14.127%; left: 23.132%; top: 75.803%;; aspect-ratio: 265 / 202" width="265"/>
|
||||
<noscript>
|
||||
<img alt="" height="202" src="../assets/home/50aa7b2c8191c024/../shared/images/2ce6caaac951c40b/chapter_greedy.webp" style="height: 14.127%; left: 23.132%; top: 75.803%;" width="265"/>
|
||||
<img alt="" height="202" src="../assets/home/087f217bf2136799/../shared/images/2ce6caaac951c40b/chapter_greedy.webp" style="height: 14.127%; left: 23.132%; top: 75.803%;" width="265"/>
|
||||
</noscript>
|
||||
<span style="left: 21.619%; top: 86.85%;">
|
||||
貪婪
|
||||
@@ -330,9 +329,9 @@
|
||||
<a href="/chapter_paperbook/">
|
||||
<div style="height: 8.17%;">
|
||||
</div>
|
||||
<img alt="Cover" class="device-on-hover" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/dc5be783cea3a262/cover_render.webp" decoding="async" height="720" style="height: 66.83%;" width="535"/>
|
||||
<img alt="Cover" class="device-on-hover" data-home-src="../assets/home/087f217bf2136799/../shared/images/dc5be783cea3a262/cover_render.webp" decoding="async" height="720" style="height: 66.83%;" width="535"/>
|
||||
<noscript>
|
||||
<img alt="Cover" class="device-on-hover" height="720" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/dc5be783cea3a262/cover_render.webp" style="height: 66.83%;" width="535"/>
|
||||
<img alt="Cover" class="device-on-hover" height="720" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/dc5be783cea3a262/cover_render.webp" style="height: 66.83%;" width="535"/>
|
||||
</noscript>
|
||||
<div class="text-button">
|
||||
<span>
|
||||
@@ -349,9 +348,9 @@
|
||||
<a href="chapter_hello_algo/">
|
||||
<div style="height: 4.34%;">
|
||||
</div>
|
||||
<img alt="" class="device-on-hover" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/5b64cf7672ec5ec6/web_mac_iphone.webp" decoding="async" height="965" style="height: 66.31%;" width="1598"/>
|
||||
<img alt="" class="device-on-hover" data-home-src="../assets/home/087f217bf2136799/../shared/images/5b64cf7672ec5ec6/web_mac_iphone.webp" decoding="async" height="965" style="height: 66.31%;" width="1598"/>
|
||||
<noscript>
|
||||
<img alt="" class="device-on-hover" height="965" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/5b64cf7672ec5ec6/web_mac_iphone.webp" style="height: 66.31%;" width="1598"/>
|
||||
<img alt="" class="device-on-hover" height="965" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/5b64cf7672ec5ec6/web_mac_iphone.webp" style="height: 66.31%;" width="1598"/>
|
||||
</noscript>
|
||||
<div style="height: 4.34%;">
|
||||
</div>
|
||||
@@ -368,9 +367,9 @@
|
||||
</div>
|
||||
<div class="media-block">
|
||||
<a href="https://github.com/krahets/hello-algo/releases">
|
||||
<img alt="" class="device-on-hover" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/66baa2f9bf3abec7/pdf_ipad.webp" decoding="async" height="960" style="height: 75%;" width="812"/>
|
||||
<img alt="" class="device-on-hover" data-home-src="../assets/home/087f217bf2136799/../shared/images/66baa2f9bf3abec7/pdf_ipad.webp" decoding="async" height="960" style="height: 75%;" width="812"/>
|
||||
<noscript>
|
||||
<img alt="" class="device-on-hover" height="960" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/66baa2f9bf3abec7/pdf_ipad.webp" style="height: 75%;" width="812"/>
|
||||
<img alt="" class="device-on-hover" height="960" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/66baa2f9bf3abec7/pdf_ipad.webp" style="height: 75%;" width="812"/>
|
||||
</noscript>
|
||||
<div class="text-button">
|
||||
<span>
|
||||
@@ -438,21 +437,21 @@
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<video aria-label="Animation example" class="intro-image" data-home-poster="../assets/home/50aa7b2c8191c024/../shared/images/9e5f39bf33afc70f/animation-poster.webp" data-home-video="../assets/home/50aa7b2c8191c024/../shared/media/6c70de2b2bf4eef7/animation.mp4" height="1080" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1600 / 1080" width="1600">
|
||||
<video aria-label="Animation example" class="intro-image" data-home-poster="../assets/home/087f217bf2136799/../shared/images/9e5f39bf33afc70f/animation-poster.webp" data-home-video="../assets/home/087f217bf2136799/../shared/media/6c70de2b2bf4eef7/animation.mp4" height="1080" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1600 / 1080" width="1600">
|
||||
</video>
|
||||
<noscript>
|
||||
<a href="../assets/home/50aa7b2c8191c024/../shared/media/6c70de2b2bf4eef7/animation.mp4">
|
||||
<img alt="Animation example" class="intro-image" height="1080" src="../assets/home/50aa7b2c8191c024/../shared/images/9e5f39bf33afc70f/animation-poster.webp" width="1600"/>
|
||||
<a href="../assets/home/087f217bf2136799/../shared/media/6c70de2b2bf4eef7/animation.mp4">
|
||||
<img alt="Animation example" class="intro-image" height="1080" src="../assets/home/087f217bf2136799/../shared/images/9e5f39bf33afc70f/animation-poster.webp" width="1600"/>
|
||||
動畫圖解
|
||||
</a>
|
||||
</noscript>
|
||||
</div>
|
||||
<div class="intro-container">
|
||||
<video aria-label="Running code example" class="intro-image" data-home-poster="../assets/home/50aa7b2c8191c024/../shared/images/f33a13e8331245ae/running_code-poster.webp" data-home-video="../assets/home/50aa7b2c8191c024/../shared/media/bb169a96ca8316da/running_code.mp4" height="1082" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1600 / 1082" width="1600">
|
||||
<video aria-label="Running code example" class="intro-image" data-home-poster="../assets/home/087f217bf2136799/../shared/images/f33a13e8331245ae/running_code-poster.webp" data-home-video="../assets/home/087f217bf2136799/../shared/media/bb169a96ca8316da/running_code.mp4" height="1082" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1600 / 1082" width="1600">
|
||||
</video>
|
||||
<noscript>
|
||||
<a href="../assets/home/50aa7b2c8191c024/../shared/media/bb169a96ca8316da/running_code.mp4">
|
||||
<img alt="Running code example" class="intro-image" height="1082" src="../assets/home/50aa7b2c8191c024/../shared/images/f33a13e8331245ae/running_code-poster.webp" width="1600"/>
|
||||
<a href="../assets/home/087f217bf2136799/../shared/media/bb169a96ca8316da/running_code.mp4">
|
||||
<img alt="Running code example" class="intro-image" height="1082" src="../assets/home/087f217bf2136799/../shared/images/f33a13e8331245ae/running_code-poster.webp" width="1600"/>
|
||||
一鍵執行
|
||||
</a>
|
||||
</noscript>
|
||||
@@ -500,11 +499,11 @@
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<video aria-label="Comments example" class="intro-image" data-home-poster="../assets/home/50aa7b2c8191c024/../shared/images/f9ac69536a7582f5/comment-poster.webp" data-home-video="../assets/home/50aa7b2c8191c024/../shared/media/62aa0b8d351c63a7/comment.mp4" height="1080" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1600 / 1080" width="1600">
|
||||
<video aria-label="Comments example" class="intro-image" data-home-poster="../assets/home/087f217bf2136799/../shared/images/f9ac69536a7582f5/comment-poster.webp" data-home-video="../assets/home/087f217bf2136799/../shared/media/62aa0b8d351c63a7/comment.mp4" height="1080" loop="" muted="" playsinline="" preload="none" style="aspect-ratio: 1600 / 1080" width="1600">
|
||||
</video>
|
||||
<noscript>
|
||||
<a href="../assets/home/50aa7b2c8191c024/../shared/media/62aa0b8d351c63a7/comment.mp4">
|
||||
<img alt="Comments example" class="intro-image" height="1080" src="../assets/home/50aa7b2c8191c024/../shared/images/f9ac69536a7582f5/comment-poster.webp" width="1600"/>
|
||||
<a href="../assets/home/087f217bf2136799/../shared/media/62aa0b8d351c63a7/comment.mp4">
|
||||
<img alt="Comments example" class="intro-image" height="1080" src="../assets/home/087f217bf2136799/../shared/images/f9ac69536a7582f5/comment-poster.webp" width="1600"/>
|
||||
互助學習
|
||||
</a>
|
||||
</noscript>
|
||||
@@ -520,9 +519,9 @@
|
||||
<div class="profile-div">
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/krahets">
|
||||
<img alt="Author: yudongjin" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/02348410d40f7665/avatar_yudongjin.webp" decoding="async" height="512" width="512"/>
|
||||
<img alt="Author: yudongjin" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/02348410d40f7665/avatar_yudongjin.webp" decoding="async" height="512" width="512"/>
|
||||
<noscript>
|
||||
<img alt="Author: yudongjin" class="profile-img" height="512" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/02348410d40f7665/avatar_yudongjin.webp" width="512"/>
|
||||
<img alt="Author: yudongjin" class="profile-img" height="512" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/02348410d40f7665/avatar_yudongjin.webp" width="512"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -542,9 +541,9 @@
|
||||
<div class="profile-div">
|
||||
<div class="profile-cell translator-profile-cell">
|
||||
<a href="https://github.com/Shyam-Chen">
|
||||
<img alt="Reviewer: Shyam-Chen" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/a635319ad4eaf2e9/avatar_Shyam-Chen.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: Shyam-Chen" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/a635319ad4eaf2e9/avatar_Shyam-Chen.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: Shyam-Chen" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/a635319ad4eaf2e9/avatar_Shyam-Chen.webp" width="384"/>
|
||||
<img alt="Reviewer: Shyam-Chen" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/a635319ad4eaf2e9/avatar_Shyam-Chen.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -554,9 +553,9 @@
|
||||
</div>
|
||||
<div class="profile-cell translator-profile-cell">
|
||||
<a href="https://github.com/Dr-XYZ">
|
||||
<img alt="Reviewer: Dr-XYZ" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/b5b4c188d159778c/avatar_Dr-XYZ.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: Dr-XYZ" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/b5b4c188d159778c/avatar_Dr-XYZ.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: Dr-XYZ" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/b5b4c188d159778c/avatar_Dr-XYZ.webp" width="384"/>
|
||||
<img alt="Reviewer: Dr-XYZ" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/b5b4c188d159778c/avatar_Dr-XYZ.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -576,9 +575,9 @@
|
||||
<div class="profile-div">
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/coderonion">
|
||||
<img alt="Reviewer: coderonion" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/db606f27971eae34/avatar_coderonion.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: coderonion" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/db606f27971eae34/avatar_coderonion.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: coderonion" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/db606f27971eae34/avatar_coderonion.webp" width="384"/>
|
||||
<img alt="Reviewer: coderonion" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/db606f27971eae34/avatar_coderonion.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -592,9 +591,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/curtishd">
|
||||
<img alt="Reviewer: curtishd" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/feedb0e547ea31fc/avatar_curtishd.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: curtishd" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/feedb0e547ea31fc/avatar_curtishd.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: curtishd" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/feedb0e547ea31fc/avatar_curtishd.webp" width="384"/>
|
||||
<img alt="Reviewer: curtishd" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/feedb0e547ea31fc/avatar_curtishd.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -608,9 +607,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/Gonglja">
|
||||
<img alt="Reviewer: Gonglja" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/cdcf023b032b8d30/avatar_Gonglja.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: Gonglja" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/cdcf023b032b8d30/avatar_Gonglja.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: Gonglja" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/cdcf023b032b8d30/avatar_Gonglja.webp" width="384"/>
|
||||
<img alt="Reviewer: Gonglja" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/cdcf023b032b8d30/avatar_Gonglja.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -624,9 +623,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/gvenusleo">
|
||||
<img alt="Reviewer: gvenusleo" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/464e2d351b9263ec/avatar_gvenusleo.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: gvenusleo" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/464e2d351b9263ec/avatar_gvenusleo.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: gvenusleo" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/464e2d351b9263ec/avatar_gvenusleo.webp" width="384"/>
|
||||
<img alt="Reviewer: gvenusleo" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/464e2d351b9263ec/avatar_gvenusleo.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -640,9 +639,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/hpstory">
|
||||
<img alt="Reviewer: hpstory" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/7b6478acdab6b845/avatar_hpstory.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: hpstory" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/7b6478acdab6b845/avatar_hpstory.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: hpstory" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/7b6478acdab6b845/avatar_hpstory.webp" width="384"/>
|
||||
<img alt="Reviewer: hpstory" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/7b6478acdab6b845/avatar_hpstory.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -656,9 +655,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/justin-tse">
|
||||
<img alt="Reviewer: justin-tse" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/208ee5aae490eefa/avatar_justin-tse.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: justin-tse" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/208ee5aae490eefa/avatar_justin-tse.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: justin-tse" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/208ee5aae490eefa/avatar_justin-tse.webp" width="384"/>
|
||||
<img alt="Reviewer: justin-tse" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/208ee5aae490eefa/avatar_justin-tse.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -672,9 +671,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/khoaxuantu">
|
||||
<img alt="Reviewer: khoaxuantu" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/9d3f1a21ff51de78/avatar_khoaxuantu.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: khoaxuantu" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/9d3f1a21ff51de78/avatar_khoaxuantu.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: khoaxuantu" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/9d3f1a21ff51de78/avatar_khoaxuantu.webp" width="384"/>
|
||||
<img alt="Reviewer: khoaxuantu" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/9d3f1a21ff51de78/avatar_khoaxuantu.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -688,9 +687,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/krahets">
|
||||
<img alt="Reviewer: krahets" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/e321f9a3ac2739e0/avatar_krahets.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: krahets" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/e321f9a3ac2739e0/avatar_krahets.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: krahets" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/e321f9a3ac2739e0/avatar_krahets.webp" width="384"/>
|
||||
<img alt="Reviewer: krahets" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/e321f9a3ac2739e0/avatar_krahets.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -704,9 +703,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/night-cruise">
|
||||
<img alt="Reviewer: night-cruise" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/960b489efa22abd4/avatar_night-cruise.jpg" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: night-cruise" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/960b489efa22abd4/avatar_night-cruise.jpg" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: night-cruise" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/960b489efa22abd4/avatar_night-cruise.jpg" width="384"/>
|
||||
<img alt="Reviewer: night-cruise" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/960b489efa22abd4/avatar_night-cruise.jpg" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -720,9 +719,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/nuomi1">
|
||||
<img alt="Reviewer: nuomi1" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/7316a9eb4429b259/avatar_nuomi1.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: nuomi1" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/7316a9eb4429b259/avatar_nuomi1.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: nuomi1" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/7316a9eb4429b259/avatar_nuomi1.webp" width="384"/>
|
||||
<img alt="Reviewer: nuomi1" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/7316a9eb4429b259/avatar_nuomi1.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -736,9 +735,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/Reanon">
|
||||
<img alt="Reviewer: Reanon" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/dcc15aa68cc793c7/avatar_Reanon.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: Reanon" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/dcc15aa68cc793c7/avatar_Reanon.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: Reanon" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/dcc15aa68cc793c7/avatar_Reanon.webp" width="384"/>
|
||||
<img alt="Reviewer: Reanon" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/dcc15aa68cc793c7/avatar_Reanon.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -752,9 +751,9 @@
|
||||
</div>
|
||||
<div class="profile-cell">
|
||||
<a href="https://github.com/rongyi">
|
||||
<img alt="Reviewer: rongyi" class="profile-img" data-home-src="../assets/home/50aa7b2c8191c024/../shared/images/5dc6c4b1d8bfe0ac/avatar_rongyi.webp" decoding="async" height="384" width="384"/>
|
||||
<img alt="Reviewer: rongyi" class="profile-img" data-home-src="../assets/home/087f217bf2136799/../shared/images/5dc6c4b1d8bfe0ac/avatar_rongyi.webp" decoding="async" height="384" width="384"/>
|
||||
<noscript>
|
||||
<img alt="Reviewer: rongyi" class="profile-img" height="384" loading="lazy" src="../assets/home/50aa7b2c8191c024/../shared/images/5dc6c4b1d8bfe0ac/avatar_rongyi.webp" width="384"/>
|
||||
<img alt="Reviewer: rongyi" class="profile-img" height="384" loading="lazy" src="../assets/home/087f217bf2136799/../shared/images/5dc6c4b1d8bfe0ac/avatar_rongyi.webp" width="384"/>
|
||||
</noscript>
|
||||
<br/>
|
||||
<b>
|
||||
@@ -784,7 +783,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<script defer="" onerror="document.querySelectorAll('[data-home-src], [data-home-poster]').forEach(function(el) { if (el.dataset.homeSrc) el.src = el.dataset.homeSrc; if (el.dataset.homePoster) el.poster = el.dataset.homePoster; });" src="../assets/home/50aa7b2c8191c024/javascripts/homepage-media.js">
|
||||
<script defer="" onerror="document.querySelectorAll('[data-home-src], [data-home-poster]').forEach(function(el) { if (el.dataset.homeSrc) el.src = el.dataset.homeSrc; if (el.dataset.homePoster) el.poster = el.dataset.homePoster; });" src="../assets/home/087f217bf2136799/javascripts/homepage-media.js">
|
||||
</script>
|
||||
<script>
|
||||
// If the scene entry point itself fails, still provide chapter illustrations.
|
||||
@@ -2113,7 +2112,7 @@
|
||||
document.addEventListener('DOMContentLoaded', applyLandingPalette, { once: true });
|
||||
})();
|
||||
</script>
|
||||
<script data-home-scene="" src="../assets/home/50aa7b2c8191c024/javascripts/starfield.js">
|
||||
<script data-home-scene="" src="../assets/home/087f217bf2136799/javascripts/starfield.js">
|
||||
</script>
|
||||
<script>
|
||||
Starfield.setup({
|
||||
|
||||
@@ -301,4 +301,4 @@
|
||||
initAutoSlide();
|
||||
}
|
||||
})();
|
||||
/*! update cache: 20261105081620 */
|
||||
/*! update cache: 20261106114435 */
|
||||
|
||||
234
zh-hant/javascripts/hero-flow-links.js
Normal file
@@ -0,0 +1,234 @@
|
||||
import * as THREE from './vendor/three/three.module.min.js';
|
||||
|
||||
// Art-directed spines in the original 1562 x 1134 composition. The open oval,
|
||||
// two inward sweeps and bottom title gap are retained; these are 3D curves,
|
||||
// not a sampled image and not a graph of straight planet-to-planet chords.
|
||||
const spines = [
|
||||
{from:'backtracking', to:'divide_and_conquer', via:['searching'], points:[[59,484,-26],[150,245,-8],[440,92,-42],[581,92,-18]], spread:44},
|
||||
{from:'backtracking', to:'greedy', via:['dynamic_programming'], points:[[59,484,-20],[-37,736,-28],[97,946,-28],[378,1072,-24]], spread:46},
|
||||
{from:'heap', to:'stack_and_queue', via:['tree','array_and_linkedlist'], points:[[1357,136,-22],[1630,515,14],[1550,965,-40],[1104,1118,-24]], spread:44},
|
||||
{from:'graph', to:'tree', points:[[1024,90,-30],[1210,165,-10],[1370,245,-36],[1478,419,-20]], spread:40},
|
||||
{from:'sorting', to:'divide_and_conquer', points:[[355,549,-24],[390,370,4],[525,175,-36],[581,92,-18]], spread:44},
|
||||
{from:'hashing', to:'tree', points:[[1123,406,-20],[1260,405,-32],[1320,415,6],[1478,419,-22]], spread:34},
|
||||
{from:'hashing', to:'array_and_linkedlist', points:[[1123,406,-24],[1280,545,4],[1390,665,-38],[1442,817,-20]], spread:42},
|
||||
];
|
||||
|
||||
export function createFlowLinks(targets) {
|
||||
if (!targets.length) return null;
|
||||
const positions=[],tangents=[],styles=[],paths=[],fractions=[],bindings=[],motions=[],indices=[];
|
||||
const strands=17,segments=72;
|
||||
const random = n => {const x=Math.sin(n*127.1+311.7)*43758.5453;return x-Math.floor(x);};
|
||||
|
||||
spines.forEach((definition, route) => {
|
||||
const {points:[a,b,c,d]}=definition;
|
||||
const routeSeed=701+route*43;
|
||||
const spread=definition.spread*(.92+.16*random(routeSeed));
|
||||
const mirrored=random(routeSeed+1)>.5;
|
||||
const primary=mirrored?2:14,echo=16-primary;
|
||||
const brushLanes=[4+Math.floor(random(routeSeed+2)*2),7+Math.floor(random(routeSeed+3)*2),10];
|
||||
const dominant=brushLanes[Math.floor(random(routeSeed+4)*brushLanes.length)];
|
||||
const fanPhase=random(routeSeed+5)*Math.PI*2;
|
||||
const curve=new THREE.CubicBezierCurve3(...[a,b,c,d].map(([x,y,z])=>new THREE.Vector3(x-781,567-y,z)));
|
||||
curve.arcLengthDivisions=256;
|
||||
const length=curve.getLength();
|
||||
// Seed once per route: geometry and timing stay stable on pause / resize.
|
||||
const phase=random(routeSeed+6);
|
||||
const speed=66+random(routeSeed+7)*38;
|
||||
const gap=500+random(routeSeed+8)*300;
|
||||
const tailLength=Math.min(42+random(routeSeed+9)*42,length*(.065+.04*random(routeSeed+10)));
|
||||
const headLength=3.2+random(routeSeed+11)*2.5;
|
||||
for(let lane=0;lane<strands;lane++) {
|
||||
const seed=route*strands+lane+1;
|
||||
const logicalLane=mirrored?16-lane:lane;
|
||||
const brush=brushLanes.includes(logicalLane);
|
||||
const rank=(lane-8+(random(seed+31)-.5)*.3)/8;
|
||||
const vertices=[];
|
||||
for(let j=0;j<=segments;j++) {
|
||||
const u=j/segments;
|
||||
const point=curve.getPointAt(u),tangent=curve.getTangentAt(u);
|
||||
const normal=new THREE.Vector3(-tangent.y,tangent.x,0).normalize();
|
||||
// Unequal strand spacing, subtle crossings and tapered bundles give the
|
||||
// original brushwork's character without moving an entire bright band.
|
||||
const fan=route===5 ? 1 : .88+.10*Math.sin(Math.PI*u+fanPhase);
|
||||
const offset=rank*spread*.5*fan + Math.sin((route===5?0:u*Math.PI*2)+seed)*.7;
|
||||
point.addScaledVector(normal,offset);
|
||||
point.z+=Math.sin(seed*2.4+u*Math.PI)*spread*.2;
|
||||
vertices.push(point);
|
||||
}
|
||||
const distances=[0];
|
||||
for(let j=1;j<=segments;j++)distances.push(distances[j-1]+vertices[j].distanceTo(vertices[j-1]));
|
||||
const strandLength=distances[segments];
|
||||
const offset=positions.length/3;
|
||||
for(let j=0;j<=segments;j++) {
|
||||
const u=j/segments;
|
||||
const direction=vertices[Math.min(segments,j+1)].clone().sub(vertices[Math.max(0,j-1)]).normalize();
|
||||
// Broad painted strokes live among hairline bristles, as in the art.
|
||||
// Keep the travelling filament narrow even where the painted body widens.
|
||||
const baseWidth=lane===primary?1.2+.5*random(routeSeed+12)
|
||||
:brush?(logicalLane===dominant?4.1+random(seed+4)*1.0:2.7+random(seed+4)*1.5)
|
||||
:.65+random(seed+4)*.7;
|
||||
const width=baseWidth*((lane===primary?.92:.78)
|
||||
+(lane===primary?.08:.22)*Math.sin(u*(5.+random(seed+6)*4.)+random(seed+7)*Math.PI*2));
|
||||
const intensity=lane===primary?.15:brush?.62+random(seed+23)*.12:.40+random(seed+23)*.18;
|
||||
// Broad strokes and moving light keep separate tracks even when mirrored.
|
||||
const emissive=lane===primary?1.5+.35*random(routeSeed+13):(lane===echo?.18+.08*random(routeSeed+14):0.);
|
||||
for(const side of [-1,1]) {
|
||||
positions.push(...vertices[j].toArray());tangents.push(...direction.toArray());
|
||||
// One shared progress per bundle, measured on each strand's own arc.
|
||||
// A rank-dependent head offset made short links look like sideways sweeps.
|
||||
paths.push(distances[j],side,strandLength,phase);
|
||||
styles.push(width,intensity,length,emissive);
|
||||
fractions.push(j/segments,random(seed+54),spread/(strands-1));
|
||||
bindings.push(route,u,lane,brush?1:0);
|
||||
motions.push(speed,gap,tailLength,headLength);
|
||||
}
|
||||
if(j<segments){const v=offset+j*2;indices.push(v,v+1,v+2,v+1,v+3,v+2);}
|
||||
}
|
||||
}
|
||||
});
|
||||
const geometry=new THREE.BufferGeometry();
|
||||
geometry.setAttribute('position',new THREE.Float32BufferAttribute(positions,3));
|
||||
geometry.setAttribute('curveTangent',new THREE.Float32BufferAttribute(tangents,3));
|
||||
geometry.setAttribute('pathStyle',new THREE.Float32BufferAttribute(paths,4));
|
||||
geometry.setAttribute('strandStyle',new THREE.Float32BufferAttribute(styles,4));
|
||||
geometry.setAttribute('fraction',new THREE.Float32BufferAttribute(fractions,3));
|
||||
geometry.setAttribute('binding',new THREE.Float32BufferAttribute(bindings,4));
|
||||
geometry.setAttribute('flowStyle',new THREE.Float32BufferAttribute(motions,4));
|
||||
geometry.setIndex(indices);
|
||||
const uniforms={
|
||||
time:{value:0},unit:{value:1},pixelRatio:{value:1},viewShift:{value:new THREE.Vector2()},
|
||||
routeEmphasis:{value:spines.map(()=>0)},selectionActive:{value:0},
|
||||
startShift:{value:spines.map(()=>new THREE.Vector3())},
|
||||
endShift:{value:spines.map(()=>new THREE.Vector3())},
|
||||
teal:{value:new THREE.Color('#479d9d')},
|
||||
pearl:{value:new THREE.Color('#def9ef')},
|
||||
glow:{value:new THREE.Color('#effffb')},
|
||||
blush:{value:new THREE.Color('#d7bab1')},
|
||||
};
|
||||
const material=new THREE.ShaderMaterial({
|
||||
uniforms,transparent:true,depthTest:true,depthWrite:false,side:THREE.DoubleSide,
|
||||
vertexShader:`
|
||||
attribute vec3 curveTangent;
|
||||
attribute vec4 pathStyle, strandStyle;
|
||||
attribute vec3 fraction;
|
||||
attribute vec4 binding,flowStyle;
|
||||
uniform float routeEmphasis[${spines.length}];
|
||||
uniform vec3 startShift[${spines.length}],endShift[${spines.length}];
|
||||
uniform vec2 viewShift;
|
||||
uniform float unit,pixelRatio;
|
||||
varying vec4 travel, strand, motion;
|
||||
varying vec2 shape, along;
|
||||
varying float highlight,filamentOpacity,painted;
|
||||
void main(){
|
||||
vec3 point=(modelMatrix*vec4(position,1.)).xyz;
|
||||
vec3 tangent=(modelMatrix*vec4(curveTangent,0.)).xyz;
|
||||
int route=int(binding.x);
|
||||
// Emphasize the complete connected bundle, not just pixels near a globe.
|
||||
highlight=routeEmphasis[route];
|
||||
float u=binding.y;
|
||||
float blend=u*u*(3.-2.*u);
|
||||
vec3 anchored=mix(startShift[route],endShift[route],blend);
|
||||
vec3 anchorSlope=(endShift[route]-startShift[route])*6.*u*(1.-u)/strandStyle.z;
|
||||
// Endpoint-only deformation preserves the oval's curvature; local
|
||||
// Gaussian attraction to passing planets introduced bends in the spine.
|
||||
point+=anchored;
|
||||
tangent+=anchorSlope;
|
||||
point.xy+=viewShift*point.z*.035;
|
||||
tangent.xy+=viewShift*tangent.z*.035;
|
||||
vec2 normal=normalize(vec2(-tangent.y,tangent.x));
|
||||
float core=max(.28,strandStyle.x*unit*.65)*(1.+.18*highlight);
|
||||
float halfWidth=core+max(.9,2.5*unit);
|
||||
point.xy+=normal*pathStyle.y*halfWidth;
|
||||
travel=pathStyle;strand=strandStyle;motion=flowStyle;painted=binding.w;shape=vec2(core,halfWidth);along=fraction.xy;
|
||||
// Fade interleaved strands before their spacing falls below a pixel.
|
||||
// Keeping all 17 at low DPR produced diagonal moire between filaments.
|
||||
float gap=fraction.z*unit*pixelRatio;
|
||||
filamentOpacity=1.;
|
||||
if(mod(binding.z,2.)>.5)filamentOpacity*=smoothstep(1.,1.6,gap);
|
||||
if(mod(binding.z,4.)>1.5)filamentOpacity*=smoothstep(1.,1.6,gap*2.);
|
||||
if(mod(binding.z,8.)>3.5)filamentOpacity*=smoothstep(1.,1.6,gap*4.);
|
||||
if(binding.w>.5||strandStyle.w>1.)filamentOpacity=1.;
|
||||
gl_Position=projectionMatrix*viewMatrix*vec4(point,1.);
|
||||
}`,
|
||||
fragmentShader:`
|
||||
uniform float time,unit,selectionActive;
|
||||
uniform vec3 teal,pearl,glow,blush;
|
||||
varying vec4 travel,strand,motion;
|
||||
varying vec2 shape,along;
|
||||
varying float highlight,filamentOpacity,painted;
|
||||
void main(){
|
||||
float across=abs(travel.y)*shape.y;
|
||||
// Differentiate the signed ribbon coordinate before taking abs. Across
|
||||
// the centreline, abs cancels neighbouring pixel derivatives and turns
|
||||
// thin filaments into diagonal, braided-looking antialiasing bands.
|
||||
float aa=max(fwidth(travel.y)*shape.y,.35);
|
||||
float signedAcross=travel.y*shape.y;
|
||||
float core=clamp((signedAcross+shape.x)/aa+.5,0.,1.)
|
||||
-clamp((signedAcross-shape.x)/aa+.5,0.,1.);
|
||||
float halo=exp(-across*across/max(shape.y*shape.y*.32,.01));
|
||||
halo*=1.-smoothstep(.75,1.,abs(travel.y));
|
||||
// A compact leading glint with a length-scaled filament tail. Speed is
|
||||
// in art-space distance, with a seeded cadence for each bundle.
|
||||
float cycle=strand.z+motion.y;
|
||||
float progress=(mod(time*motion.x+travel.w*cycle,cycle)-150.)/strand.z;
|
||||
float behind=progress*travel.z-travel.x;
|
||||
float tailLength=motion.z;
|
||||
float tail=smoothstep(-3.,2.,behind)*exp(-max(behind,0.)/tailLength)
|
||||
*(1.-smoothstep(tailLength*2.,tailLength*3.2,behind));
|
||||
float glint=exp(-pow(behind/motion.w,2.));
|
||||
float pulse=strand.w*(tail+.65*glint);
|
||||
float density=min(1.,unit/.55);
|
||||
float brush=painted;
|
||||
float notch=abs(along.x-(.18+.64*along.y));
|
||||
float dry=smoothstep(.004,.014,notch);
|
||||
float quiet=core*strand.y*(.95+.85*highlight)*mix(1.,.12+.88*dry,brush);
|
||||
float light=pulse*(core*.90+halo*.38)*(1.+.25*highlight);
|
||||
float ends=smoothstep(0.,.035,along.x)*smoothstep(0.,.035,1.-along.x);
|
||||
float hoverHalo=halo*.09*highlight*brush;
|
||||
float context=1.-.22*selectionActive*(1.-highlight);
|
||||
float alpha=(quiet+light+hoverHalo)*density*ends*filamentOpacity*context;
|
||||
// A continuous blue-green / pearl ground leaves the brightest white
|
||||
// for the travelling edge filament, with no isolated pigment blocks.
|
||||
vec3 ink=mix(teal,pearl,.18+.36*along.y);
|
||||
ink=mix(ink,blush,smoothstep(.84,.97,along.y)*.55);
|
||||
vec3 paint=mix(teal,pearl,.68+.06*sin(along.x*5.+along.y));
|
||||
vec3 color=mix(ink,paint,brush);
|
||||
color=mix(color,glow,min(.97,pulse*.72+.32*highlight));
|
||||
gl_FragColor=vec4(color,min(alpha,.98));
|
||||
#include <colorspace_fragment>
|
||||
}`,
|
||||
});
|
||||
const mesh=new THREE.Mesh(geometry,material);
|
||||
mesh.name='hero-flow-links';mesh.frustumCulled=false;mesh.renderOrder=-1;
|
||||
const byName=new Map(targets.map(target=>[target.name,target]));
|
||||
function attach(shift,target,point,scale){
|
||||
if(!target){shift.set(0,0,0);return;}
|
||||
target.sphere.getWorldPosition(shift);
|
||||
shift.z-=target.sphere.scale.x*target.root.scale.x*.15;
|
||||
shift.x-=(point[0]-781)*scale+mesh.position.x;
|
||||
shift.y-=(567-point[1])*scale+mesh.position.y;
|
||||
shift.z-=point[2]*scale;
|
||||
}
|
||||
return {
|
||||
mesh,
|
||||
update(time,width,height,pointer={x:0,y:0},pixelRatio=1){
|
||||
// Composition box is explicit: no hidden legacy image owns layout.
|
||||
const boxHeight=Math.round(height*.78751),boxWidth=Math.round(height*.78751*1562/1134);
|
||||
const scale=boxWidth/1562;
|
||||
uniforms.time.value=time;uniforms.unit.value=scale;uniforms.pixelRatio.value=pixelRatio;
|
||||
uniforms.viewShift.value.set(pointer.x,pointer.y);
|
||||
mesh.scale.setScalar(scale);
|
||||
mesh.position.set(Math.round(width*.10545)+boxWidth/2-width/2,
|
||||
height/2-Math.round(height*.07326)-boxHeight/2,0);
|
||||
spines.forEach(({from,to,via=[],points},i)=>{
|
||||
attach(uniforms.startShift.value[i],byName.get(from),points[0],scale);
|
||||
attach(uniforms.endShift.value[i],byName.get(to),points[3],scale);
|
||||
uniforms.routeEmphasis.value[i]=Math.max(...[from,...via,to].map(name=>
|
||||
byName.get(name)?.material.uniforms.emphasis.value||0));
|
||||
});
|
||||
uniforms.selectionActive.value=Math.max(...uniforms.routeEmphasis.value);
|
||||
},
|
||||
dispose(){mesh.removeFromParent();geometry.dispose();material.dispose();},
|
||||
};
|
||||
}
|
||||
/*! update cache: 20261106114435 */
|
||||
@@ -8,4 +8,4 @@ document$.subscribe(({ body }) => {
|
||||
],
|
||||
});
|
||||
});
|
||||
/*! update cache: 20261105081620 */
|
||||
/*! update cache: 20261106114435 */
|
||||
|
||||
@@ -15,4 +15,4 @@ window.MathJax = {
|
||||
document$.subscribe(() => {
|
||||
MathJax.typesetPromise();
|
||||
});
|
||||
/*! update cache: 20261105081620 */
|
||||
/*! update cache: 20261106114435 */
|
||||
|
||||
@@ -176,4 +176,4 @@
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
}
|
||||
/*! update cache: 20261105081620 */
|
||||
/*! update cache: 20261106114435 */
|
||||
|
||||
@@ -979,4 +979,4 @@ a:hover .device-on-hover {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
/*! update cache: 20261105081620 */
|
||||
/*! update cache: 20261106114435 */
|
||||
|
||||
@@ -122,4 +122,4 @@ main .gsc-loading-image {
|
||||
.gsc-reply-content::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
/*! update cache: 20261105081620 */
|
||||
/*! update cache: 20261106114435 */
|
||||
|
||||
@@ -153,4 +153,4 @@ main {
|
||||
.gsc-reply-content::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
/*! update cache: 20261105081620 */
|
||||
/*! update cache: 20261106114435 */
|
||||
|
||||