This directory contains a growing number (currently 156) of standalone example projects, including live online versions, build instructions and commented source code.
If you want to contribute an example, please get in touch via PR, issue tracker, email or twitter!
# | Screenshot | Name | Description |
---|---|---|---|
001 | adaptive-threshold | Interactive image processing (adaptive threshold) | |
002 | ascii-raymarch | ASCII art raymarching with thi.ng/shader-ast & thi.ng/text-canvas | |
003 | async-effect | Minimal demo using interceptors with an async side effect | |
004 | big-font | Large ASCII font text generator using @thi.ng/rdom | |
005 | bitmap-font | Figlet-style bitmap font creation with transducers | |
006 | blurhash | Interactive & reactive image blurhash generator | |
007 | boid-basics | Basic 2D boid simulation and spatial indexing neighbor lookups | |
008 | canvas-dial | Canvas based dial widget | |
009 | canvas-recorder | Self-modifying, animated typographic grid with emergent complex patterns | |
010 | cellular-automata | 2D transducer based cellular automata | |
011 | color-themes | Probabilistic color theme generator | |
012 | commit-heatmap | Heatmap visualization of this mono-repo's commits | |
013 | commit-table-ssr | Filterable commit log UI w/ minimal server to provide commit history | |
014 | crypto-chart | Basic crypto-currency candle chart with multiple moving averages plots | |
015 | devcards | BMI calculator in a devcards format | |
016 | dominant-colors | Color palette generation via dominant color extraction from uploaded images | |
017 | ellipse-proximity | Interactive visualization of closest points on ellipses | |
018 | fft-synth | Interactive inverse FFT toy synth | |
019 | fiber-basics | Fiber-based cooperative multitasking basics | |
020 | geom-convex-hull | Convex hull & shape clipping of 2D polygons | |
021 | geom-fuzz-basics | geom-fuzz basic shape & fill examples | |
022 | geom-knn | Doodle w/ K-nearest neighbor search result visualization | |
023 | geom-knn-hash | K-nearest neighbor search in an hash grid | |
024 | geom-sdf-logo | (Re)Constructing the thi.ng logo using a 2D signed-distance field | |
025 | geom-terrain-viz | 2.5D hidden line visualization of digital elevation files (DEM) | |
026 | geom-tessel | Animated, recursive polygon tessellations | |
027 | geom-voronoi-mst | Poisson-disk shape-aware sampling, Voronoi & Minimum Spanning Tree visualization | |
028 | gesture-analysis | Mouse gesture / stroke analysis, simplification, corner detection | |
029 | grid-iterators | Visualization of different grid iterator strategies | |
030 | hdom-basics | Minimal hdom usage example | |
031 | hdom-benchmark | hdom update performance benchmark (old version) | |
032 | hdom-benchmark2 | hdom update performance benchmark w/ config options | |
033 | hdom-canvas-clock | Realtime analog clock demo | |
034 | hdom-canvas-draw | Interactive pattern drawing demo using transducers | |
035 | hdom-canvas-particles | 2D Bezier curve-guided particle system | |
036 | hdom-canvas-shapes | Various hdom-canvas shape drawing examples & SVG conversion / export | |
037 | hdom-dropdown | Custom dropdown UI component for hdom | |
038 | hdom-dropdown-fuzzy | Custom dropdown UI component w/ fuzzy search | |
039 | hdom-dyn-context | Using custom hdom context for dynamic UI theming | |
040 | hdom-elm | Using hdom in an Elm-like manner | |
041 | hdom-inner-html | Higher-order component for rendering HTML strings | |
042 | hdom-local-render | Isolated, component-local DOM updates | |
043 | hdom-localstate | UI component w/ local state stored in hdom context | |
044 | hdom-skip | Skipping UI updates for selected component(s) | |
045 | hdom-skip-nested | Skipping UI updates for nested component(s) | |
046 | hdom-theme | Example for themed components proposal | |
047 | hdom-toggle | Customizable slide toggle component demo | |
048 | hdom-vscroller | Virtual scroller component for large tables / lists | |
049 | hiccup-canvas-arcs | Animated arcs & drawing using hiccup-canvas | |
050 | hiccup-canvas-basics | Basic hiccup-based canvas drawing | |
051 | hiccup-css-image-transition | Generating pure CSS image transitions | |
052 | hydrate-basics | Hiccup / hdom DOM hydration example | |
053 | ifs-fractal | Barnsley fern IFS fractal renderer | |
054 | imgui | Canvas based Immediate Mode GUI components | |
055 | imgui-basics | Minimal IMGUI usage example | |
056 | interceptor-basics | Event handling w/ interceptors and side effects | |
057 | interceptor-basics2 | Event handling w/ interceptors and side effects | |
058 | iso-plasma | Animated sine plasma effect visualized using contour lines | |
059 | json-components | Transforming JSON into UI components | |
060 | kmeans-viz | k-means clustering visualization | |
061 | layout-gridgen | Randomized space-filling, nested grid layout generator | |
062 | lispy-repl | Browser REPL for a Lispy S-expression based mini language | |
063 | login-form | Basic SPA example with atom-based UI router | |
064 | mandelbrot | Worker based, interactive Mandelbrot visualization | |
065 | markdown | Markdown to Hiccup to HTML parser / transformer | |
066 | mastodon-feed | Mastodon API feed reader with support for different media types, fullscreen media modal, HTML rewriting | |
067 | meta-css-basics | Basic thi.ng/meta-css usage & testbed | |
068 | multitouch | Basic rstream-gestures multi-touch demo | |
069 | package-stats | CLI util to visualize umbrella pkg stats | |
070 | parse-playground | Parser grammar livecoding editor/playground & codegen | |
071 | pixel-basics | Pixel buffer manipulations | |
072 | pixel-colormatrix | Matrix-based image color adjustments | |
073 | pixel-dither | Showcase of various dithering algorithms | |
074 | pixel-gradients | Randomized 4-point 2D color gradient image generator | |
075 | pixel-indexed | Image dithering and remapping using indexed palettes | |
076 | pixel-normal-map | Normal map creation/conversion basics | |
077 | pixel-sorting | Interactive pixel sorting tool using thi.ng/color & thi.ng/pixel | |
078 | pixel-waveform | RGB waveform image analysis | |
079 | pointfree-geom | Live coding playground for 2D geometry generation using @thi.ng/pointfree-lang | |
080 | pointfree-svg | Generate SVG using pointfree DSL | |
081 | poisson-circles | 2D Poisson-disc sampler with procedural gradient map | |
082 | poly-spline | Polygon to cubic curve conversion & visualization | |
083 | poly-subdiv | Animated, iterative polygon subdivisions & visualization | |
084 | porter-duff | Port-Duff image compositing / alpha blending | |
085 | procedural-text | Procedural stochastic text generation via custom DSL, parse grammar & AST transformation | |
086 | quasi-lattice | Quasi-random lattice generator | |
087 | ramp-scroll-anim | Scroll-based, reactive, multi-param CSS animation basics | |
088 | ramp-synth | Unison wavetable synth with waveform editor | |
089 | rasterize-blend | Steering behavior drawing with alpha-blended shapes | |
090 | rdom-basics | Demonstates various rdom usage patterns | |
091 | rdom-canvas-basics | Minimal rdom-canvas animation | |
092 | rdom-delayed-update | Dynamically loaded images w/ preloader state | |
093 | rdom-dnd | rdom drag & drop example | |
094 | rdom-formgen | Basic usage of the declarative rdom-forms generator | |
095 | rdom-key-sequences | rstream & transducer-based FSM for converting key event sequences into high-level commands | |
096 | rdom-lazy-load | Lazy loading components via @thi.ng/rdom | |
097 | rdom-lissajous | rdom & hiccup-canvas interop test | |
098 | rdom-search-docs | Full umbrella repo doc string search w/ paginated results | |
099 | rdom-svg-nodes | rdom powered SVG graph with draggable nodes | |
100 | rdom-web-components | Defining & using basic Web Components (with shadow DOM) via @thi.ng/rdom & @thi.ng/meta-css | |
101 | related-images | Responsive image gallery with tag-based Jaccard similarity ranking | |
102 | render-audio | Generative audio synth offline renderer and WAV file export | |
103 | rotating-voronoi | Animated Voronoi diagram, cubic splines & SVG download | |
104 | router-basics | Complete mini SPA app w/ router & async content loading | |
105 | rstream-dataflow | Minimal rstream dataflow graph | |
106 | rstream-event-loop | Minimal demo of using rstream constructs to form an interceptor-style event loop | |
107 | rstream-grid | Interactive grid generator, SVG generation & export, undo/redo support | |
108 | rstream-hdom | rstream based UI updates & state handling | |
109 | rstream-spreadsheet | rstream based spreadsheet w/ S-expression formula DSL | |
110 | rstream-sync | Minimal rstream sync() example using rdom | |
111 | rstream-system-bus | Declarative component-based system with central rstream-based pubsub event bus | |
112 | scenegraph | 2D scenegraph & shape picking | |
113 | scenegraph-image | 2D scenegraph & image map based geometry manipulation | |
114 | shader-ast-canvas2d | 2D canvas shader emulation | |
115 | shader-ast-easings | Shader-AST meta-programming techniques for animated function plots | |
116 | shader-ast-evo | Evolutionary shader generation using genetic programming | |
117 | shader-ast-noise | HOF shader procedural noise function composition | |
118 | shader-ast-raymarch | WebGL & JS canvas2D raymarch shader cross-compilation | |
119 | shader-ast-sdf2d | WebGL & JS canvas 2D SDF | |
120 | shader-ast-tunnel | WebGL & Canvas2D textured tunnel shader | |
121 | shader-ast-workers | Fork-join worker-based raymarch renderer (JS/CPU only) | |
122 | shader-graph | Minimal shader graph developed during livestream #2 | |
123 | simd-plot | Fitting, transforming & plotting 10k data points per frame using SIMD | |
124 | soa-ecs | Entity Component System w/ 100k 3D particles | |
125 | spline-tangent | Compute cubic spline position & tangent using Dual Numbers | |
126 | stacked-layout | Responsive & reactively computed stacked column layout | |
127 | stratified-grid | 2D Stratified grid sampling example | |
128 | svg-barchart | Simplistic SVG bar chart component | |
129 | svg-particles | Basic 2D particle system w/ SVG shapes | |
130 | svg-resample | SVG path parsing & dynamic resampling | |
131 | svg-waveform | Additive waveform synthesis & SVG visualization with undo/redo | |
132 | talk-slides | hdom based slide deck viewer & slides from my ClojureX 2018 keynote | |
133 | text-canvas | 3D wireframe textmode demo | |
134 | text-canvas-image | Textmode image warping w/ 16bit color output | |
135 | todo-list | Obligatory to-do list example with undo/redo | |
136 | trace-bitmap | Multi-layer vectorization & dithering of bitmap images | |
137 | transducers-hdom | Transducer & rstream based hdom UI updates | |
138 | triple-query | Triple store query results & sortable table | |
139 | unbiased-normals | Visual comparison of biased vs. unbiased normal vectors projected on the surface of a sphere | |
140 | webgl-channel-mixer | rdom & WebGL-based image channel editor | |
141 | webgl-cube | WebGL multi-colored cube mesh | |
142 | webgl-cubemap | WebGL cube maps with async texture loading | |
143 | webgl-float-fbo | Drawing to floating point offscreen / multi-pass shader pipeline | |
144 | webgl-game-of-life | Game of Life implemented as WebGL2 multi-pass shader pipeline | |
145 | webgl-grid | WebGL instancing, animated grid | |
146 | webgl-msdf | WebGL MSDF text rendering & particle system | |
147 | webgl-multipass | Minimal multi-pass / GPGPU example | |
148 | webgl-shadertoy | Shadertoy-like WebGL setup | |
149 | webgl-ssao | WebGL screenspace ambient occlusion | |
150 | webgl-texture-paint | Interactively drawing to & reading from a WebGL offscreen render texture | |
151 | wolfram | 1D Wolfram automata with OBJ point cloud export | |
152 | xml-converter | XML/HTML/SVG to hiccup/JS conversion | |
153 | zig-canvas | Zig-based DOM creation & canvas drawing app | |
154 | zig-cellular | Zig-based 2D multi-behavior cellular automata | |
155 | zig-counter | Simple Zig/WASM click counter DOM component | |
156 | zig-todo-list | Zig-based To-Do list, DOM creation, local storage task persistence |