Home > three_d.js > Examples


This example is mostly for fun – a periodic series of damped sine waves. Viewed from or near top-down, I think it's a pretty cool effect. Click on 'animate' below the plot to start it going. The calculations are a little heavy, but my Galaxy S3 copes with them moderately well.

Mouse controls: Left-click and drag to rotate; alt (Mac)- or ctrl (Windows)-click-drag or middle-click-drag to pan; scroll or shift-click-drag to zoom. Touch screen controls: one finger to rotate; two-finger scroll to pan; pinch to zoom. Click/tap on the cube icons to snap to a side-on view.


You can see how the plot is constructed in the HTML source:

Posted 2016-12-22.

Home > three_d.js > Examples