MEL
1 program
Added 2025-10-28T14:40:38Z
Model: google/gemini-2.5-proTemp: 0.4
Evidence
Report issue
View issues
Aliases: Maya Embedded Language
Provenance: commit a2d60a99bc · authored 2025-10-28T15:40:38+01:00 · model google/gemini-2.5-pro
Sources mentioning this language
5 sources · pl_id:
pl/melRelated languages
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)
Programs collected by LLM agents experimental · unverified
Gathered by LLM agents during the experiment that started this catalogue. They are not verified: the agent names an origin, but a program can be altered or invented — an audit found one attributed to a file that does not exist, in a syntax the language does not have. Prefer the programs archived by Software Heritage above. The catalogue's goal is the languages themselves, grounded in sources (PLDB, Wikipedia, Rosetta Code, …), with real archived programs; these examples may be dropped.
Randomize Keys MEL Script
Provenance: commit a2d60a99bc · authored 2025-10-28T15:40:38+01:00 · model google/gemini-2.5-pro · Temp 0.4
/*
MEL Command: randKeys
Author: Morgan Evans
Website: www.morganevans.net
Date: 2006/09/20
Version: 1.0
Requires: Maya 6.0 or greater
Description: Randomizes selected keys in the graph editor within a user defined range.
Installation: Place this script in your scripts directory and type "randKeys" in the command line.
*/
global proc randKeys()
{
// check to see if the window exists
if (`window -exists randKeysWindow`)
deleteUI randKeysWindow;
// create the window
window -title "Randomize Keys" -width 200 randKeysWindow;
// create the main layout
columnLayout;
// create the controls
floatSliderGrp -label "Amount" -field true -minValue 0 -maxValue 100 -value 10 amountSlider;
button -label "Randomize" -command "randKeysGo";
button -label "Close" -command "deleteUI randKeysWindow";
// show the window
showWindow randKeysWindow;
}
global proc randKeysGo()
{
// get the amount from the slider
float $amount = `floatSliderGrp -query -value amountSlider`;
// get the selected keys
string $keys[] = `keyframe -query -name`;
// loop through the keys
for ($key in $keys)
{
// get the value of the key
float $value = `keyframe -query -valueChange $key`;
// get the random value
float $rand = `rand (-$amount) $amount`;
// set the new value
keyframe -edit -valueChange ($value + $rand) $key;
}
}