Home > three_d.js > Examples

Custom points

This example shows some random numbers plotted with a thinking face emoji (image). The image should probably be a square, with each side's length being a power of 2. Regardless of where any transparency is in the image, for mouseover or click/tap detection (not shown on this page), the code will assume a circular shape (this also applies to using the "square" option).

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.

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

Posted 2016-10-02.


Home > three_d.js > Examples