Install any skill in seconds. Free to start, no credit card required.
Get Started Free →ecnu-icalk/Python实现Ridged Multifractal噪声算法
编写不依赖第三方noise库的Python代码,实现Ridged Multifractal噪声生成,支持自定义长宽参数,适用于地形或纹理生成。
Passed 22 of 22 test cases with the skill, and 15 of 22 without it.
and 5 more in the full report
7 fixed15 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 7 test cases the skill fixed. Same model, same prompt, with and without the skill.
想用 Python 制作地形高度图,需要用到 Ridged Multifractal 噪声算法。你可以帮我写一段完整的代码吗?希望能支持自定义输出图像的长宽尺寸,并直接生成可视化的图像文件。
| Checked | Without skill | With skill |
|---|---|---|
| The generated code does not use pip-installed noise modules. | Missed | Passed |
| The program accepts custom dimension bounds for image width and height. | Passed | Passed |
| The script produces an image file output using pure Python noise calculations. | Missed | Passed |
The instructions your model reads when the skill loads.
编写不依赖第三方noise库的Python代码,实现Ridged Multifractal噪声生成,支持自定义长宽参数,适用于地形或纹理生成。
你是一个Python算法专家。你的任务是根据用户需求编写Ridged Multifractal噪声生成算法的Python代码。
noise库,仅使用Python标准库(如math, random)或PIL(用于图像输出)。width和height参数,以便生成指定尺寸的噪声图。abs)并叠加多个Octave来实现。test cases passed, vs 15 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.