Starry sky
A script-fu for The Gimp
Example
Description
"Starry sky" is a script-fu for the Gimp.
It generates a nighty sky image with plenty of stars. You choose the number of stars. The stars are placed at random positions. You'll never get twice the same image. The luminosity and contrast of the background are configurable too.
The script has been tested with The Gimp version 2.2.9 on Linux SuSE and with The Gimp version 2.2.10 on Windoze.
The script version 1.10 has been tested with The Gimp version 2.4.0 on Linux Ubuntu 7.10 Gutsy Gibbon.
Versions
2007.10.24 : The current version is 1.10 and has been adapted to The Gimp 2.4.
Download:
Click into the blue frame below where the script is listed.
Type
Control-A to select the complete text of the script.
Type
Control-C to copy the script to the clipboard.
Go to your text editor (gedit, Kate, Aedix, Notepad, etc) and type
Control-V to paste the script.
Save it as a file named
starry-sky.scm
Linux Ubuntu or other Gnome: use the text editor gedit or bluefish
Linux Kubuntu or other KDE: use the text editor Kate or Quanta
Mac OS X: use the text editor Smultron
Windoze:
use the text editor Aedix (free), or Notepad (but beware of the file extension .txt which is unwanted, the script file must have the extension .scm and not .scm.txt)
Other text editors are ok too, but word processors are not. Do not use Word, OpenOffice or similar tools.
Installation:
Copy
starry-sky.scm into one of the directories registered in the Gimp preferences under Folders/Scripts.
Linux Ubuntu and many others:
/home/[username]/.gimp-2.n/scripts or
/usr/share/gimp/2.0/scripts
Linux SuSE:
/home/[username]/.gimp-2.n/scripts or
/opt/gnome/share/gimp/2.0/scripts
Windoze:
C:\.gimp-2.n\scripts or
C:\program-files\gimp2.n\share\gimp\scripts
Then go to the menu Xtns (in The Gimp) and select
Xtns / Script-Fu / Refresh Scripts. That's it.
The script can be called in the menu
Xtns / Script-Fu / Patterns / Starry Sky...
Script-fu starry-sky.scm for The Gimp (english version)
Sponsorship
If you find the script 'Starry sky' useful and want to support the developer, you can
License
The
GNU general public license applies to the script-fu
starry-sky.scm above.