One repo to rule them all.
Clone or download
Latest commit a10d209 Jul 3, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
brachistochrone Fix weirdness Nov 25, 2016
carpet Rebuild missing Dec 5, 2016
catmull-rom Billldd Dec 9, 2016
docs Build! Nov 16, 2016
docsrc Build! Nov 16, 2016
double-pendulum Update README.md Jul 2, 2018
elastodynamics Add the link Nov 25, 2016
explanations Carpet plots Jan 20, 2017
first-order-wave-equation Update README.md Jul 2, 2018
fresnel Update README.md Jul 2, 2018
gravity viscosity! Dec 17, 2016
hello-regl Wheee Dec 7, 2016
lorenz Builddd Jan 12, 2017
plotly-unsupported Wheeee May 24, 2017
plots fijalskdj Feb 1, 2017
principle-of-least-action Update README.md Jul 2, 2018
pulsar Cleanup! Nov 25, 2016
regl-cwise schwarzschild Dec 30, 2016
regl-scan Add docs Nov 28, 2016
regl-sketches 🎃 Oct 28, 2017
schrodinger-1d Cleanup! Nov 25, 2016
schrodinger Cleanup! Nov 25, 2016
smooth-life Add fail screen to smooth life Dec 18, 2016
thumbs 🔗 Oct 27, 2017
traveling-waves Build! Nov 25, 2016
waves Wheeeeeee Nov 29, 2016
.gitignore Wheeeee so annoying May 11, 2017
LICENSE Create LICENSE Oct 20, 2017
README.md Update README.md Dec 8, 2017
index.html Redirect! Dec 7, 2016
package.json ✈️ Apr 7, 2017
yarn.lock Whatevs Jan 15, 2017

README.md

demos

This is hopefully one repo to manage all the demos I've been accumulating or at least a place to dump the new ones. The goal here is to learn new things and test limits.

These demos are made using regl, plotly.js, and d3.js.

Kuramoto-Sivashinsky equation in 2D, ∂u/∂t + ∇⁴u + ∇²u + ½ |∇u|² = 0 2D Kuramoto-Sivashinsky equation,
∂u/∂t + ∇⁴u + ∇²u + ½ |∇u|² = 0
Periodic 3-body gravitational trajectories Periodic 3-body trajectories using RK4(5) Cash-Karp adaptive integration. Rayleigh-Taylor and Kelvin-Helmholtz hydrodynamic instabilities.
GPGPU Integration of particle geodesics in Schwarzschild spacetime (a black hole!) Analytical fluid flow over an airfoil using the Kármán–Trefftz transform. Computed and visualized in a single GPU pass. 2D not-particularly-physical gravity as a semi-lagrangian continuum 1M particles interacting as a two-dimensional gravitational continuum
Vortex, rendered as a single signed distance function Umbilic Torus Strange attractors computed and displayed on the GPU Integrating Strange Attractors on the GPU
Minimize the McCormick function using Powell's method with golden section line search. Chaos via the logistic map: x[n+1] = r*x[n]*(1-x[n]) Motion blur the simple way
The tinkerbell map using plotly's point cloud feature Tinkerbell map Roots of a polynomial with random coefficients Smooth Life on the GPU
1D wave packet diffraction through a slit 1D diffraction of a wave packet passing within a known range at a known time. The Schrödinger Equation with a potential barrier in 1D, using the FFT for spatial differencing, RK-4 for temporal integration, and Perfectly Matched Layers (PML) for non-reflecting boundary conditions. Frequency-domain solution of the 1D Schrodinger Equation with Perfectly Matched Layers (PML) N-body gravitational trajectories N-body gravitational trajectories using RK4(5) Cash-Karp adaptive integration.
Classic fluid simulation from Visual Simulation of Smoke. The Lamb wave dispersion relation in the complex plane Computing the zeros of a complex analytic function via contour integration
Ambient Occlusion Screen Space Ambient Occlusion (SSAO) GPGPU Erosion 2D wave equation
Rayleigh waves in an elastic medium Guided Wave Transmission in a Ridge-Stiffened Plate Ultrasonic waves Flamm's parabaloid (subject to caveats, a representation of curved spacetime around a black hole)
747 (modeled with Wings 3D) Sailplane (modeled with Wings 3D) K-means clustering K-means clustering meets Lorenz Attractor
Brachistochrone (curve of fastest descent) Fresnel reflection Principle of Least Action
Double-pendulum chaos Karman-Trefftz airfoil Potential flow over a cylinder conformally mapped into an airfoil via the Karman-Trefftz transform Fitting n-dimensional Gaussian mixture models to scatter data Gaussian Mixture estimation via Expectation Maximization (EM)
Precomputing a strange attractor (TSUCS2) and then animating it as a point cloud Three-Scroll Unified Chaotic System Attractor #2 (TSUCS2) Testing GPU limits using plotly.js point clouds ❄️❄️ Fractals ❄️❄️ Because twitter Schrodinger
Transfinite interpolation 🕺 Hyperbolic Grid Generation
Carpet plots A scan operation on the GPU GPGPU prefix sum Catmull-Rom splines
GPU particle simulation Fun with the SoundCloud API, Part 2: this time with godrays Fun with the SoundCloud API, Part 1
/*airfoil*/P([rn(0,7,.01). map(i=>(x=111*c(i)-10,y=111 *s(i)+c(t/1e3)*10,$=(x*x+y* y)/1e4,[x+x/$,y-y/$]))]).a( 'd',ln()) Numerical methods for the first-order wave equation Recursion!

© 2016 Ricky Reusser. MIT License.