Wild Road Map
JSL, attached below, modified a bit to make this video. Best when viewed. Intended for full screen. Inspired by Substrate screensaver.
this is a typical picture from the attached JSL.
JSL, attached below, modified a bit to make this video. Best when viewed. Intended for full screen. Inspired by Substrate screensaver.
this is a typical picture from the attached JSL.
Save to Database is too slow (10k records per minute) has a reply by msharp that reminded me of a performance enhancement scheduled for JMP 13. (Thanks Jeff Polzin!)Msharp mentions that the database update function is faster than another technique, but still not great. (And see bryan.boone answer to the original question as well...another JMP 13 performance enhancement.) I looked at the scri...
The ArduinoThe Arduino is a small computer. And inexpensive. And a child near you should have one for whatever holiday comes up next, but you should get it out of the box and play with it first. There's plenty of online support for the hardware and the development system. This project will connect an Arduino to JMP and do some real time data logging. You'll need the Arduino IDE download; here's...
This video takes a trip through RGB color space. Inspired by RGB Values to Color Names in Data Table and RGB Color Matching Script, I used JSL's KDTable function to make a sequence of bitmap slices of an RGB color cube showing the closest X11 color name for the pixels in the slice. Made with JMP (and some other video/audio tools). KDTable will be the topic of the next post.No Cyan (YouTube vide...
<span style="font-size: 12pt;" data-mce-style="font-size: 12pt;"><span style="font-family: arial, helvetica, sans-serif;" data-mce-style="font-family: arial, helvetica, sans-serif;"><span style="font-size: 14pt;" data-mce-style="font-size: 14pt;">XY Function in JMP 12</span></span></span> contains the JSL for this post, complete with axis specifications not shown here.
JSL graphics has a new XYFunc...
More on JMP 13: Preview JMP 13 | JMP and Announcing JMP 13, live from Discovery Summit | JMPjohn.ponte added some animated GIF capability to JMP 13 on Windows,Save a Bubble Plot animation as an animated GIFSave a Data Filter animation as an animated GIFHere's another example.Almost every browser less than 100 years old supports animated GIFs. JMP 13 has support for building them. The a...
Not-quite-random art generator. Notice the paint function's use of matrix indexing to avoid an explicit JSL loop to set a vertical line of pixels, more-or-less perpendicular to the path of the brush. M selects the pixels and blend1 & blend2 make the center of the wide brush stroke opaque and the edges more transparent. (Off-shoot of another project, inspired in part by Dynamic Image Generation ...
This example uses Files In Directory to get a list of all the files in a directory. It then looks for all the .jmp files, opens (and later closes) them one by one, making a summary table along the way. The $sample_data directory has sub-directories which will be in the list but are skipped by the EndsWith test. EndsWith is case sensitive; you might want EndsWith(LowerCase(filename), ".jmp") to ...
Streaming Twitter data into a JMP data table
Scroll to the end if you just want the video.
I've done some minimal testing of this JSL on Mac and Win, in JMP 11 and 12. The video takes advantage of features in a future version of JMP, but don't let that stop you. Add a comment here on your experience. The JSL is in the attached ZIP file.
This post touches, lightly, a bunch of topics.
Twitter accou...
drawing programlook in the scripting index, under MouseBox. The sample script for SetClick is a tiny sketchpad.15-puzzlewhile you are looking at MouseBox, check out the SetDropTrack script. Classic game.mazeAlong with the other samples that ship with JMP, there is a set of 3D samples. Look in Samples/Scripts/Scene3D. Check out the RatMaze JSL sample. (Read the 2nd paragraph of the comments be...
The previous post created a day/night map of the world with the day represented by a background bitmap and the night represented by hollow outlines. This example will show how to add some interesting detail to the night map by plotting IP locations, creating the yellow haze in the night section of the map below.click for bigger image... The IP locations come from files the script downloads from M...
No video this time, it seems to move all by itself. The JSL, attached below, is the first step in another project. It demonstrates drawing into a matrix (circles and text), displaying the image on the screen, and, commented-out at the end, saving the image to disk. The different size circles (nib is an old term for the part of a pen that touches the paper) are pre-rendered into an array. If yo...
Personal project, just for fun. How much does the power line frequency vary? If you do a little web searching, you'll get a bunch of answers, all of which say it varies, but with a lot of disagreement on how much, when, why.
Here in the US, the nominal frequency is 60 Hz and the nominal voltage might be 120 RMS Volts. The electric utilities on the east coast (Eastern Interconnection - Wikipedi...
Found this generator for aperiodic Penrose tile, makes a pretty picture. A JSL implementation should use recursive function calls to make it faster; expanding the string of symbols gets really slow for a really big tiling. Using transparency shows the generator code makes the same lines more than once. There is 5-way symmetry around the center. This is an 8-level deep recursion.Update: another...
There is an amazing file of words and pronunciation information at Carnegie Mellon University. Over 100 thousand words and variations. From their web site: "Its entries are particularly useful for speech recognition and synthesis, as it has mappings from words to their pronunciations in the ARPAbet phoneme set, a standard for English pronunciation. The current phoneme set contains 39 phonemes, v...
This post is an example application that can be written in JSL with JMP 12 expression columns. More JMP 12 posts.There is a .JMP file attached to this post that looks something like this:This table holds a Finite State Machine, FSM for short. If you run the Run Me script, JMP opens a window like this:which has buttons on the right to navigate between states. In this application, the room you ar...
Just had a request for a way to move data from an external program into JMP. Generally I'd recommend using CSV files for this, but if compression is an issue, maybe something else is needed. Here's a couple of proof-of-concept scripts (you'll need to make sure they do what you need). Since I don't have an external program, each script is in two parts: create a zip file from a table, then recrea...
Playing with WordNet and CMUDict (again). Starting to look interesting. The rhyme information is from the pronunciation dictionary. The drop-down in the picture contains more relationships than just synonyms (other WordNet files). The numbers to the left of the lines in the poem are syllable counts, more-or-less. Some words are not in the tables. And I'm making a guess that every syllable ha...
Your computer's clock shows you time for your local time zone. You probably know your time zone as a three letter code like EST (Eastern Standard Time) or EDT (Eastern Daylight Time) or maybe GMT (Greenwich Mean Time). GMT has several other names: UTC is a compromise acronym for scientists and Zulu is a military designation (Z, for zero).
GMT has an offset of zero; EDT is GMT-4 and EST is GMT-5...