TL;DR
PHP-Noise is a free API that generates procedural noise textures using various algorithms including Perlin noise, simplex noise, value noise, and Worley (cellular) noise. Configure dimensions, scale, octaves, seed, and output format. Generate terrain heightmaps, cloud textures, marble patterns, and organic-looking procedural textures. Returns PNG images or raw data arrays. No API key. Perfect for game developers, generative artists, and procedural content generation.
Quick start: https://php-noise.com/noise/512/512/?c=5&f=0.3&s=0.5&o=4&t=Perlin
No API key needed — just make a request!
How to Use This API
1. Generate Perlin Noise Texture
https://php-noise.com/noise/512/512/?c=5&f=0.3&s=0.5&o=4&t=Perlin
2. JavaScript — Embed Noise Image
const noiseUrl = 'https://php-noise.com/noise/256/256/?' +
new URLSearchParams({
c: 5, // color scheme
f: 0.3, // frequency
s: 0.5, // seed
o: 4, // octaves
t: 'Turbulence'
});
document.getElementById('noise').src = noiseUrl;
3. Python — Generate and Save
import requests
params = {
'c': 3, # Color scheme (1-10)
'f': 0.2, # Frequency
's': 0.7, # Seed
'o': 5, # Octaves
't': 'Perlin' # Type
}
img = requests.get(
'https://php-noise.com/noise/512/512/',
params=params
).content
with open('terrain_noise.png', 'wb') as f:
f.write(img)
print(f"Saved terrain_noise.png ({len(img)} bytes)")
https://php-noise.com/noise/512/512/?c=5&f=0.3&s=0.5&o=4&t=Perlin
Frequently Asked Questions
- What noise types are available?
- Perlin, Simplex, Value, Worley (Cellular), Turbulence, Marble, Wood, Clouds, and more. Each produces a different visual style for different applications.
- What parameters can I configure?
- Width/height (max 1024), color scheme (c: 1-10), frequency (f: 0.01-1.0), seed (s: 0-1), octaves (o: 1-8), and noise type (t).
- What output format is used?
- The API returns PNG images directly. Set the URL as an image source or download the binary data. No JSON metadata is returned — just raw image data.
- Can I control the colors?
- Choose from 10 built-in color schemes via the
cparameter. Different schemes produce different palette mappings based on the noise values. - What are octaves?
- Octaves control the level of detail. More octaves (higher number) produce more detailed, complex noise patterns. Each octave doubles the frequency.
- Is there a rate limit?
- PHP-Noise is a free service. Reasonable usage is permitted. Images are generated on-demand and may take a moment depending on size and octave count.
API Details
- API URL
https://php-noise.com/noise/{width}/{height}/- Documentation
- php-noise.com
- Category
- Developer Tools
- Authentication
- Not Required
- Geographic Coverage
- Global
What You Can Build
- Game terrain generator creating heightmaps from procedural noise
- Procedural texture tool for generating seamless backgrounds and patterns
- Cloud image generator for skybox textures in 3D applications
- Generative art gallery producing unique abstract noise artworks
- Procedural map generator with biomes determined by noise value ranges