POV-Ray : Newsgroups : povray.general : Creating a 5 point star? : Re: Creating a 5 point star? Server Time
3 Aug 2024 22:12:33 EDT (-0400)
  Re: Creating a 5 point star?  
From: Warp
Date: 29 Sep 2003 06:05:46
Message: <3f7803fa@news.povray.org>

> prism { linear_sweep 0, 1, 11,
>   <P1.x, P1.y>, <IP1.x, IP1.y>,
>   <P2.x, P2.y>, <IP2.x, IP2.y>,
>   <P3.x, P3.y>, <IP3.x, IP3.y>,
>   <P4.x, P4.y>, <IP4.x, IP4.y>,
>   <P5.x, P5.y>, <IP5.x, IP5.y>,
>   <P1.x, P1.y>

  You only need the first 10 points. That last point is obsolete.

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.