Combine sugar, corn syrup, anti-foaming elements (such as wax), color, flavor ( chilli powder, Tabasco sauce and various other ingredients in a vat. Boil until the syrup reaches the desired consistency. Then you shape them ( i use tin foil greased shaped to size ) also line the tine foil with some sugar then leave to set. I like my jelly beans to be black and red .