A simple crown generator

Ever need a randomly generated crown? Now you have one. If you don't like the one displayed, click the button below to generate a new one. More information about these crowns below.


Click for larger image

Click and drag to spin crown, scroll to zoom, right click to move

How are these crowns generated?

I had a project that required a large number of different crowns. Rather than designing each individually, I decided to write a program a that would generate them for me. I created a number of crown elements, and came up with several different ways to arrange them. The program picks one of the ways, and then creates the crown, randomly choosing elements (metals, jewels, etc.) according the the selected pattern. The program then draws the picture of the crown "unwrapped." When you look at this page, a special script generates the animation that you see.

Can I use these crowns for my roll playing game, animation, website...?

Yes. I would be very happy to see this project used by someone else. If you have lawyers on your team, the following should satisfy them:

Anyone can use the output of this program for any purpose, without any conditions or requirements, including requirements of attribution.

And:

The output of this program is provided as is, with no warranty or guarantee of fitness for any particular purpose.

What this means in real people language is that you can do anything you want with the crowns generated here, but you can't sue me if they don't work for you.

How can I make this crown? I want to wear it.

Probably the easiest way to make the crown is to click on the "unwrapped" image above, and then print it out on paper, either from your browser or by saving and opening in another program. You will probably need to scale the image so that it fits your head. Measuring around your head with a string or tape measure and print the image that large. Cut it out, leaving a little extra on one or both sides so you can fasten it in a circle. Another good option is to use the image as a guide and cut the crown out of metalic posterboard or another heavy paper. You can then attach rhinestones, sequins, or other decorations using the image as a guide. With metalic posterboard and rhinestones, a very nice crown can be made that is relatively durrable and great for a play or pagent. Another option is to cut the crown out of felt. A crown made this way can be reused almost forever, perfect for dress up. Please do note that some shapes are more sturdy than others. Points that are very tall and skinny or only attached to the band at a few spots are generally more fragile than those that are shorter or attached all the way across the band.

How many possible crowns are there?

At one point, I calculated that there are more than 200,000 possibilities. This means that there are about that many different possible outputs from the program. As to how many are different in a meaningful way, I do not know. I also do not know if the program can actually output every possible output. In fact, the current implementation actually generates a large number of crowns beforehand (about 5,000) and then just gives you one when you click the button. For practical purposes, this is as many crowns as you could use.

Does this program create all possible crowns?

No. In particular, this progam only creates "open" crowns, crowns that are a circle of metals decorated with various shapes and possibly jewels. Many crowns, include a cap, or covering of some kind, often further decorated with jewels. This program does not generate crowns of this type. It also does not generate crowns with more than one type of jewel on them. This is relatively uncommon in real crowns. These limitations were not a problem for the project I wrote the program for, but might be for you. You are of course welcome to start with a crown generated here and make further modifications.