Homelearning_to_draw_01-1 exhibited at '20x20' 2017 at Access Space, Sheffield

learning_to_draw_01-1 exhibited at '20x20' 2017 at Access Space, Sheffield

I submitted a recently completed drawing from my project learning_to_draw_01 to the open call for work to exhibit in '20x20' at Access Space in Sheffield.

learning_to_draw_01-1 on display at Access Space learning_to_draw_01-1

The drawing is generated by a recurrent neural network after training on a dataset of vector sequences. The sequences represent a collection of variously sized squares which fit within another bounding square. For each of the bounding squares the neural network is trained a different number of times, a few starting points are chosen at random and passed to the network, the network then generates four vectors for each side of a square.

learning_to_draw_01-1 close up

The neural network is constructed with Keras LSTM layers, the output from which is transformed into G-code and fed into a homemade pen plotter to draw each generated square to paper.

learning_to_draw_01-1 close up

Sometimes the generated square side vectors fit within the bounding square and resemble a square in shape, other times the shape is not closed and the lines come directly from the default initialised network weights.

The higher the number of training iterations the more likely it is that the selected starting point will result in a more precise and joined up square. This is directly dependent on the training data and whether or not the starting point randomly chosen is covered within it.

learning_to_draw_01-1 close up learning_to_draw_01-1