« Back to blog

A Fully Operational Pattern Creator

http://www.ideacrank.net/projects/PatternCreator/Drawing.html

I have reached a good stopping place with my pattern project.  It starts with all variables randomly selected.  Click "Generate Pattern."  If you like any part of the pattern, uncheck the "random" checkbox and it will stay the same, or add your own variables to see what it produces.  When you've found something you like, you can choose to export it as either a .jpeg or .png image. 

There is still more I want to add, but as of now, the program works.  All the inputs and check-boxes work and the input provides the information for all the variables of the current pattern.  I also cleaned up the look a bit and added a .png export button.  Jpeg is good for tiled desktop backgrounds and the like, but I wanted to be able to get png files for things like web design.  For now, I am going to take a break from the program and start applying what I've learned to some other, smaller programs.  In store for the future:

  • Slide bars for easy variable changing with results displayed immediately (i.e. dragging a slider that makes the pattern bigger without changing any other variable.
  • A larger set of pattern choices.  I have the code written for circles, hexagons, dodecagons and eight-point stars, but an interface would need to be made that could make them available without making the pixel size of the program much bigger.
  • A nicer look overall.
Though there is more to do, I am happy with how it turned out.