What is an Alpha Channel?
This example makes a bitmap with an alpha channel to let the background show through.
This example makes a bitmap with an alpha channel to let the background show through.
You've always been able to subscript columns in a data table as one dimensional vectors. In JMP 13 you can subscript a data table as a two dimensional array. Here are some examples using big class. (The very last example shows the column subscripting.)
dt = Open("$SAMPLE_DATA\Big class.jmp");
// fetch a scalar; neither subscript is a matrix
dt[ 4, "height"]; // 66
// fetch a matrix ...
This JSL makes a video to go with some music. Usually it would be the other way around: the music would be selected to match the video. By selecting the music first, and limiting what the video can look like a bit, I get a set of images that can be combined with the audio (using Blender in this case) to get perfect synchronization. Once again, the JSL is not cleaned up, but there are some comm...
Harvey JSL to embed SVG in an HTML page and open in a browser
Create audio from MandelbrotMaking audio from a function
Line Follower Experiment Using JSL to follow the X,Y contour 25 in the Mandelbrot set.
Graph the Wind Custom JSL to make a particle animation.
Re: Does JSL provide a "busy" indicator similar to a spinning wheel or bar? here's an example of a progress indicator made in JSL; it uses a namespace to encapsulate the code. The last few lines are a test, try setting workload bigger or smaller. For smooth performance the progress:set function must be called fairly often. The progress:init function needs to know the total amount of work that...
Tiny snip of video Making a video from random numbers.
Spiders! Building up a 3D world with animated spiders
update 27apr2018: repair formatting Just got a question about using multiple RunProgram instances at the same time. Here's an example that runs three copies of PING against three different IP addresses and records the results in three different data tables. The example shows how to use the "parameter" value to make each RunProgram know which data table to use. Attachment is same as inline cod...
A question from aandw about column formulas started this post. If you only use the formula editor to create column formulas, you can ignore almost all of this. This post is about using JSL to create a column formula. First, a little bit about the Formula command. Here's a really simple one: The formula for column C adds columns A and B The table script (top left triangle->copy table script, paste ...
update 10apr2018: see Bryan's script for a modern approach. I also made a video. This JMP graph is built from a background image downloaded from NASA, an overlay of country outlines built into JMP, and a track of the International Space Station (which updates every 30 seconds if you run the attached script). Credits to NASA Visible Earth: Earth's City Lights and Open Notify -- API Doc | ISS Cur...