DRAWING A 5-POINT STAR

an Image Magick tutorial by Flo



  1. Go to the Image Magick site. Do NOT enter any image url.


  2. Instead, scroll down to page bottom. Click on Implicit under Format and scroll to xc and click again. Delete numbers in Size box and type in 200x200.


  3. In Meta box under the Size box, type in the word transparent. Leave all other settings as is.


  4. Scroll up and click on View, under the url box.


  5. On next screen click on Draw among the tabs.


  6. Choose Polyline from the Primitives.


  7. Enter the following into the Coordinates box:



  8. Type in Fill and Stroke colors. Stroke width=2. Click on Draw, under Coordinates box.


  9. Output as a gif, Image Type - Truecolor Matte, to maintain the transparent background.




The above coordinates make a perfect 5-point star.

To skew a star, change the three 75s in the
above coordinates to other numbers.
Experiment and have fun.


60 - 100 - 60 150 - 50 - 150


Amputate!
150 - 50 - 100
Droopy Drawers
150 - 150 - 150


The technique for the equal-armed star was discovered by BeeDiana. She used the Arc primitive instead of the Polyline and Flo modified it for this tute.

Back to Flo's Image Magick Draw Tutes

5-Pt Star ~ Simple Lines ~ TIPS
Skewing Lines ~ Extreme Lines
Scale & Translate
Rotating Lines ~ Polylines & Polygons


Back to Flo's Image Magick Draw Tutes

Monday 14th of October 2024 12:47:31 AM

Flo's Image Magick Tutes
Flo's Other Tutes


by Tone By Tone Dot Net

Tandem Tooters
~ Arbor Hosting ~