Looking back at my project I feel there are many spaces for improvement and I could have done things differently to speed up the process. The way I chose to do my project I don't regret though because I am quite happy with the outcome. Because although others worked for the final project I strongly tried to design the system in which the artwork was built under. The artwork took a rather large time to just figure out the dimensions before production but I feel it was worth it because now my class can look upon it and think about who they are. Do they write with creative intent or do they write without the use of creative words? This was only a small graph and group but I feel like it can say something about students studying creative and design courses, how they can be so different in their thinking.
The coding part of the project was probably the most difficult aswell as the most time-consuming. I tried to find different ways to create the code to show experimentation and this was a huge learning experience for me as I never learnt about this part of programming before.Â
Some of the codes I tried follows:
- Learning about how API programming through XML data works and trying out different codes.
int noMatches = 0;
String lines[] = loadStrings("http://fnicholascreativetech.tumblr.com/api/read?start=0");
Public int count(String word, String line){
pattern pattern = Pattern.compile(word);
Matcher matcher = Pattern.matcher(line);
int counter = 0;
while (matcher.find(0)) counter++;
return counter;}*/
for (int i = 0 ; i < lines.length; i++) {
String[] matched = match(lines[i], "creative");
String[] matched2 = match(lines[i], "art");
String[] matched3 = match(lines[i], "design");
String[] matched4 = match(lines[i], "create");
String[] matched5 = match(lines[i], "change");
println("Creativity level " + lines.length);
println(lines[1]);
if(matched != null){
println(matched[1]);
}
println(lines[i]);
- Trying a new code within eclipse which is a java program that is simply amazing. I only experiemented with in for a few weeks but it's UI is very easy to use and enjoyable. This code uses a counter library called tokenizer. It was probably the hardest code to understand but after I place in the classes etc it worked to an extent but I needed to keep changing this code and it gave me wrong results each time. Looking at this now I feel like it was time consuming but it gave me knowledge of full java code and how it works which is priceless.
String readLine = "";
int count = 0;
while((readLine = br.readLine())! = null){ // loop goes on till the end of the file
StringTokenizer st = new StringTokenizer(readLine, " ");
int size = st.countTokens(); // gets total number of tokens of the line
for (int i=0;i<size;i++){
String word = st.nextToken();// gets the first word
if(word.equals("art")|| word.equals("design") || word.equals("create") || word.equals("change")){
count ++; //increase count by 1
}
}
}
- This Final code is my submitted one. It is simple and does exactly what I want it to, looking for a complex code took a while and I think reflecting on it now, if the simple code does the intended job I should stick with it but learning about different choices when coding was very informative.
int noMatches = 0;
String lines[] = loadStrings("http://fnicholascreativetech.tumblr.com/api/read?start=0"); // Loads XML Tumblr link
for (int i = 0 ; i < lines.length; i++) {
String[] matched = match(lines[i], "Creative|Create|Design|Imagine|Develop "); // Searches for words through each line
if (matched != null) { // NoMatches begins with 0 if there is a match then add 1.
noMatches++;
}
}
println("This is the number of occurances of Creative Words in the text: " + noMatches); //Prints number of times words are repeated
The Mathematics side which I explained in my Final artwork submission is devised to give the graph a mathematical and informative use. I used the circles simplicity to my advantage to create knowledgeable graphs. The Mathematics took a long time to complete the entire class but I felt like I could agree with most of the results judging from the way people talked to me. The Mathematics I used in this project were used because they remind me of graphs that are subconsciously in my memory which I keep thinking of when I'm thinking about graph use. I feel as though this project went smoothly internally and externally.
After completing the completing the artwork mathematically I thought about how I could design it to look more appealing. One thing I did not want to do is make it complex, I want to viewer to see this graph and be able to understand my intentions. In the end I chose to go a transparent look with randomized spacing to show that it was not used for representation. I am happy with my final look because it is a simple and easy to understand, but it was created using experimental coding research and mathematical expressions.
My final reflective words on my project is that this project came from my ambitions of wanting to create something with code that I did not understand at first and looking back and then to now I have learnt alot in the coding department and how to use XML data with processing to find items. The artwork is pushed through from past experiences with creative graphs shown to me and the mathematics is used to decode the coding into the artwork using newly created mathematics equations. It has been a long and sleepless final few weeks but now I feel as though everything has payed off and I am glad I chose to complete this project as it has shown me alot about coding and graphing that I will be able to use in the future.