<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to random_surface</title><link>https://sourceforge.net/p/arcanfe/wiki/random_surface/</link><description>Recent changes to random_surface</description><atom:link href="https://sourceforge.net/p/arcanfe/wiki/random_surface/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 16 Jun 2012 11:14:36 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/arcanfe/wiki/random_surface/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage random_surface modified by Björn Ståhl</title><link>https://sourceforge.net/p/arcanfe/wiki/random_surface/</link><description>&lt;pre&gt;--- v1
+++ v2
@@ -1,4 +1,4 @@
-**definition:**
+**declaration:**
 
 ~~~~
     function random_surface(width, height) =&gt; vid or BADID
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Björn Ståhl</dc:creator><pubDate>Sat, 16 Jun 2012 11:14:36 -0000</pubDate><guid>https://sourceforge.net00a12ca1a899e40e79d6748138988d692cd4ee29</guid></item><item><title>WikiPage random_surface modified by Björn Ståhl</title><link>https://sourceforge.net/p/arcanfe/wiki/random_surface/</link><description>**definition:**

~~~~
    function random_surface(width, height) =&gt; vid or BADID
~~~~

Generates a pseudo-random (poor) image in the interval (20-255) with the same value in all colour-channels. Will only ever return BADID when out of memory or VIDs in the current context.

** future changes / deprecation: **

Mostly used as a quick hack and should ideally be replaced with a proper and quick noise- function where you can specify the frequency and number of octaves wanted. Then it can be used for lots of tasty 3d tricks.

**related functions:**
[fill_surface]

**caveats:**</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Björn Ståhl</dc:creator><pubDate>Sat, 16 Jun 2012 11:14:20 -0000</pubDate><guid>https://sourceforge.netfd5c5bc01fd2e76d8ba03a07d4e2e1e68db57bce</guid></item></channel></rss>