aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominic Matarese <dominicmatarese@gmail.com>2023-01-30 18:18:13 -0500
committerDominic Matarese <dominicmatarese@gmail.com>2023-01-30 18:18:13 -0500
commit4c2069ceefb9be500754bdbbf1b2129d0dc3ace6 (patch)
treed44f98ae82709283ee8af677d91f1ecf88dbc2e3
parent44e035afae63978d020fbc4dedc63456def66787 (diff)
added documentationHEADmaster
-rw-r--r--readme.md33
1 files changed, 33 insertions, 0 deletions
diff --git a/readme.md b/readme.md
new file mode 100644
index 0000000..da1ed95
--- /dev/null
+++ b/readme.md
@@ -0,0 +1,33 @@
+
+# 2D Graphics Manipulator
+
+This is a Java program that demonstrates the manipulation of 2D graphics using the `java.awt.*` package and a `Graphics2D` object. It can generate a fractal image, convert pixels of an existing image to greyscale, and generate a random image where each pixel is a random color. The input image is hardcoded as input.jpg and located in the working directory, and the output images are also saved in the working directory.
+
+## Features
+
+- Generate fractal images using recursion
+- Convert existing images to greyscale
+- Generate random images with random colored pixels
+
+## Dependencies
+
+- Java Development Kit (JDK)
+- IDE (Integrated Development Environment) or a text editor
+
+## Usage
+```
+javac main.java
+java main
+```
+
+1. The program will execute all three functions: `generateRandom`, `generateFractal`, and `convertGrayscale`.
+
+## Note
+
+- The program uses recursion and image processing techniques to generate fractal images and to perform image manipulation
+- The program uses the `java.awt.*` package and a `Graphics2D` object to perform image manipulation
+- The input image is hardcoded and located in the working directory, the output images are also saved in the working directory.
+
+## License
+
+This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.