About
Browse background articles on the techniques and history behind PictorX effects, apps, and tools.
Art
What is Pop Art? How it turned advertising, comics and consumer goods into art: Warhol's soup cans, Lichtenstein's comic dots, silkscreen and its legacy.
Who was Andy Warhol? Pittsburgh, Carnegie Tech and New York, the soup cans and Marilyns, The Factory and Superstar films, the 1968 shooting and Interview.
Who was Roy Lichtenstein? The Pop artist's Look Mickey, Drowning Girl and Whaam!, Ben-Day dots, the row over his comic sources, the Brushstrokes and Mirrors.
What is Op Art? Art that makes flat patterns seem to move: Victor Vasarely, Bridget Riley, The Responsive Eye and why your eyes see motion that isn't there.
Who was Piet Mondrian? From Amersfoort to Paris, The Red Tree and abstraction, De Stijl and neoplasticism, the grid compositions and Victory Boogie Woogie.
What is a tessellation? How shapes tile the plane with no gaps or overlaps, the three regular tilings, all eight Archimedean tilings, and edge pairing.
How did M.C. Escher make his tessellations? Regular division of the plane, the Alhambra, translation, rotation and reflection, metamorphosis and infinity.
Who was Jackson Pollock? From Cody to the New York School, The She-Wolf of 1943, drip painting and action painting, the classic period, later years and legacy.
What is Minimalism in art? The 1960s reaction to Abstract Expressionism: geometry, industrial materials and serial form, Judd, Flavin, Stella and Mondrian.
Who was Vincent van Gogh? From The Potato Eaters to The Starry Night, Sunflowers and cypresses: his short life, swirling brushwork and most famous paintings.
What is Pointillism? How Seurat and Signac painted with dots of pure colour that mix in the eye, how it differs from mixing paint, and why it still matters.
Who was Paul Klee? From Bern to the Blue Rider, the 1914 Tunisia trip, magic squares of colour, taking a line for a walk, the Bauhaus years and Ad Parnassum.
Who was Wassily Kandinsky? A pioneer of abstract art: the Blue Rider, colour as music, Squares with Concentric Circles, Composition VIII and Several Circles.
Who was Henri Matisse? From law clerk to painter, the Fauves of 1905, Harmony in Red and Dance, the Nice years, single-line drawings and the paper cut-outs.
What was Fauvism? The 1905 'wild beasts' who painted with pure, bright colour: roots in Van Gogh and Gauguin, Matisse and Derain at Collioure, key paintings.
Who was Pablo Picasso? His start in Málaga, the Blue and Rose Periods, Les Demoiselles d'Avignon and Cubism, Guernica and The Weeping Woman, explained clearly.
What is Cubism? How Picasso and Braque broke objects into geometric planes and multiple viewpoints, Analytic and Synthetic Cubism, and why it still matters.
What was Surrealism? Breton's 1924 manifesto, De Chirico, Dalí's soft watches, Magritte's apples and pipes, Ernst, Miró, the Exquisite Corpse and its legacy.
Who was Salvador Dalí? The surrealist behind the melting clocks of The Persistence of Memory, the elephants, the lobster telephone and his museum in Figueres.
Who was René Magritte? The Belgian surrealist behind The Son of Man, Ceci n'est pas une pipe, the bowler hats and The Empire of Light, and what they mean.
Who was Yves Tanguy? The self-taught Breton Surrealist: a De Chirico seen from a bus, Mama, Papa is Wounded!, plains without a horizon, Kay Sage and America.
What was Art Nouveau? Mucha's posters, the whiplash line, buildings by Horta, Guimard and Gaudí, Klimt and the Vienna Secession, Tiffany, Lalique and Beardsley.
What was Art Deco? The 1925 Paris exhibition and the name, Cassandre's posters, Tamara de Lempicka, the Chrysler Building, Jazz Age luxury, Streamline Moderne.
How a rose window is built: the stone tracery, the petals, foils and roundels, the stained glass held by lead, the great roses of Chartres and Notre-Dame, and the geometry of their symmetry.
How Roman mosaic floors were made: tesserae and mortar, opus tessellatum and vermiculatum, the black-and-white floors of Pompeii and Ostia, and the geometric patterns of meanders, guilloches, knots and cubes.
What is ukiyo-e? Edo's floating world, how a woodblock print was made, Hokusai's Great Wave, Hiroshige, Utamaro, Sharaku, Kuniyoshi and Japonisme.
What is Impressionism? The 1874 Paris exhibition, Monet's Impression, Sunrise and water lilies, Renoir, Degas's dancers, Berthe Morisot and broken colour.
What is Aboriginal art? The oldest continuous art tradition: Country, story and law, rock and bark painting in ochre, Papunya dot painting, symbols and respect.
What is mixed media art? Work that combines materials and techniques: collage, cut paper and assemblage, and print textures like halftone and dotscreen.
Apps
What is image feedback? How a photo is fed back into itself with zoom, rotation, mirror and blend into infinite zoom tunnels, vortices and Droste-like echoes.
How a morph turns one face into another: matching points, a Delaunay mesh of triangles, an affine warp of each triangle and a cross-dissolve. Why a fade is not a morph, where morphing comes from, and how to place points for a clean result.
How an image is bent: a mesh of triangles, each stretched onto the bent shape. The maths of an arc, a wave, a cylinder and a page curl, how the light is added, and where image warping is used.
Why eyes are brown, blue, green or grey without any blue or green pigment, what heterochromia and the limbal ring are, why cats have slit pupils, what causes red eye, and how the Eye Editor recolors an iris.
How do you turn a photo into a postage stamp? Perforations, frame, value, country, caption and postmark, with ideas for using it and tips for printing a sheet.
How does the vintage postcard maker work? Your photo inside big 3D letters of a place name, like a 1950s 'Greetings from' postcard, with an optional back.
How does the newspaper front page maker work? Your photo with a masthead, dateline, headline, caption and columns, plus ideas and how to make it look old.
How do you make an old West wanted poster? Add your photo, a name, crime and reward on aged parchment, plus party ideas and tips to make it look older.
How do you make your own trading card? How the maker turns a photo into a collectible card with stats, rarity stars and holo foil, plus ideas for using it.
How do you make an LP sleeve from a photo? Set a title and artist on a square sleeve, add ring wear and slide the record out, plus ideas for a collector's item.
How does the licence plate maker work? It draws a European, UK or US-style number plate with your text and can place it on your photo, plus ideas for using it.
How does the book cover maker work? It turns your photo and title into a paperback in eleven genre styles, from thriller and romance to fantasy, horror and memoir, with spine and back.
How does the Lego mosaic maker work? It matches your photo to real LEGO colours and plate sizes, with a building plan, a parts list and tips for a mosaic you can build.
How does the stained glass maker work? It cuts your photo into Voronoi glass pieces and adds lead and light, with tips for a beautiful window and ideas.
How do you turn a photo into a cross-stitch pattern? A stitch grid, a small colour palette and a printable chart, with tips for a good pattern and ideas.
What is a monogram, which initial goes in the middle, and how do interlocking letters work? A short guide to monogram styles, frames and finishes for weddings and logos.
What makes a good logo? A short guide to icons and wordmarks, logo layouts, fonts, colors and contrast, and how to use one logo from a favicon to a shop sign.
What is an ambigram? Rotational, mirror and reflection ambigrams, why some letters turn into others, and how an ambigram generator builds letters that read both ways.
How a typewriter prints, why no two typed letters look the same, what the red half of the ribbon was for, and how telegrams, carbon copies and redacted files looked.
Why a name in the sand, a word wiped into a frosted window and icing on a cake look the way they do, and how a picture of them is drawn as a lit relief.
How shop signs are made: the fascia board, hand-painted sign writing, gold leaf on glass, carved and raised letters, lightboxes and neon, and what makes a shop name readable from across the street.
What makes a good protest sign: a short slogan, big letters, strong contrast and a sturdy board, plus a little history of placards from marches to marathons.
How a scrolling LED sign works: a grid of diodes, the 5×7 dot font, multiplexing, scrolling and why red and amber signs came first.
How billboards work: the bulletin, the poster and the bus shelter formats, why an outdoor ad needs few words, how billboards are lit and why designers use mockups.
About coloring pages: the first coloring books, how line art is drawn, why closed shapes and bold lines suit children, and why grown-ups color to relax.
About paint by numbers: how the kits began in 1950s America, how a picture becomes numbered areas, which paints and brushes to use, and tips for a neat result.
About diamond painting and fuse beads: where they come from, how a pattern is made from a picture, round and square drills, pegboards and ironing, and tips for a neat result.
About colourwork knitting: Fair Isle and Nordic traditions, stranded knitting and intarsia, how to read a knitting chart, why gauge matters, and tips for even stitches.
About paper-cut art: Chinese jianzhi, German Scherenschnitte and Mexican papel picado, how layered shadow boxes create depth, the tools, and tips for clean cuts.
About pumpkin carving: the jack-o'-lantern from Irish turnips to American pumpkins, how stencils, shaving and bridges work, the tools, and tips to keep a carved pumpkin fresh.
AI
What is an AI model? How models are trained and run, why size matters, on-device AI versus cloud APIs, and how AI removes backgrounds, inpaints and uncrops.
What is AI image editing? How it differs from retouching, the main jobs (cutouts, object removal, enhance, repair, uncrop), on-device privacy and limits.
Effects
What is the story of Polaroid? Edwin Land's first filters in 1937, instant cameras, the SX-70, the end of film and how The Impossible Project brought it back.
How does a kaleidoscope work? Brewster's invention and its Greek name, how the mirrors make patterns, cells and teleidoscopes, and digital kaleidoscope filters.
How do black-and-white bilevel images work? Threshold cutoffs, Bayer ordered dithering, Floyd–Steinberg error diffusion, mezzotint screens and when to use each.
How does blur work? Gaussian blur, unsharp mask, radial and motion blur, tilt-shift, smart blur and lens blur explained, and which blur to use when.
How does edge detection find outlines in a photo? Find Edges, Sobel, Laplace, Canny, Glowing Edges, XDoG and Morphological Gradient compared, and which to use.
Image guides
How does color work on screens and in print? Light and mixing, RGB, CMYK, HSL and HSV, hex codes, the color wheel, gradients, contrast and accessibility.
What is the difference between raster and vector images? Pixels and DPI/PPI vs paths, JPEG, PNG and WebP vs SVG, PDF and EPS, scaling, file size and converting.
JPG, PNG or WebP? How each format handles compression, quality and transparency, GIF, TIFF, SVG and AVIF in brief, and which to pick for web and print.
Video games
開輪式大獎賽是怎麼回事:賽車、起步燈、賽車線、剎車、尾流和擋位。然後從座艙親自跑一場比賽。
艦炮射擊的原理:距離與飛行時間、對移動目標提前瞄準、炮塔與全舷齊射、穿甲彈與高爆彈、魚雷與損管。然後親自指揮一艘戰艦。
空氣曲棍球是怎麼回事:帶氣墊的球桌、規則與計分、快速射門背後的物理,以及贏得比賽的反彈射門和防守。然後親自來一局。
十瓶制保齡球怎麼玩:局、全中和補中,如何計分,球道油對球的影響,以及弧線、速度和入射角如何帶來全中。然後自己試試。
城市建造遊戲如何運作:住宅、商業和工業區,基礎設施,地價,汙染,犯罪和城市預算,以及它們從真實城市規劃中借鑑了什麼。
What is a tower defence game? From Rampart (1990) and StarCraft and Warcraft III custom maps to Desktop Tower Defense, Plants vs. Zombies and basic strategy.
點球大戰是怎樣進行的:規則、守門員為什麼只能猜、罰球手瞄向哪裡,以及點球大戰的由來。然後親自試一試。
Arcade games
Where does the Snake game come from? Its history, how it became famous on mobile phones, why one rule works, and tips for solid or wrapping walls.
What was Pong? The story of the 1972 arcade table tennis game that launched the video game industry, plus the rules and tips to beat the computer.
Where did Breakout come from? The history of Atari's brick breaker, how Arkanoid added power-ups, and tips for clearing the wall of bricks faster.
彈珠台是怎麼運作的?擋板和彈簧桿、彈珠為何這樣運動、彈射柱和彈弓、獎勵與倍數、任務,以及讓彈珠在台面上停留更久的技巧。
How do falling-block games work? The seven four-block pieces, the bag of seven that deals them, turning against walls, speed and score, and tips to stack low.
How Mesa Sprint works: jump over cacti, duck under pterosaurs, and why the mesa gets faster without ever reaching a top speed.
How do one-button flying games like Cave Flutter work? Gravity and one flap, gaps at changing heights, why rhythm beats speed, fireflies and tips to go further.
How do maze chase games work? Grid movement through corridors, how each fox hunts with its own rule, shortest-path search, the brave spell and level tips.
How do maze blast games like Quarry Blast work? Grid movement with corner sliding, blasts and chain reactions, how critters hunt, how levels are made, and tips.
How do swarm shooter games work? A swarm that moves as one and speeds up as it shrinks, one shot at a time, stingers, cover, the queen and tips to clear a wave.
How do drifting shooters like Jelly Drift work? Steering with momentum, a sea that wraps around, jellies that split into faster ones, the anglerfish and tips.
How do crossing games work? Lanes that loop at their own speed, dodging on the road and riding on the river, diving whales, the clock, igloos and tips.
Board games
How do you play chess? Where the game came from, how each piece moves, check, checkmate and draws, and how a computer picks moves with minimax and alpha-beta.
What is a chess puzzle? How mate in 1, 2 and 3 and win-in-N puzzles work, the tactics they train, how puzzle ratings set the difficulty, and tips to solve them faster.
How do you play checkers? Where draughts came from, the rules of English checkers and International draughts, how computers play, and Chinook's 2007 proof.
Where does the board game Go come from? Weiqi in China, baduk in Korea, why Go is so hard for computers and strategy ideas that help beginners improve quickly.
How do you play Reversi? Invented in London in 1883, Hasegawa's Othello of 1971, the rules, strategy, Logistello's 1997 win and the 2023 proof of a draw.
Where does backgammon come from? The history of one of the oldest board games, a race mixing skill and luck, the doubling cube and strategy tips.
What is mancala? An ancient family of sowing games from Africa, the Middle East and Asia, the rules of Kalah, and strategy tips for extra turns and captures.
多米諾骨牌起源於哪裡?從中國的骨牌到歐洲和拉丁美洲的咖啡館,了解摸牌與封鎖玩法的規則、計分方式和策略技巧。
Line games
Where does tic-tac-toe come from? The rules of noughts and crosses on a three-by-three grid, why perfect play ends in a draw, and ideas that stop you losing.
What is Five in a row? Where Gomoku comes from, the rules for making an unbroken line of five stones, and strategy ideas that help you win more games.
How do you win Connect Four? Its history since 1974, the rules, threats and the middle column, and how James D. Allen and Victor Allis solved the game in 1988.
How do you play Dots and Boxes? Where the pencil and paper game comes from, the rules, and the chain strategy and double-cross that strong players use.
How do you play Sim, the pencil and paper game of lines and triangles? Where it comes from, why it can never end in a draw, and how to stop making the triangle yourself.
Match, pop and sort
How do match-three games work? Swapping to make lines, why cascades happen, the special pieces, where the genre came from, and tips for bigger scores.
How do tap-to-burst games work? Groups of one colour, why big groups pay, the special pieces, goals and obstacles, where the genre came from, and tips for clearing levels.
How do bubble shooter games work? Aiming and bank shots, why dropping beats popping, the ceiling that comes down, where the genre came from, and tips for bigger scores.
How do triple tile match games work? Free and covered tiles, the tray of seven, why every level can be won, where the genre comes from, and tips for clearing the pool.
How does mahjong solitaire work? The 144 tiles and what matches, when a tile is free, how a deal is made that can always be cleared, where the game comes from, and tips to clear the board.
How do colour sort puzzles work? The one pouring rule, why empty flasks matter, how a computer finds a way out of a dead end, where the puzzles come from, and tips for fewer moves.
Card games
Where does Klondike solitaire come from? How the seven piles, stock and foundations work, why draw 3 is harder and how many deals can be won.
Where FreeCell comes from, how the free cells and columns work, why almost every deal can be won, what the game numbers are and how to plan your moves.
How does Spider Solitaire work? The deal of two decks into ten columns, moving runs, dealing from the stock, how 1, 2 and 4 suits differ, its history and tips to win more.
Where the card game Hearts comes from, from Reversis to Black Lady and the Hearts that came with Windows, how passing and scoring work, what shooting the moon is and how to play well.
Where the card game Spades comes from, how a hand is bid, played and scored, what Nil and bags are, and how to play well with a partner.
Where the card game Euchre comes from, how trump is ordered up or named, how the right and left bowers work, what going alone and being euchred mean, and how to play well.
What the card game Oh Hell is, its other names such as Oh Pshaw, Blackout, Up and Down the River and Boerenbridge, how a hand is dealt, bid and played, the hook rule, the usual ways of scoring and how to bid exactly.
How Crazy Eights is played, how the eights and the stock work, how a round is scored, which variants are common, how it relates to Mau-Mau, Switch and Uno, and how to play it well.
How the climbing card game President is played: the ranks from 3 to 2, beating the pile with singles, pairs and triples, the titles and the card exchange, common variants, its relatives Daifugō, Tiến lên and Big Two, and how to play it well.
How Durak, the Russian card game of the fool, is played: the 36-card deck and the trump, attacking, beating and throwing in, taking the cards, drawing back to six, the throw-in (podkidnoy) and transfer (perevodnoy) variants, and how to play it well.
Where Gin Rummy comes from, how a hand is played, when you may knock, how laying off, gin and the undercut work, how a game to 100 is scored with the box bonus, and how to play it well.
Where Cribbage comes from, how the board and pegs work, the deal and the crib, scoring in the play (fifteens, pairs, runs, go and 31), counting the hands and the crib, skunks, and how to play it well.
How the card game Higher or Lower works: the rules, its place in TV game shows, the chance behind every guess, how counting the cards left changes the odds, and the best simple strategy.
Casino, dice and chance
Where blackjack comes from, how a round works, what soft hands and the dealer's rules mean, why 6:5 and insurance are poor deals, and how basic strategy cuts the house edge.
Where Texas Hold'em comes from, how a hand is played from the blinds to the showdown, the poker hand rankings, why position matters, and how to count outs with the rule of 2 and 4.
The ten poker hands from royal flush to high card, how often each one comes, how kickers and split pots decide between equal hands, and the hands players most often misread.
Where roulette comes from, how the European, French and American wheels differ, what every bet pays, where the house edge comes from, and why no betting system beats it.
Where baccarat comes from, how the cards count, when Player and Banker draw a third card, why Banker pays commission, what the roads are, and the house edge of every bet.
Where craps comes from, how the come-out roll and the point work, what every bet pays, why the odds bet has no house edge, and which bets to avoid.
How the slot machine grew from a three-reel bell machine into the video slot, why the symbols are fruit and bars, how reels, paylines, wilds and scatters work, what return to player means, and why a machine is never due.
How do you play Yahtzee? Five dice and three rolls, the 13 boxes, the upper bonus, Yahtzee bonuses, the Joker rules and strategy tips to raise your score.
Where bingo comes from, from an Italian lottery to Edwin Lowe's beano game, how 75-ball and 90-ball bingo differ, how many balls a game takes, and the classic bingo calls.
Is rock paper scissors just chance? Its roots in China and Japan, why game theory says play at random, how people really play and how a computer learns.
Word and guessing games
How Daily Five works: six tries at a five-letter word, what green, gold and gray mean, and why the daily word is the same for everyone.
Where does Hangman come from? A short history of the pencil-and-paper game, which letters to guess first and how this version handles alphabets in 20 languages.
Where do word search puzzles come from? A short history, how the grids are generated in 20 languages, and tricks the fastest solvers use to find words faster.
How do you play Mastermind? Where the code-breaking game comes from, the rules, and the strategies that crack a code in as few guesses as possible.
How do you play Battleship? Where the two-player guessing game comes from, how the fleets are hidden and found, and the hunt and target strategy.
Where drawing and guessing games come from, from parlour games to Pictionary and pixel quizzes, why a few lines are enough to recognise a picture, and how to guess sooner.
Geography games
How Atlas Pin works: read a drawn street, drop a pin on the world map, and score by how far you are from the real place.
How the Flags and Capitals quiz works: 197 countries, four kinds of question on a world map, and practice that comes back to what you missed.
How Globe Heat measures the distance between countries, why neighbours are 0 km apart, how the colours work, and how to find the secret country in a few guesses.
How Fill the Map works, why naming countries from memory and finding them on a blank map help you learn them, and tips to name every country of a continent.
How Border Hop decides which countries are neighbours, how it finds the shortest land route between two countries, which countries have the most neighbours, and tips for both games.
The distances in How Far explained: great circles between capitals, why routes look curved on a flat map, how the points work, and how to judge distances on a map.
How the Mercator map stretches the world, why Greenland looks as big as Africa, how True Size keeps a country's real size as you drag it, and how to win the quiz.
Where is Earth in the universe? The cosmic web, Laniakea, the Virgo Cluster, the Local Group, the Milky Way, the Orion Spur and the Sun: our address, scale by scale.
Memory and brain games
How do you play Memory, also called Concentration, Pairs or Pelmanism? Where the card game comes from, the rules, why it trains your memory and winning tips.
What is the Simon game? Where the electronic memory game comes from, how it works, why it is good for your memory and tips for longer colour sequences.
Where the what's missing memory game comes from, from Kipling's Kim to scout camps, how much people can keep in mind at once, and how to remember more pictures.
Where speed arithmetic comes from, tricks that make mental maths faster, why short timed rounds help, and how Math Challenge scores your answers.
Number and logic puzzles
How does Sudoku work? Where the puzzle comes from, the simple rules, techniques such as singles, pairs and pointing, and why a good puzzle has one solution.
How Killer Sudoku works: the rules of the Sudoku with cages and sums, where it comes from, the rule of 45, the cage combinations worth knowing, and how puzzles with one solution are made.
How Kakuro works: the rules of the cross sums puzzle, where it comes from, the digit combinations worth knowing, the techniques that solve it, and how puzzles with one solution are made.
How the binary puzzle works: the three rules of Takuzu and Binairo, the techniques that solve it, how many rows are possible, and how puzzles with one solution are made.
How do you solve nonograms? Where the picture logic puzzles come from, why they are also called Picross and Griddlers, and techniques that need no guessing.
How Slitherlink works: the rules of the loop puzzle, where it comes from, the patterns every solver learns, the inside and outside trick, and how puzzles with one solution are made.
How Star Battle works: the rules of the star puzzle, where it comes from, the techniques that solve it, from ruling out neighbours to region counting, and how puzzles with one solution are made.
數牆(Nurikabe)怎麼玩:牆與島謎題的規則、名字的由來、每位解題者最先做的推理、如何讓牆保持完整,以及只有一個答案的謎題是怎樣產生的。
How Akari works: the rules of the Light Up puzzle, where it comes from, the techniques that solve it, and how puzzles with one solution are made.
How the Bridges puzzle works: the rules of Hashiwokakero, where it comes from, the techniques that solve it, and how a computer makes puzzles with exactly one solution.
How do numberlink puzzles like Thread Link work? The rules, a history of over a century, why it is hard for computers, how puzzles are made and solving tips.
How Lights Out works: the rules behind the lamp puzzle, where it comes from, the linear algebra that solves it, why some positions have no solution, and tips to solve it faster.
How does Minesweeper work? Where the game comes from, what the numbers mean, safe patterns such as 1-2-1, when you have to guess, and tips for faster times.
How does 2048 work? Where the sliding puzzle comes from, the rules of sliding and merging powers of two, the corner strategy and why the board fills up so fast.
How does wood block Sudoku work? Blockudoku and Woodoku put line clearing on a 9x9 board: the three-piece tray, rows, columns and boxes, combos and tips.
Picture puzzles
What are jigsaw puzzles? How they began as teaching aids made from maps, how the classic piece shape works, and strategies to finish big puzzles faster.
Why are differences so hard to spot? How spot the difference went from newspapers to screens, why our eyes miss changes, and tips to find differences faster.
Why can't every 15 puzzle be solved? The 1880 craze, Sam Loyd's 14-15, the parity proof that half of all positions are impossible, and how a computer solves it.
What is a tangram? The seven-piece puzzle from China, the craze of 1817, Sam Loyd's invented history, the seven tans, the 13 convex shapes and paradoxes.
Where color by numbers comes from, from the paint-by-number kits of the 1950s to pixel art and mosaics, why it is so relaxing, and tips to finish a picture faster.
Classic Puzzles
How do mazes work? Labyrinths and mazes in history, what a perfect maze is, how the recursive backtracker and Prim's algorithm grow one, and solving tips.
How do you win at peg solitaire? A puzzle from the French court, the English and European boards, and strategy tips for finishing with one peg in the centre.
What is the Tower of Hanoi? Édouard Lucas's 1883 puzzle: the rules, why the shortest solution is 2ⁿ − 1 moves, the recursion and the legend of 64 golden disks.
How the Traffic Jam puzzle works: the rules of sliding-block puzzles, where they come from, strategies that help, and how a computer finds the fewest moves for every puzzle.
How Klotski works: the rules of the classic sliding-block puzzle, its history as Huarong Dao and L'Âne Rouge, why Forget-me-not takes 81 moves, strategies that help, and how a computer finds the shortest solution.
What is a knight's tour? From a 9th-century Indian poem to Euler, the graph behind it, Warnsdorff's rule, backtracking and why odd boards have no closed tour.
What is the eight queens puzzle? Max Bezzel's 1848 chess puzzle and Gauss, the 92 solutions in 12 families, symmetry, backtracking and the n-queens problem.
How the Rubik's cube works: its 43,252,003,274,489,856,000 positions, why only 1 in 12 reassembled cubes can be solved, the notation, God's number 20, and how Kociemba's two-phase algorithm finds a solution in about 20 moves.
Calculators
How does a calculator work? From key press to answer, why the order of operations matters, scientific functions, the abacus, slide rule and pocket calculator.
How does the International System of Units work? How the metric system began in revolutionary France, imperial units, and why a kilobyte is 1000 or 1024 bytes.
What is VAT? How to work out prices including and excluding VAT, how the reverse charge works, and how VAT spread from France in 1954 to over 170 countries.
What is an exchange rate? Floating vs fixed (pegged) currencies, what ISO 4217 codes like EUR and JPY mean, and the move from gold standard to Bretton Woods.
What is compound interest? Simple vs compound interest, the formula A = P(1 + r/n)^(nt) with an example, the rule of 72, and Fibonacci, Bernoulli and e.
How does mortgage repayment work? Annuity, linear and interest-only compared, the annuity formula with a worked example, and how term and rate change the cost.
Why must a freelance hourly rate be higher than a wage? Billable hours, holidays and sick days, business costs, tax and pension reserves, with a worked example.
How is BMI calculated? The body mass index formula, the WHO categories, your healthy weight range, where BMI falls short, and children, pregnancy and older age.
What does a meeting really cost? Franklin's time is money, Parkinson's law of triviality, the 2017 HBR survey and turning a salary into a cost per minute.
How does our calendar work? The Gregorian reform of 1582, the leap year rule, ISO 8601 week numbers and the Easter computus behind movable public holidays.
Where invoices and quotes come from: bills of sale, a formal offer before work begins, VAT on each line, and why a document you can number and reuse still matters, kept in this browser.
Planning and time
How does a to-do list make you more productive? Why it works, sorting tasks with the Eisenhower matrix, Getting Things Done basics and a simple daily routine.
What is the Pomodoro Technique? How Francesco Cirillo's tomato-shaped kitchen timer started it, the five steps, why short focused blocks work, and breaks.
Where does the countdown come from? Harbour time balls, the 1929 film that invented the launch countdown, T-minus at NASA and the Times Square ball drop.
Where does Kanban come from? Taiichi Ohno's cards at Toyota, the supermarket idea behind pull systems, WIP limits and how Kanban reached knowledge work.
How long does a habit take? Benjamin Franklin's chart of 13 virtues, don't break the chain, the UCL study that found 66 days on average, and the habit loop.
Where does time tracking come from? Factory clocks and the timesheet, billable hours in professional firms, and why one running timer keeps a cleaner record.
What are OKRs? How Andy Grove used objectives and key results at Intel, how John Doerr took them to Google, SMART goals and weights, and why check-ins matter.
Where does the weekly plan come from? Appointment books and desk diaries, the week on one page, time blocking, and an inbox for tasks with no time yet.
What is a mind map? Where radial notes come from, Tony Buzan's popular method, concept maps and outlines, and why a central topic with coloured branches helps.
Where Gantt charts come from: Henry Gantt's production charts, wartime planning, and why a bar on a calendar still helps you see when work starts, ends and depends on other work.
Where the focus timer comes from: Francesco Cirillo's Pomodoro sessions, why short breaks help attention, and how coloured noise and rain can be mixed in the browser without leaving the machine.
Where shift rotas come from: factory bells and hospital wards, why hours have to add up, and how overlapping shifts on the same person become a conflict, kept in this browser.
What is the Eisenhower matrix? Eisenhower's 1954 remark on urgent and important problems, Stephen Covey's four quadrants and the mere urgency effect.
How do time zones work? Sun time and railway time, the prime meridian and UTC, odd offsets like UTC+5:45, daylight saving time and the IANA time zone database.
Decisions
How do random decisions work? Drawing lots in Athens, the wheel of fortune, roulette, fair random numbers in the browser and why a coin toss helps you decide.
How do dice, cards, coins and lots work? From knucklebones to dice, a deck of 52, whether a coin toss is really 50/50, and fair random numbers in a browser.
Why is drawing lots fair? Allotment in ancient Athens, lots in the Bible, Sinterklaas and Secret Santa draws, and a fair draw where no one gets their own name.
How do you make fair teams? Picking teams by captains or by chance, dealing names like cards, and why random groups work well in class and at work.
Creation
Which chart answers which question: bars to compare, lines for change, pies for parts of a whole, scatter plots for relationships, pyramids and funnels for levels and steps, treemaps, heatmaps, trees and Venn diagrams. With a short history and tips for animated charts.
Where the resume comes from: a short account of your work, the sections a reader expects, whether to add a photo, and why a private page you can restyle and export still matters.
How a set of bingo cards is dealt: 75-ball columns, a word list, pictures, a free centre, and a link that reprints the same cards and call order.
How a sudoku generator fills a grid, then removes clues only while the puzzle still has one solution, for 4×4, 9×9 and 16×16.
How a set of buzzword bingo cards is dealt: a word list, grids from 2×2 to 5×5, a free centre, and a link that reprints the same cards and call order.
Text tools
How are words and characters counted? Word boundaries with and without spaces, grapheme clusters and emoji, reading speed, SMS, X and meta description limits.
Why are capitals called upper case? Carolingian minuscule, title case vs sentence case, where camelCase and snake_case come from, the Turkish İ and capital ẞ.
Where did Markdown come from? How Gruber and Swartz built it from email habits in 2004, why dialects drifted, CommonMark, GFM and why previews are sanitized.
Where does lorem ipsum come from? A scrambled passage from Cicero's De finibus of 45 BC, why it starts with lorem, and how Letraset and PageMaker spread it.
What makes a password strong? Entropy in bits, why length beats complexity, the 1995 diceware passphrase method, NIST guidance and how fast attackers can guess.
How do QR codes work? Denso Wave's 1994 invention, finder patterns and modules, versions 1–40, masks, Reed-Solomon levels L, M, Q, H and scanning tips.
Why are screens 16:9? How film became 4:3, how CinemaScope made cinema wide, why TV chose 16:9, where √2 in A4 paper comes from and why phones went vertical.
Where do the WCAG contrast ratios come from? Why 4.5:1 and 7:1, relative luminance from sRGB, the 3:1 rule for UI parts, color blindness and APCA for WCAG 3.
How Morse code works: dots, dashes and the three gaps, the 50 units of PARIS, Farnsworth timing for learners, and why SOS is read as three letters.
How a snippet becomes a picture for a slide or a post: a window, a colour theme, line numbers and a backdrop. The colours are visual. The code is not run or uploaded.
Chemistry
How the periodic table works: atomic number, groups and periods, the s, p, d and f blocks, electron configurations, trends such as electronegativity, and how Mendeleev predicted missing elements.
How atoms join into molecules: valence and full shells, single, double and triple bonds, lone pairs, molecular formulas and molar mass, VSEPR shapes from linear to tetrahedral, and isomers.
How to balance chemical equations step by step: conservation of atoms, the inspection and algebraic methods, ionic and redox equations with oxidation numbers, and how coefficients lead to moles, grams and the limiting reactant.
What is a half-life? Why radioactive decay halves, the formulas, decay constant, activity and mean lifetime, carbon-14 dating and half-lives of common isotopes.
How Niels Bohr's 1913 model of the atom works, why electrons sit in shells, how the jumps between orbits explain the spectrum of hydrogen, how shells fill across the periodic table, and how quantum mechanics replaced the orbits with orbitals.
How to read and draw a Bohr diagram: the nucleus, the shells K, L, M and N, how many electrons each shell holds, how ions gain or lose electrons, what the valence electrons tell you, and how the diagram relates to the electron configuration.
酸鹼滴定的原理:pH 與水的離子積、強酸與弱酸、強鹼與弱鹼、Ka 與 pKa、由電荷平衡精確求出 pH、滴定曲線與當量點、緩衝溶液與亨德森-哈塞爾巴赫方程式、磷酸與碳酸等多質子酸,以及指示劑如何變色、該如何選擇。
為什麼溫度較高、濃度較大或有催化劑時,反應會比較快:碰撞與活化能、馬克士威–波茲曼分布與高能碰撞所占的比例、速率定律與半衰期、表面積、催化劑與能量剖面圖、可逆反應與化學平衡,以及阿瑞尼斯方程式與 ln k 對 1/T 的作圖。
How quantum mechanics describes the electron in an atom: the Schrödinger equation and the wavefunction, the quantum numbers n, l and m, the shapes of the s, p, d and f orbitals, radial and angular nodes, the radial probability and the Bohr radius, energy levels, hydrogen-like ions, hybrid orbitals and superpositions.
What a mole is and why chemists count atoms by weighing them: the Avogadro constant, relative atomic mass and IUPAC standard atomic weights, how to calculate molar mass from a formula with brackets and hydrates, mass percent composition, empirical and molecular formulas, and the molar volume of a gas.
Biology
How cells divide: the cell cycle and its checkpoints, chromosomes and chromatids, the phases of mitosis, cytokinesis in animal and plant cells, meiosis with crossing over and independent assortment, nondisjunction, and the history of the discovery.
How the heart and circulation work: the four chambers and valves, the pulmonary and systemic circuits, the cardiac cycle and the Wiggers diagram, the pressure-volume loop, the ECG, stroke volume and cardiac output, blood pressure, exercise and heart failure, and Harvey's discovery.
How food webs work: producers, consumers and decomposers, trophic levels and the ten percent rule, predator–prey cycles and the Lotka–Volterra equations, keystone species and trophic cascades from sea otters to Yellowstone's wolves, and how ecologists model ecosystems.
How Punnett squares work: Mendel's peas and his laws of segregation and independent assortment, genotypes and phenotypes, 3 : 1 and 9 : 3 : 3 : 1 ratios, incomplete dominance, codominance and blood groups, X-linked genes from colour blindness to tortoiseshell cats, and testing a litter with the χ² test.
How DNA is built from two antiparallel strands, why A pairs with T and G with C, what the major and minor grooves are, how B-, A- and Z-DNA differ, how the double helix was discovered and how a cell unzips and copies it.
How evolution by natural selection works: Darwin and Wallace, variation, heredity, selection and fitness, mutation, genetic drift, adaptation, the peppered moth, beach mice and rock pocket mice, and the most common misconceptions.
Number Theory
How does the Sieve of Eratosthenes work? Who Eratosthenes was, how the sieve finds every prime up to N, why it stops at the square root of N and how fast it is.
What is the Ulam spiral? How Stanisław Ulam's 1963 doodle lays integers in a square spiral, why primes gather on quadratic diagonals, and Euler's forty primes.
Why do numbers in polar coordinates form spirals? Plot n at radius n and angle n: 6 arms, 44 spiral arms, 710 rays, what the primes show and eighteen sets.
What prime gaps are, why the average gap near p is ln p, how large gaps can get, twin primes and the bounded gaps theorem, merit, maximal gaps and Cramér's conjecture.
What Goldbach's conjecture says, how it is checked up to 4 × 10^18, Goldbach's comet, Hardy and Littlewood's formula for the number of splits, and what has been proved: Vinogradov, Chen and Helfgott.
How modular arithmetic works: remainders and congruence, why division needs an inverse, the extended Euclidean algorithm, repeated squaring, Fermat's little theorem, check digits and RSA.
What the Chinese remainder theorem says, how to build the solution with the extended Euclidean algorithm, how to solve one equation at a time, what happens when moduli share a factor, and where it is used.
What perfect, abundant and deficient numbers are, why every even perfect number comes from a Mersenne prime, how many are known, the search for an odd one, amicable pairs and aliquot sequences.
What Euler's totient φ(n) counts, why the product formula works, Euler's theorem and Fermat's little theorem, Gauss's divisor sum, the average value 6/π², values that are never a totient, and its role in RSA.
What is a multiplication circle? Numbers around a rim joined to their multiples, from a 10-point star to the cardioid, drawn with pencil, chalk or string.
What does Fermat's Last Theorem say? The margin note, why Pythagorean triples work only for squares, near misses, and how Andrew Wiles proved it in 1995.
What is the Fibonacci sequence? How 1, 1, 2, 3, 5, 8… is built, why neighbouring terms approach the golden ratio 1.618…, Binet's formula and the golden angle.
西洋棋發明者的傳說:第一格要一粒,之後每格加倍。為什麼棋盤上有 2⁶⁴ − 1 粒、那是多少小麥,以及它讓我們看見指數成長的哪些道理。
What is Recamán's sequence? How it hops back by n when that spot is free, why it sometimes jumps forward, its semicircles, and why 852,655 is still missing.
What is the Collatz conjecture? The simple 3n+1 rules, hailstone numbers, why Erdős and Terence Tao found it so hard, the Collatz tree and the complex fractal.
Why almost every birthday is somewhere in the digits of pi, how deep a six-digit date usually hides, which dates come first and last in 10 million digits, the one date that is missing, and what normal numbers have to do with it.
How Sacks' number spiral places every whole number at radius √n, why the perfect squares line up on one ray, why the primes fall onto curves of quadratics, and what Euler's x² + x + 41 and Landau's x² + 1 have to do with it.
How Pascal's triangle is built, why its numbers count combinations and expand (a + b)ⁿ, and where the powers of 2, the hockey stick, the Fibonacci numbers and the Sierpiński triangle hide in it.
Sorting Algorithms
How bubble, selection, insertion, merge, quick, heap, radix and counting sort compare: their work on random, nearly sorted and reversed lists, and when to use which.
What Big-O notation means, how to read O(1), O(log n), O(n), O(n log n), O(n²), O(2ⁿ) and O(n!), how to find the complexity of code, and why the class matters more than the hardware.
Why the complexity class decides who wins in the end: constant factors, crossover points, polynomial against exponential growth, the factorial and logarithmic time scales, told as a race of bouncing balls through ever stronger floors.
What is bubble sort? How each pass bubbles the largest value to the end, why swaps equal inversions, the early stop, and why it takes n² time.
What is selection sort? How each pass selects the smallest value, why it always makes n(n − 1)/2 comparisons but few swaps, and why it is not stable.
What is insertion sort? How each value slides back into the sorted part, why it is fast on nearly sorted lists, and why swaps equal inversions.
What is merge sort? How splitting in half and merging sorted halves sorts a list in n log n time, why it needs a buffer, and why it is stable.
What is quicksort? How partitioning around a pivot sorts a list, why a bad pivot makes it slow, and how random pivots and the median of three help.
What is heap sort? How a list becomes a max-heap, why sifting down is fast, and how heap sort sorts in n log n time without extra memory.
What is radix sort? How sorting by one digit at a time, from the last digit to the first, sorts whole numbers without a single comparison.
What is counting sort? How counting each value and adding up the counts places every value directly, in n + k time, without comparisons.
Search Algorithms
What is linear search? How checking every value in turn finds a target in any list, how many comparisons it takes, and when a faster search is worth it.
What is binary search? How comparing with the middle value halves a sorted list at every step, why it needs about log₂ n comparisons, and its famous bugs.
What is jump search? How skipping blocks of √n values in a sorted list and scanning one block finds a target in about 2√n comparisons.
What is interpolation search? How estimating a value's place from the ends of a sorted list beats binary search on even data, and why it fails on skewed data.
What is exponential search? How doubling the place you look at, 1, 2, 4, 8 and so on, then binary-searching finds a value in about 2 log₂ i comparisons.
How computers find a pattern in a text: naive search and its worst case, the prefix function of Knuth–Morris–Pratt, the bad-character and good-suffix rules of Boyer–Moore, Horspool's shortcut, and the rolling hash of Rabin–Karp.
What is breadth-first search? How a queue explores a graph ring by ring, why BFS finds shortest paths in edges, and where it is used.
What is depth-first search? How a stack follows one path as deep as it goes and backs up, how DFS finds cycles, why its paths are not the shortest, and where it is used.
What is Dijkstra's algorithm? How it finds shortest paths in a weighted graph with a priority queue, why the nearest node is final, a worked example, and where it is used.
What is A* search? How a guess of the distance still to go steers Dijkstra's algorithm towards the goal, why the guess must be admissible, a worked example, and where A* is used.
What is a minimum spanning tree? How Kruskal's and Prim's algorithms connect every node at the lowest total cost, why greedy works (the cut property), a worked example, and uses.
What is Prim's algorithm? How it grows a minimum spanning tree from one node, why the shortest edge out of the tree is always safe, a worked example, its history and speed.
What is Kruskal's algorithm? How sorting the edges and skipping those that close a cycle gives a minimum spanning tree, how union-find works, a worked example, and its speed.
How maze generation algorithms work: mazes as spanning trees, the recursive backtracker, randomized Prim's and Kruskal's, Wilson's algorithm and Aldous–Broder, hunt-and-kill, the binary tree and sidewinder, Eller's algorithm, recursive division and the growing tree, the texture each leaves, and how breadth-first search, A* and dead-end filling solve them.
What is the Bellman–Ford algorithm? How it finds shortest paths when edges can be negative, why n − 1 passes suffice, how it detects negative cycles, a worked example, and uses.
What is the Floyd–Warshall algorithm? How a table and three loops give the shortest distance between every pair of nodes, why it works, a worked example, and uses.
What is a topological sort? How Kahn's algorithm and depth-first search order the nodes of a directed acyclic graph, why a cycle makes it impossible, a worked example, and uses.
Discrete Mathematics
What is graph theory? Vertices and edges, degrees, connected graphs and trees, bipartite graphs, colouring and the chromatic number, Euler paths, and the Petersen graph, with examples.
Why the seven bridges of Königsberg cannot be crossed once each, the degree rule for drawing a figure in one stroke, how to fix a figure with extra edges, Fleury's and Hierholzer's algorithms, and where Euler paths are used.
What the traveling salesman problem is, why the number of routes explodes, what NP-hard means, how Held–Karp finds the exact answer, and how 2-opt and simulated annealing find nearly shortest tours fast.
What Hamiltonian paths and cycles are, Hamilton's Icosian game, knight's tours and Warnsdorff's rule, graphs without one (Petersen, Herschel, odd grids), Dirac's and Ore's theorems, Gray codes, and why no fast test is known.
What the four colour theorem says, how maps become planar graphs, the history from Guthrie and Kempe to Appel and Haken's computer proof, why five colours are easy and four are hard, and colouring algorithms.
Combinatorics
How to count arrangements and selections: the multiplication principle, permutations nPr, combinations nCr, choices with repetition, stars and bars, arrangements of words with repeated letters, and why the numbers grow so fast.
How to count the ways to put balls into boxes: distinct or identical balls and boxes, any number, at most one or at least one per box. The twelve formulas of the twelvefold way, from kⁿ and stars and bars to Stirling numbers, Bell numbers and partitions.
Why a deck of 52 cards can be arranged in 52! ≈ 8.07 × 10⁶⁷ ways, how that compares with the stars and every shuffle in history, why no two good shuffles have ever matched, and how many riffles it takes to really mix a deck.
Dynamic Programming
Why plain recursion for Fibonacci numbers is slow, how memoization and tabulation fix it, a worked example, and what the Fibonacci numbers teach about dynamic programming.
Where does recursion come from? Definitions by recursion in Dedekind and Peano, the recursive functions of Gödel, Ackermann and Kleene, McCarthy's Lisp, recursive procedures in ALGOL 60 and the call stack.
How dynamic programming solves the coin change problem: the fewest coins for an amount, the number of ways to make it, why greedy can fail, worked examples and where it is used.
What is the 0/1 knapsack problem? How a table of items and capacities finds the most valuable bag, a worked example, why it is NP-hard, and where knapsack problems turn up.
What is the bin packing problem? How next fit, first fit and best fit work, why sorting helps, how good they are, the exact answer by dynamic programming, and where bin packing is used.
What is the longest common subsequence? How the dynamic programming table finds it, a worked example, how to read back the letters, and how diff tools and biologists use it.
What is the longest increasing subsequence? The dynamic programming table, a worked example, the faster patience sorting method, and the surprising mathematics of random shuffles.
What is edit distance? How the Levenshtein distance is computed with a dynamic programming table, a worked example, how to read back the edits, and where edit distance is used.
Data Structures
Cryptography
How the Caesar cipher shifts letters, why it has only 25 keys, how al-Kindi's frequency analysis breaks it, what ROT13 is, and how the cipher led to Vigenère and modern cryptography.
How the Diffie-Hellman key exchange lets two strangers agree on a secret key over an open channel: modular exponentiation, the discrete logarithm problem, the paint analogy, man-in-the-middle attacks and its place in HTTPS.
How RSA encryption works step by step: two primes, the modulus n, Euler's totient, the public and private exponents, repeated squaring, digital signatures, and why factoring large numbers keeps it safe.
What a cryptographic hash function is and how it works: fixed-size digests, one-way functions, the avalanche effect, collisions and the birthday attack, why MD5 and SHA-1 are broken, and where SHA-256 is used.
How frequency analysis breaks substitution ciphers: letter frequencies, pairs and short words as clues, al-Kindi's discovery, the cipher that cost Mary, Queen of Scots, her life, and how computers solve cryptograms today.
How the Vigenère cipher uses a keyword to give every letter its own Caesar shift, why it was called indecipherable, how autokey and Beaufort differ, and how Kasiski's examination, Friedman's index of coincidence and frequency analysis recover the key.
How the Enigma machine's rotors, plugboard and reflector turned every key press into a new substitution, why the middle rotor double-steps, why no letter could encrypt to itself, and how Polish and British codebreakers broke it.
What steganography is and how it differs from cryptography, how a message is hidden in the least significant bits of a photo, why JPEG destroys it, and how steganalysis such as the chi-square attack detects it.
Information Theory
What entropy means in information theory: bits, surprise, Shannon's formula, why English carries about 1 bit per letter, how context and compression relate to entropy, and why random data cannot be compressed.
How lossless data compression works: run-length encoding, the LZ77 sliding window, the LZW dictionary, deflate in ZIP and PNG, why random data cannot be compressed, and how the entropy sets the limit.
How positional number systems work: binary, octal, decimal and hexadecimal, converting between bases, two's complement for negative numbers, overflow, endianness and fractions in binary.
How Huffman coding works: building the tree from symbol counts, reading prefix codes from its paths, why the result is optimal, how close it gets to the entropy, and where Huffman codes are used today.
How error-correcting codes protect data from noise: parity bits, repetition, Richard Hamming's (7,4) code, syndromes, Hamming distance, SECDED, Shannon's channel capacity and the codes in phones, discs and space probes.
How a message crosses the Internet: packets and their Ethernet, IP and TCP headers, routers and the time to live, the three-way handshake, sequence numbers and acknowledgments, packet loss and retransmission, and how UDP differs from TCP.
Logic
Propositional logic and Boolean algebra explained: connectives and truth tables, tautologies and equivalence, De Morgan's laws, DNF and CNF, Karnaugh maps and the Quine–McCluskey method for the shortest formula.
How logic gates work and what they build: AND, OR, NOT, NAND, NOR, XOR and XNOR, why NAND is universal, how gates add numbers, choose between signals and remember a bit, and what latches, flip-flops and clocks do.
What quantifiers mean, how a sentence of first-order logic gets its truth value in a structure, why the order of ∀ and ∃ matters, what vacuous truth is, and what predicate logic can and cannot decide.
How a SAT solver decides satisfiability without trying every row: unit propagation, the pure literal rule, DPLL backtracking, conflict-driven clause learning, the first UIP, the Tseitin transformation and the 3-SAT threshold.
Artificial Intelligence
How decision trees learn: choosing splits by Gini impurity or information gain, stopping rules, why trees cut the space into boxes, overfitting and pruning, and how random forests and boosting combine many trees.
How a neural network works, from a single neuron to hidden layers: weights and biases, activation functions, the loss, gradient descent, backpropagation, the learning rate and overfitting.
How the perceptron works: Rosenblatt's 1958 learning machine and the Mark I, one neuron as a straight line, the learning rule, the convergence theorem, Minsky and Papert's XOR, and the road to neural networks.
How a genetic algorithm works: a population of candidate solutions, a fitness function, selection, crossover, mutation and elitism, why it can get stuck in local optima, and where it is used.
How k-means clustering works: the inertia it minimises, Lloyd's assignment and update steps and why they converge, Voronoi cells, k-means++ seeding, local minima and restarts, choosing k with the elbow and the silhouette, feature scaling, colour quantisation, and when to use DBSCAN, spectral clustering or Gaussian mixtures instead.
How gradient descent works: the gradient and the update rule, why the learning rate must stay below 2 / λ, the zigzag of ill-conditioned valleys, momentum and Nesterov acceleration, RMSProp and Adam, saddle points and local minima, Rosenbrock, Himmelblau and Rastrigin, and stochastic gradient descent in machine learning.
How a neural network recognises handwritten digits: the MNIST dataset, scaling a drawing into a 28 × 28 grid by its bounding box and centre of mass, a multilayer perceptron with ReLU units and a softmax, what the hidden units learn, training by backpropagation with cross-entropy and Adam, and why a 4 can look like a 9.
How reinforcement learning works: states, actions and rewards in a Markov decision process, returns and discounting, value functions and the Bellman equation, value iteration, temporal-difference learning, Q-learning and SARSA on the cliff, exploration with ε-greedy, and where reinforcement learning is used.
What a decision boundary is and how six classic classifiers draw one: logistic regression and polynomial features, k-nearest neighbours, decision trees and Gini impurity, Gaussian naive Bayes, support vector machines with margins and kernels, and neural networks, with training and test data, overfitting and the bias–variance trade-off.
Developer Tools
Where did JSON come from? Douglas Crockford and json.org in 2001, why JSON has no comments, RFC 8259 and ECMA-404, number precision pitfalls and JSONPath.
Where do regular expressions come from? Kleene's regular events of 1951, Ken Thompson's search algorithm and grep, Perl and PCRE, JavaScript's flags, and why some patterns backtrack for ever.
How an HTTP API request works: methods such as GET and POST, the URL and query string, headers, JSON bodies, status codes, authentication and why browsers block some responses (CORS).
How a SQL SELECT query works: the order of its clauses, INNER and LEFT JOIN, WHERE and NULL, GROUP BY with COUNT and SUM, HAVING, and how MySQL, PostgreSQL, SQLite and SQL Server differ.
What a code snippet is, why developers keep a snippet library, how to name and tag snippets, how syntax highlighting works, and how to keep snippets safe.
How Base64 turns any bytes into 64 printable characters: 3 bytes become 4 characters, why = pads the end, the URL-safe alphabet, UTF-8 text, data URIs, the 33% overhead and why Base64 is not encryption.
How URL encoding works: which characters a URL may contain, why others become % and two hex digits, how UTF-8 turns é into %C3%A9, encodeURI versus encodeURIComponent, the + in forms, and the parts of a URL.
How a JSON Web Token (JWT) works: its three base64url parts, the registered claims such as exp and sub, how HS256, RS256 and ES256 signatures are checked, and why a JWT is readable by anyone.
What a UUID is and how it works: the 128 bits and the 8-4-4-4-12 form, the version and variant fields, random version 4, time-ordered version 7, versions 1 and 6, nil and max, GUIDs and the odds of a duplicate.
What Unix time is and how it works: the 1970 epoch, seconds, milliseconds and nanoseconds, why leap seconds are left out, time zones, ISO 8601 and RFC 2822, and the year 2038 problem of 32-bit timestamps.
How the four common data formats work: JSON's types, YAML's indentation and its pitfalls, XML's elements and attributes, CSV's quoting rules, and what changes when you convert between them.
How a diff tool compares two texts: the longest common subsequence, edit scripts, Myers' O(ND) algorithm used by git, word-level highlights, ignore options and the unified diff format with its @@ hunks.
How cron expressions work: the five fields, lists, ranges and steps, the day-of-month and day-of-week rule, shortcuts like @daily, time zones and daylight saving, and the extensions some schedulers add.
Paradoxes
What is the birthday paradox? Why 23 people give a 50.7% chance of a shared birthday, the 253 pairs, the calculation, the square root rule and birthday attacks.
What is the Monty Hall problem? Why switching wins 2/3 of the time, all cases in a table, Bayes' theorem, more doors, an unknowing host, the 1990 controversy.
What is the two envelopes paradox? Why the 1.25 times argument fails, and when switching helps, hurts, or changes nothing.
What is Simpson's paradox? Why a trend in every group can reverse when groups are combined, the arithmetic behind it, the Berkeley case and which to trust.
How three reasonable ways of drawing a random chord give 1/3, 1/2 and 1/4, why the midpoint decides everything, what the principle of indifference gets wrong, and how Jaynes picked 1/2.
What Zeno of Elea argued about motion, why infinitely many steps can take a finite time, how geometric series and limits answer the dichotomy, Achilles and the arrow, and what remains debated.
給一條緊繞地球赤道的繩子加 1 公尺並均勻抬起:它升高 15.9 公分,與繞足球時一樣。為什麼 h = ΔC / 2π,為什麼感覺不對,以及在一點處把繩子拉起會發生什麼。
Fractals
What is a fractal? How the Mandelbrot set, Julia sets, Newton fractals (including Newton⁴) and Nova fractals are made, and why zooming never runs out of detail.
What is the Barnsley Fern? How Michael Barnsley's four affine maps draw a black spleenwort, why each leaflet copies the whole fern, and how mutant ferns grow.
How the abelian sandpile of Bak, Tang and Wiesenfeld works: the toppling rule, why the order does not matter, self-organized criticality, the sandpile group and the fractal of a pile on one cell.
How a Lyapunov fractal is made: the logistic map, the Lyapunov exponent, a growth rate that switches between two values, and why the picture is full of swallows.
What is an L-system? How an axiom, rewrite rules, a turn angle and a step let turtle graphics grow trees, ferns, coral, seaweed and ice from a single seed.
How the Sierpiński triangle is built, why its area vanishes while its edges grow without limit, what fractal dimension 1.585 means, why the chaos game draws it, and how it hides in Pascal's triangle.
How the Koch snowflake is built, why its perimeter grows without limit while its area stays below 8/5 of the triangle, what fractal dimension 1.262 means, and how it led to the coastline paradox.
How folding a strip of paper gives the Heighway dragon, why the curve never crosses itself yet fills an area, what its fold sequence looks like, and how the twin dragon, the terdragon and the Lévy C curve are related.
How a line can pass through every point of a square: Cantor's surprise, Peano's curve of 1890 and Hilbert's picture, why the limit works, why it cannot be one-to-one, and how the Z-order, the Gosper curve and the Sierpiński arrowhead differ.
How the Pythagoras tree grows from squares and right triangles, why every level has the area of the trunk, why the symmetric tree fits in a 6 by 4 box, how the angle makes it curl into spirals, and why its dimension is 2.
How diffusion-limited aggregation grows a branching fractal from particles that wander at random and stick, why the tips win and the fjords stay empty, why its dimension is about 1.71, and where it appears in frost, lightning, coral and minerals.
How the Apollonian gasket fills the gaps between touching circles, why Descartes' circle theorem makes every curvature a whole number, how many circles each generation adds, and why what is left has dimension 1.3057.
What a strange attractor is, how a simple formula repeated millions of times draws one, how the Lyapunov exponent measures chaos, why the Hénon attractor has dimension 1.26, and where the Clifford, de Jong, Ikeda and Gumowski–Mira maps come from.
Why there is no true 3D Mandelbrot set, how the Mandelbulb turns angles instead of multiplying numbers, how the Mandelbox folds space, what a quaternion Julia set is, and how a distance estimate lets a graphics card draw them live.
Why mountains and coastlines are fractals, how random detail at every scale builds a realistic terrain, how the diamond-square algorithm and fractal noise work, what the Hurst exponent and fractal dimension mean, and how films learned to grow worlds.
Why a coastline gets longer the shorter the ruler you measure it with, how Lewis Fry Richardson found the law behind it, how Mandelbrot turned it into fractal dimension, and how the ruler walk and box counting measure it.
Why rolling a die and jumping halfway to a corner draws the Sierpiński triangle, what iterated function systems are, how carpets, crosses and flakes follow, what rules do, and how to measure the dimension.
How Arnold's cat map stretches and folds a square, why it is chaotic, why a picture made of pixels always comes back, how the period depends on the size, and what the cat map has to do with the Fibonacci numbers.
How the Menger sponge is drilled from a cube, why its volume vanishes while its surface grows without limit, why its dimension is log 20 / log 3, what its slices look like, and how the Jerusalem cube, the Sierpiński tetrahedron, the Mosely snowflake and Cantor dust compare.
How the Sierpiński carpet, the Vicsek fractal, Cantor dust, the hexaflake, the pentaflake and the T-square are built from copies of themselves, why their dimension is log k / log n, and what the carpet hides.
How two Möbius transformations make a Kleinian group, what traces and fixed points say about a map, how the limit set is drawn, why Schottky groups give dust and why a parabolic commutator gives the Apollonian gasket.
Advanced
What is a cellular automaton? The four basic parts, Conway's Game of Life, Rule 30, Rule 110, Brian's Brain, Wireworld, and Wolfram's 256 rules and 4 classes.
What is Langton's ant? How Chris Langton's 1986 ant turns two rules into chaos and a 104-step highway, and how colours, colonies, hexes and turmites extend it.
How birds that each follow three rules and watch only their 7 nearest neighbours form a flock, why a scatter spins itself into a ring round a roost, and how a flock escapes a hawk.
What a Turing machine is, how its rules work, why it can compute anything a computer can, why the halting problem has no solution, and how the busy beavers grow beyond any computable function.
Dijkstra's dining philosophers explained: forks, deadlock, the four Coffman conditions, resource ordering, the waiter, Chandy and Misra's solution, livelock, starvation and why real programs freeze.
Physics
How does gravity shape the solar system? Eight planets and their moons on tilted orbits, the dwarf planets and Kuiper belt, and Jupiter's Galilean moons.
What is an n-body system? How Newton's law of gravitation turns a few masses into orbits, resonances, Lagrange points, slingshots and chaos in 3D.
月亮為什麼有月相、八個月相與晨昏線的形狀、月球被照亮了多少、朔望月與恆星月、月亮何時升起和落下、為什麼在南半球看到的月亮是顛倒的、地照、日月食,以及如何計算任意日期的月相。
地球為什麼會有季節、為什麼距離不是原因,傾斜的自轉軸與太陽赤緯,至點與分點,晝長與日出方程式,陽光的角度,永晝與永夜,季節滯後,其他行星以及冰河時期。
夜空如何運作:天球與星星為何轉動、緯度與北極星、恆星時、赤經和赤緯、星等與恆星的顏色、88 個星座、歲差、黃道上的月亮和行星,以及天象儀如何計算天空。
凌日法如何找到其他恆星周圍的行星:光變曲線及其深度、入凌與出凌、撞擊參數與擦邊凌日、臨邊昏暗、克卜勒第三定律與軌道大小、平衡溫度、適居帶、雜訊與相位折疊,以及徑向速度法。
板塊構造如何運作:岩石圈與軟流圈、中洋脊與海底年齡、磁條帶與地磁反轉、裂谷、伴隨海溝、地震與火山弧的隱沒帶、碰撞與地殼均衡、轉形斷層與地震週期、歐拉極、板塊速度與盤古大陸。
潮汐如何運作:引潮力是地球各處引力的差異、為什麼有兩個隆起、地月質心、為什麼月球的影響勝過太陽、大潮與小潮、太陰日、日潮不等、真實港口與分潮、芬迪灣,以及潮汐摩擦如何使地球自轉變慢並把月球推遠。
水循環如何運作:地球的水在哪裡、太陽如何使水蒸發、上升的空氣為何會冷卻至露點並形成雲、乾絕熱與濕絕熱減率、雨、雪與雨影、逕流、入滲與地下水、從大氣中的 9 天到海洋中的 3,200 年不等的滯留時間,以及暖化對水循環的影響。
What is a ballistic trajectory? Why a thrown object flies on a parabola, range and height formulas, how air bends the path and a missile's three phases.
What is Newton's cannon? Why a fast enough ball falls around the Earth, circular and escape speed, ellipses, Kepler's equal areas and the Moon's orbit.
How does Newton's cradle work? Why one ball in sends one ball out: conservation of momentum and energy, the elastic collision, and why air and sound stop it.
How does a pendulum wave work? Why a pendulum's length sets its period, how one extra swing per cycle makes waves, rows and groups, and why they line up again.
What is the brachistochrone? Why a cycloid beats the straight line, Galileo's guess, Bernoulli's 1696 challenge and why a cycloid bowl is also the tautochrone.
What is Snell's law? Ibn Sahl, Snellius, Descartes, Fermat's principle of least time, the lifeguard problem, total internal reflection, the brachistochrone.
How lenses and mirrors make images: light rays and the law of reflection, refraction and Snell's law, focal points, ray diagrams, the thin lens and mirror equations and their sign conventions, magnification, the eye and the camera, telescopes, microscopes and aberrations.
How colours mix: white light and the spectrum, Newton's prism, the eye's three cones and trichromacy, additive mixing of light on screens, subtractive mixing with filters and inks, complementary colours, metamers, printing with CMYK, why paint mixes differently and colour blindness.
How white light splits into colours: refraction and dispersion, the refractive index and the Sellmeier equation, the prism's deviation and minimum deviation, Newton's experiments, crown and flint glass, spectroscopes, how raindrops make the primary and secondary rainbows at 42° and 51°, Alexander's dark band, supernumerary bows and ice halos.
How bouncing atoms make a gas: pressure from collisions, temperature as motion and equipartition, the ideal-gas law and why real gases differ, the Maxwell–Boltzmann distribution, isothermal and adiabatic compression, diffusion and the mean free path, and how Brownian motion proved that atoms exist.
How time dilation works: the light clock and the Lorentz factor, the twin paradox and why the traveller comes home younger, the relativity of simultaneity, the relativistic Doppler effect, muons from cosmic rays, atomic clocks on aircraft and the relativity inside GPS.
How waves interfere: the principle of superposition, constructive and destructive interference, path difference and nodal lines, the ripple tank, Young's double slit and its fringe spacing, Huygens' principle and single-slit diffraction, gratings, phased arrays and noise-cancelling headphones.
How the Doppler effect works: why a passing siren drops in pitch, the formulas for a moving source and a moving listener, Christian Doppler and Buys Ballot's trumpeters on a train, the speed of sound, the Mach cone and the sonic boom, and Doppler radar, ultrasound and the redshift of galaxies.
How a standing wave forms from two travelling waves, why a string's harmonics are whole multiples of its fundamental, Mersenne's laws, open and closed pipes, Pythagoras's monochord, plucked and bowed strings, Fourier and timbre, and standing waves from microwave ovens to atoms.
How every periodic sound is a sum of harmonics, the Fourier series of square, sawtooth and triangle waves, the Gibbs overshoot, timbre and brightness, Ohm's acoustic law, the missing fundamental, and additive synthesis from the Telharmonium and the Hammond organ to Web Audio.
How electric circuits work: voltage, current and resistance, Ohm's law, Kirchhoff's current and voltage laws, series and parallel circuits, power and energy, meters, short circuits and fuses, the Wheatstone bridge and how circuit simulators solve a circuit.
How electric charges push and pull: Coulomb's law, the electric field and its field lines, superposition, electric potential and equipotentials, Gauss's law, capacitors and uniform fields, and how a charge moves in a field.
How currents and magnets make magnetic fields: Ørsted's discovery, the Biot–Savart law, field lines and iron filings, loops and solenoids, Helmholtz coils, permanent magnets, the force between currents and Earth's magnetic field.
How does a Blackburn painting pendulum work? Simple harmonic motion, a Y-shaped suspension, Lissajous figures, frequency ratios and damping spirals.
What is a double pendulum? Two rods joined end to end, why their motion becomes chaotic, the equations in brief, and how the tip's path paints light trails.
What is a 3D double pendulum? How two bobs swing in any direction on spheres, the forces, what stays the same, steady cones and why the motion is chaotic.
How does a magnetic pendulum work? The forces, why it is chaotic, and how coloring each start point by its final magnet reveals fractal basins of attraction.
What is the Lorenz attractor? Edward Lorenz's convection equations, what each variable means, the butterfly effect, and why long-term weather forecasts fail.
How do predators and prey keep each other in balance? The classic cycle, why predator peaks lag, the Lotka-Volterra equations term by term, lynx and hare.
Probability
How can random darts estimate π? The area argument behind 4 × inside ÷ darts, the law of large numbers, why error shrinks like 1/√N, and the name's origin.
打字機前的猴子能打出莎士比亞嗎?無限猴子定理說可以,只要時間無限。這裡有單一單字的機率、為什麼地球上所有黑猩猩直到宇宙終結仍會失敗,以及一家動物園的真實猴子打出了什麼。
What is Buffon's needle? Why a needle dropped on parallel lines estimates π, how 2l/(πd) comes from the area under a sine curve, and why it converges slowly.
How does a Galton board work? Random bounces at each peg, Pascal's triangle, the binomial distribution, the bell curve that appears and regression to the mean.
What are the odds when rolling dice? Each face's 1/6 chance, the ways to roll each sum, expected vs observed results, the bell curve and a chi-square test.
How do you work out drawing marbles from a vase? With and without replacement, tree diagrams, multiplying and adding paths, the complement and combinations.
What is the gambler's fallacy? Why a coin has no memory: independent events, how often streaks appear, Monte Carlo 1913 and the law of large numbers.
How does Hi-Lo card counting work? The +1, 0 and −1 values, the running and true count, why tens and aces help the player, the edge and whether it is legal.
Statistics
Why a random walker gets nowhere on average yet drifts about √N steps from the start, how the variance grows with every step, why the distances follow a Rayleigh curve, and why a walker in 2D always comes home but one in 3D may not.
How the SIR model of Kermack and McKendrick describes an epidemic, what the basic reproduction number R₀ means, why outbreaks grow exponentially at first, how big the peak and the final size get, what herd immunity is, and why chance can end an outbreak early.
How queueing theory works: Erlang's telephone exchange, Poisson arrivals and exponential service times, Kendall notation, the M/M/1 and M/M/c queues, the Erlang C formula, Little's law L = λW, why waits explode as utilisation nears 100%, and why one shared line beats a line per checkout.
What the central limit theorem says, from de Moivre's coin tosses in 1733 to Laplace and Lyapunov: why sample means become normal with spread σ/√n, why it needs a finite variance, why skewed data needs larger samples, and how polls and confidence intervals rely on it.
What percolation theory is, why a random grid suddenly connects at a critical share of filled cells (about 59.27% on the square grid), the difference between site and bond percolation, finite-size effects, fractal clusters and real uses from coffee to epidemics.
Why random values repeat after about √N draws: the birthday problem generalised to any space of N values, the product formula, the 1.1774 √N rule, the expected wait √(πN/2), birthday attacks on hash functions, and what it means for UUIDs, PIN codes, passwords and hash tables.
How a branching process works: every individual has a random number of children. Why a family with a mean of 1 child or fewer always dies out, how the extinction probability follows from q = G(q), and what surnames, chain reactions and epidemics have to do with it.
Mathematics
What is a fraction? How to simplify one with the greatest common divisor and Euclid's algorithm, and how Egyptians wrote fractions as sums of unit fractions.
What is a matrix? How matrix multiplication works, what the determinant and inverse tell you, how Cayley and Sylvester shaped the theory, and 3D graphics.
Mean or median: which to use? What variance and standard deviation measure, why the sample formula divides by n − 1, and Gauss's normal distribution.
The ten statistical concepts every data scientist uses, explained with their formulas and uses: mean, median and mode, variance and standard deviation, probability, correlation, hypothesis testing and p-values, confidence intervals and linear regression.
What is a mathematical function? How a coordinate system turns a formula into a graph, how René Descartes joined algebra and geometry, and other systems.
What makes the Möbius strip one-sided, what happens when you cut it, how the Klein bottle and Boy's surface are built, why they cross themselves in 3D, and how topologists classify every surface by its sides, edges and Euler characteristic.
Why there are exactly five Platonic solids, how the thirteen Archimedean solids follow by cutting corners, what duals and Catalan solids are, why vertices − edges + faces = 2, and where these shapes appear in chemistry, viruses and games.
What a (p, q) torus knot is, why T(2, 3) is the trefoil, when a torus knot becomes a link, how its crossing number and unknotting number are found, and where torus knots appear in physics and chemistry.
How geometry is done with only a compass and a straightedge: Euclid's postulates and the collapsing compass, the classic constructions of bisectors, perpendiculars, parallels and regular polygons, constructible lengths such as √2 and the golden ratio, Gauss's 17-gon, and why angle trisection, doubling the cube and squaring the circle are impossible.
How a plane cutting a double cone gives a circle, ellipse, parabola or hyperbola, why e = sin β / cos α, the focus–directrix definition, the Dandelin sphere proof, standard and general equations with the discriminant, the reflective properties and why planets and comets move on conics.
How Bézier curves work: control points and the Bernstein polynomials, de Casteljau's construction and the tangent, the convex hull and affine invariance, subdivision and degree elevation, rational curves and exact circles, continuity at the joins of a path, and why every font and SVG path is made of them.
How convex hull algorithms work: the rubber band picture, the orientation test and the cross product, gift wrapping (Jarvis march), Graham scan, Andrew's monotone chain, QuickHull, the incremental algorithm, Chan's optimal O(n log h) algorithm, the n log n lower bound, exact arithmetic for collinear points, onion layers and where hulls are used.
How Voronoi diagrams and Delaunay triangulations work: nearest-site regions, the duality between them, the empty circle and max-min angle properties, the in-circle test and exact arithmetic, Bowyer–Watson insertion, Lawson's edge flips, Fortune's sweep line, Lloyd relaxation and uses from John Snow's cholera map to meshes.
How the unit circle defines sine, cosine and tangent for every angle: the six functions as segments, radians and arc length, exact values of the special angles, quadrant signs and reference angles, the graphs and their transformations, the key identities and the inverse functions with their ranges.
How calculus measures change and area: the derivative as the limit of secant slopes, the rules of differentiation, corners and vertical tangents, extrema and concavity, Riemann sums and why their errors fall like 1/n, 1/n² or 1/n⁴, adaptive quadrature and the Fundamental Theorem that links the two.
What a distance metric is and how nine common ones work: Euclidean, Manhattan, Minkowski and Chebyshev distance between points, cosine similarity between vectors, Hamming distance between strings, the Jaccard index and the Sørensen–Dice coefficient between sets, and the haversine formula between places on the Earth, with their formulas, shapes and uses.
What complex numbers are and why they work: the imaginary unit i, the complex plane, modulus and argument, addition as vectors, multiplication as rotation and scaling, conjugates and division, De Moivre's formula, n-th roots and roots of unity, Euler's formula and the fundamental theorem of algebra.
How to find the shortest distance between two places on the Earth: great circles, latitude and longitude as angles, the spherical triangle with the pole, the spherical law of cosines, the haversine formula step by step, the initial heading, rhumb lines and how accurate a sphere is.
How a 2×2 matrix moves the plane: why its columns are the images of the basis vectors, why the determinant is a signed area, what singular matrices, eigenvalues and complex eigenvalues mean geometrically, how inverses and products of matrices work, and how the polar and singular value decompositions split any matrix into rotations and stretches.
Patterns
What is a spirograph? How a circle rolling inside or outside another draws hypotrochoids and epitrochoids, R, r and d, closing curves and the Denys Fisher toy.
Why sunflower seeds form spirals in Fibonacci numbers: phyllotaxis, Vogel's formula r = c√n with the golden angle of 137.5°, why that angle is the most irrational one, and what happens with any other angle.
What is a flow field? How a vector field steers particles with curl noise, wind, gravity, viscosity and clickable attractors, repellers and vortices.
What is an optical illusion? Colour from grey, afterimages, motion aftereffects, the café wall, the Fraser spiral, the Hermann grid and why still images move.