diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 473a0f4..0000000
diff --git a/10.sh b/10.sh
index d8cf850..7034d97 100644
--- a/10.sh
+++ b/10.sh
@@ -1,7 +1,8 @@
#!/bin/bash
+
for i in {1..10}
do
- python3 gradient.py
+ python3 gradients.py
sleep 1
mv grad.svg $i.svg
sleep 1
diff --git a/LICENSE b/COPYING
old mode 100644
new mode 100755
similarity index 99%
rename from LICENSE
rename to COPYING
index a5cec31..fa212b4
--- a/LICENSE
+++ b/COPYING
@@ -672,3 +672,4 @@ may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
+
diff --git a/README b/README
new file mode 100644
index 0000000..b84f5fb
--- /dev/null
+++ b/README
@@ -0,0 +1,25 @@
+ ===========================
+ Imaging with Python
+ ===========================
+
+ A Python script to generate random colour gradients. Output is in
+ SVG format and the image consists of a combination of two random
+ colours (rgb 0-255) in a random linear gradient.
+
+ The Python script will output one gradient file. Combine it with
+ 10.sh to generate 10 random gradients.
+
+
+ Examples
+ ---------------
+
+ Examples are provided in the /examples folder of this project. I
+ use some as image backgrounds on my blog -- see https://cybrkyd.com
+
+
+ Licence
+ ---------------
+
+ This project is made available under a GPL3 licence -- see COPYING
+ for the full text.
+
diff --git a/README.md b/README.md
deleted file mode 100644
index 04ef903..0000000
--- a/README.md
+++ /dev/null
@@ -1,22 +0,0 @@
- # Imaging with Python
-
- A Python script to generate random colour gradients. Output is in SVG format and the image consists of a combination of two random colours (rgb 0-255) in a random linear gradient.
-
- The Python script will output one gradient file; combine it with **10.sh** to generate 10 random gradients.
-
- ## Examples
-
- 
-
- 
-
- 
-
- 
-
-
- I use some as image backgrounds on my blog - see https://cybrkyd.com
-
- ## Licences
- Imaging with Python is available under a [GPL3 license](https://codeberg.org/cybrkyd/imaging-with-python/src/branch/main/LICENSE).
-
diff --git a/examples/1.svg b/examples/1.svg
new file mode 100644
index 0000000..581bd3e
--- /dev/null
+++ b/examples/1.svg
@@ -0,0 +1,10 @@
+ <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1400 400">
+ <rect width="1400" height="400"/>
+ <defs>
+ <linearGradient id="a" x1="34%" y1="33%" x2="77%" y2="39%">
+ <stop offset="0%" style="stop-color:rgb(84,217,95);stop-opacity:1" />
+ <stop offset="100%" style="stop-color:rgb(235,156,81);stop-opacity:1" />
+ </linearGradient>
+ </defs>
+ <rect fill="url(#a)" width="1400" height="400"/>
+ </svg>
\ No newline at end of file
diff --git a/examples/10.svg b/examples/10.svg
new file mode 100644
index 0000000..8564f60
--- /dev/null
+++ b/examples/10.svg
@@ -0,0 +1,10 @@
+ <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1400 400">
+ <rect width="1400" height="400"/>
+ <defs>
+ <linearGradient id="a" x1="67%" y1="2%" x2="34%" y2="96%">
+ <stop offset="0%" style="stop-color:rgb(96,76,110);stop-opacity:1" />
+ <stop offset="100%" style="stop-color:rgb(204,115,227);stop-opacity:1" />
+ </linearGradient>
+ </defs>
+ <rect fill="url(#a)" width="1400" height="400"/>
+ </svg>
\ No newline at end of file
diff --git a/examples/2.svg b/examples/2.svg
new file mode 100644
index 0000000..c9b5a1e
--- /dev/null
+++ b/examples/2.svg
@@ -0,0 +1,10 @@
+ <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1400 400">
+ <rect width="1400" height="400"/>
+ <defs>
+ <linearGradient id="a" x1="83%" y1="88%" x2="21%" y2="78%">
+ <stop offset="0%" style="stop-color:rgb(32,113,105);stop-opacity:1" />
+ <stop offset="100%" style="stop-color:rgb(210,65,216);stop-opacity:1" />
+ </linearGradient>
+ </defs>
+ <rect fill="url(#a)" width="1400" height="400"/>
+ </svg>
\ No newline at end of file
diff --git a/examples/3.svg b/examples/3.svg
new file mode 100644
index 0000000..1e4b9f3
--- /dev/null
+++ b/examples/3.svg
@@ -0,0 +1,10 @@
+ <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1400 400">
+ <rect width="1400" height="400"/>
+ <defs>
+ <linearGradient id="a" x1="51%" y1="77%" x2="91%" y2="39%">
+ <stop offset="0%" style="stop-color:rgb(192,105,13);stop-opacity:1" />
+ <stop offset="100%" style="stop-color:rgb(217,85,192);stop-opacity:1" />
+ </linearGradient>
+ </defs>
+ <rect fill="url(#a)" width="1400" height="400"/>
+ </svg>
\ No newline at end of file
diff --git a/examples/4.svg b/examples/4.svg
new file mode 100644
index 0000000..b7577f4
--- /dev/null
+++ b/examples/4.svg
@@ -0,0 +1,10 @@
+ <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1400 400">
+ <rect width="1400" height="400"/>
+ <defs>
+ <linearGradient id="a" x1="90%" y1="51%" x2="30%" y2="53%">
+ <stop offset="0%" style="stop-color:rgb(85,15,4);stop-opacity:1" />
+ <stop offset="100%" style="stop-color:rgb(236,136,25);stop-opacity:1" />
+ </linearGradient>
+ </defs>
+ <rect fill="url(#a)" width="1400" height="400"/>
+ </svg>
\ No newline at end of file
diff --git a/examples/5.svg b/examples/5.svg
new file mode 100644
index 0000000..eb1742e
--- /dev/null
+++ b/examples/5.svg
@@ -0,0 +1,10 @@
+ <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1400 400">
+ <rect width="1400" height="400"/>
+ <defs>
+ <linearGradient id="a" x1="76%" y1="19%" x2="44%" y2="65%">
+ <stop offset="0%" style="stop-color:rgb(235,229,111);stop-opacity:1" />
+ <stop offset="100%" style="stop-color:rgb(218,42,254);stop-opacity:1" />
+ </linearGradient>
+ </defs>
+ <rect fill="url(#a)" width="1400" height="400"/>
+ </svg>
\ No newline at end of file
diff --git a/examples/6.svg b/examples/6.svg
new file mode 100644
index 0000000..044aabf
--- /dev/null
+++ b/examples/6.svg
@@ -0,0 +1,10 @@
+ <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1400 400">
+ <rect width="1400" height="400"/>
+ <defs>
+ <linearGradient id="a" x1="82%" y1="71%" x2="42%" y2="38%">
+ <stop offset="0%" style="stop-color:rgb(128,229,4);stop-opacity:1" />
+ <stop offset="100%" style="stop-color:rgb(103,107,131);stop-opacity:1" />
+ </linearGradient>
+ </defs>
+ <rect fill="url(#a)" width="1400" height="400"/>
+ </svg>
\ No newline at end of file
diff --git a/examples/7.svg b/examples/7.svg
new file mode 100644
index 0000000..f6949bb
--- /dev/null
+++ b/examples/7.svg
@@ -0,0 +1,10 @@
+ <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1400 400">
+ <rect width="1400" height="400"/>
+ <defs>
+ <linearGradient id="a" x1="38%" y1="17%" x2="76%" y2="87%">
+ <stop offset="0%" style="stop-color:rgb(215,194,231);stop-opacity:1" />
+ <stop offset="100%" style="stop-color:rgb(43,50,251);stop-opacity:1" />
+ </linearGradient>
+ </defs>
+ <rect fill="url(#a)" width="1400" height="400"/>
+ </svg>
\ No newline at end of file
diff --git a/examples/8.svg b/examples/8.svg
new file mode 100644
index 0000000..f8aa79f
--- /dev/null
+++ b/examples/8.svg
@@ -0,0 +1,10 @@
+ <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1400 400">
+ <rect width="1400" height="400"/>
+ <defs>
+ <linearGradient id="a" x1="12%" y1="69%" x2="57%" y2="0%">
+ <stop offset="0%" style="stop-color:rgb(195,16,173);stop-opacity:1" />
+ <stop offset="100%" style="stop-color:rgb(81,82,156);stop-opacity:1" />
+ </linearGradient>
+ </defs>
+ <rect fill="url(#a)" width="1400" height="400"/>
+ </svg>
\ No newline at end of file
diff --git a/examples/9.svg b/examples/9.svg
new file mode 100644
index 0000000..2208b63
--- /dev/null
+++ b/examples/9.svg
@@ -0,0 +1,10 @@
+ <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1400 400">
+ <rect width="1400" height="400"/>
+ <defs>
+ <linearGradient id="a" x1="33%" y1="80%" x2="68%" y2="81%">
+ <stop offset="0%" style="stop-color:rgb(202,137,1);stop-opacity:1" />
+ <stop offset="100%" style="stop-color:rgb(169,133,179);stop-opacity:1" />
+ </linearGradient>
+ </defs>
+ <rect fill="url(#a)" width="1400" height="400"/>
+ </svg>
\ No newline at end of file
diff --git a/examples/w.png b/examples/w.png
deleted file mode 100644
index 455b449..0000000
Binary files a/examples/w.png and /dev/null differ
diff --git a/examples/x.png b/examples/x.png
deleted file mode 100644
index 439e83c..0000000
Binary files a/examples/x.png and /dev/null differ
diff --git a/examples/y.png b/examples/y.png
deleted file mode 100644
index c54562a..0000000
Binary files a/examples/y.png and /dev/null differ
diff --git a/examples/z.png b/examples/z.png
deleted file mode 100644
index 60b75e8..0000000
Binary files a/examples/z.png and /dev/null differ
diff --git a/gradients.py b/gradients.py
index 184fa25..851f75c 100644
--- a/gradients.py
+++ b/gradients.py
@@ -1,3 +1,5 @@
+ #!/usr/bin/env python3
+
import random
class rand():