48
edits
No edit summary |
|||
Line 64: | Line 64: | ||
I chose to use SVGs as I did not have time to hand-code all of the necessary shapes for the logograms. | I chose to use SVGs as I did not have time to hand-code all of the necessary shapes for the logograms. | ||
How it works: | |||
* The logograms are loaded as SVGs into Processing | |||
* When the user clicks the mouse, the HaikuGenerator generates a haiku. The program checks against preset words. If the words are located in the haiku, the matching SVGs are displayed. | |||
Things I would do differently: | Things I would do differently: | ||
* I would try to use different methods to actually convert my logograms into a usable font. PShapes were attempted in this project, but would not look as I had originally desired, so SVGs were chosen instead. | * I would try to use different methods to actually convert my logograms into a usable font. PShapes were attempted in this project, but would not look as I had originally desired, so SVGs were chosen instead. | ||
* Order the logograms correctly on the output of the haiku. They currently load randomly, which is not the desired result. | * Order the logograms correctly on the output of the haiku. They currently load randomly, which is not the desired result. | ||
* Some SVGs do not display. This is likely due to the logic of the 'if statements', and would need to be modified to work correctly. | |||
[[Image:CurrentResult.png|thumb|left|150px]] <br> | [[Image:CurrentResult.png|thumb|left|150px]] <br> |
edits