Check out this new routine that generates an animated Fireworks show.
It is simple to make and run.
First download the 2 files. fireworks.lsp and fireworks.dcl
On your C drive create a folder called FIREWORKS. Add and .lsp .dcl file in new folder. Add folder into directory search path.
On a new dwg. Load the file. Create the slides first with c:makebombs
It will ask you for 10 points, Those points will be the bomb centers.
Then it will start generating the fireworks slides. It will take several minutes. After the slides are made. run show with c:showbombs
Depending on your processor, you can change three variables for better visualization. They are the sparks for each bomb. The number of explotions, and the number of slides.
Hope you like it.
Enjoy .
AVLISP
You can also check out the Animated US Flag in the Autolisp and VisualLIsp Forum.
I read through the notes at the top of the lsp file. You will need to create a C:\Fireworks folder then copy the lsp and dcl file into that folder and start a new drawing in that folder. After loading it, type MakeBombs first then ShowBombs for the Fireworks display.
Bennett
I like your slide animation of the 4th of July Fireworks. I didn't read the instructions before I ran it and I got the same error. But it works fine now.