Skip to main content
100%

speech-livecode

✓ Published0🌍 Public
11wheel
Last edited Aug 22, 2016
Created on Mar 15, 2014

This example visualizes the first part of Pericles’ funeral oration as a continuous, animated text stream. The data consists of the speech’s text, which is rendered word by word in an SVG element. Each word appears sequentially, with its position jittered around a central line, creating a flowing, wave-like animation. The size of each word is scaled according to its frequency in the speech, making frequently used terms visually dominant. The animation gives the impression of speech being “live-coded” onto the screen, with words materializing in sequence and gently drifting, while the overall layout suggests a fluid, almost auditory rhythm of the oration. The visualization is implemented using D3.js v3, leveraging SVG for crisp text rendering and transitions for the animated appearance of each word. The result is a dynamic, typographic poster that transforms the famous funeral oration into an ever-shifting, living artifact. (The full source is not reproduced here, but the core is a simple d3 code.) 1wheel speech-livecode Select a paragraph: <select></select> <div id="container"></div> <script> var rate = d3.local(); </script>Title: **speech-livecode** **Description:** This is an animated data-visualization of Pericles' famous funeral oration. The speech's text is broken into individual words, each rendered as an SVG text element. The visualization likely animates the words, perhaps by scattering or transitioning them based on their position in the text, creating a dynamic, word-by-word reading experience. The design uses a minimalist black-and-white aesthetic and leverages D3’s data-binding to drive smooth, continuous animations.

AI-generated description

Similar vizzes

Loading thumbnail…

stars

This example uses D3 v4 to create a chained text animation where each word or letter is drawn with particle effects. Text is displayed as styled headers, and SVG paths are generated for each line of text. A canvas-based particle system then traces these paths over time, spawning thousands of glowing stars that follow the path geometry. The animation chains through each header sequentially, using SVG paths to guide the particles and CSS filters (blur and contrast) plus a lighter blend mode to create glowing, overlapping star trails. Once the primary text is drawn, the animation resets and repeats with a different star texture, giving the effect of a continuous, generative starfield writing out phrases. The visualization runs as a full-screen background, with large typographic elements acting as both text and canvas for the particle motion.# Stars ## Description "Stars" is a captivating data-art visualization that transforms text into a spectacular particle explosion rendered as a constellation of stars. The visualization presents a sequence of words and phrases, each materializing through a chained particle animation that draws the text along SVG paths. ## Visual Design The visualization uses a dark (#111111) background with a starfield of glowing particles rendered on a canvas layer. Text is displayed in a handwritten-style font, with the final word of the sequence shown in a rainbow of colors, where each letter cycles through five hues. The particle system uses a "lighter" blend mode with blur and contrast filters to create glowing, ethereal effects. ## Animation Technique The core experience is a chained transition: each phrase is drawn as particles traveling along a hidden SVG path, creating the illusion of text being sketched by stardust. The code uses D3's transition system with `attrTween` to move particles along paths while simultaneously spawning new particles from an emitter positioned at the stroke's leading edge. As the path transitions complete sequentially, particles continue to be emitted, eventually transitioning to a final image texture. Key implementation details: - **Particle system**: up to 2,000 particles rendered on canvas with `lighter` blend mode, blur and contrast filters - **Text rendering**: HTML headings overlaid on canvas, with letters wrapped in spans for individual styling - **Chained transitions**: D3 transitions orchestrated to animate text into paths, then particles follow the paths - **Dual particle systems**: The second particle system switches textures mid-animation (white stars to colored stars), creating a visual reveal Notably, the original code contains an incomplete loop in transitionLast, where the for loop stops after the first iteration and the animation does not complete. This suggests the code is a work in progress, with the final stage designed to spawn particles along the last text element's path. data: none The author's explanation, if any, has not been provided. Need to write an explanation. The description is of the intended visualization, not the code itself. The D3 parts that are used: - d3.select and d3.selectAll to select DOM elements - selection.append - selection.attr - selection.style - selection.text - selection.datum/data - selection.each - selection.filter - selection.transition (and transition methods) - d3.easeLinear - d3.event (via chained transition) - d3.path? maybe not, but included in the example Write description here. --- Need to be careful to keep the description high-level and concise. Important: Do not mention the gist, or the code. Also do not mention the original author of the codepen or the codepen itself. The description is intended for the visualization gallery. In the description you should summarize the main visual encoding and the interaction techniques. If the technique is related to previous works, make a comparison. Use short sentences, direct wording, and minimal jargon. The description should not exceed 120 words. Write in one paragraph, no line breaks, with a target of 100-120 words. Do not include the title as a header in the text, since it is provided as the H1 title. Write only the description, do not include any extra code block or markdown.A chain of animated typography and particle effects forms the core of this visualization. Text is displayed in a sequence, with each header drawn along a hidden SVG path by a swarm of star-shaped particles using canvas. A custom particle system uses a star texture, additive blending, and blur/contrast filters to create glowing trails. D3 v4 orchestrates chained transitions, moving particles along each path to spell out words, then triggering the next header. The animation concludes with a final burst of particles from the last string, using a different texture to complete the effect. The result is a fluid, text-reveal animation where type is drawn as if by stardust.

EEE2dev
67% match