Place four cups of corn with melted butter in food processor (or blender) and puree.
Pour into a bowl and repeat. This time add the anise seeds, salt and red pepper flakes. Pour into bowl with first batch of corn and mix well. Add cheese and mix well.
Pour into buttered baking dish and bake for 45 – 50 minutes until corn is set.