Two Stream Instability Javascript Simulation

Particle In Cell (PIC) plasma simulation of two-stream instability implemented in Javascript and running in your browser. Two cold beams interact with each other until streaming is destroyed and particles become trapped in phase space vortices.

XY Interpolation Program

Online interpolation program that takes arbitrarily spaced unsorted X-Y data, fits a spline to it, and generates equidistant points.

Advection Diffusion Crank Nicolson Solver

Online Advection Diffusion equation solver implemented with Javascript and HTML5, and based on Crank Nicolson Finite Volume Method.

2D Data Plotting

Demo of plotting 2D scalar mesh scalar values using HTML5 canvas and rainbow RGB colormap.

Flow in a Nozzle

By considering one-dimensional flow, we can derive an expression for the variation of Mach number in a nozzle with a variable area change. Such a relationship is explored here with an interactive demo that allows you to change the shape of a convergi...

Computing Intersections Between a Cubic Bezier Curve and a Line

Interactive SVG+Javascript code for computing intersections between a line and a cubic Bezier curve.

On partial pressure determination of condensable materials with a TQCM

In this article we look at how we could use surface flux collected by a quartz crystal microbalance (QCM) to compute the volumetric partial pressure of condensable materials such as magnesium vapor.

HTML5 + Javascript DSMC Simulation

Details of the Javascript implementation of the Direct Simulation Monte Carlo (DSMC) method and a how to guide to plotting animated simulation results with Javascript and HTML5 canvas element.

Direct Simulation Monte Carlo (DSMC) Method

DSMC, or Direct Simulation Monte Carlo, is a particle based method for simulating gas kinetics. Popularized by G.A. Bird in the 60's, this method is now commonly used as an alternative to CFD. In addition, DSMC is commonly combined with PIC codes to ...

Interactive Elliptic Mesh Generation with SVG and Javascript

SVG and Javascript can be used to create interactive applications and graphical user interfaces. Here is an example of an interactive elliptic mesh generator.

Smooth B├ęzier Spline Through Prescribed Points

How do you construct a smooth line through a set of prescribed points? This article shows you how. It also includes an interactive SVG demo that allows you to try it in real-time.

HTML5 for Scientific Computing

HTML5 is the new standard for writing webpages. It introduces several new powerful capabilities, such as embedded video and drag and drop. It also introduces a new tag called canvas that allows us to do real time graphing and visualization using Java...