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/mel
LLM (this repo) · 1WikipediaEsolangRosettacodeWikidata · Q3304832

Related languages

Maya MEL (0.97)Maya Embedded Language (0.87)ML (0.35)MINOL (0.30)MML (0.29)

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
code.mel · added: 2025-10-28T14:40:38Z
/*
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;
	}
}

Contribute — propose a file extension

Tell us where to find evidence about MEL (mapped to pl/mel). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/MEL/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← MegaZeux Melanjan →