File: rosette

package info (click to toggle)
wims 2%3A4.29a%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 185,704 kB
  • sloc: xml: 366,687; javascript: 120,570; ansic: 62,341; java: 62,170; sh: 7,744; perl: 3,937; yacc: 3,217; cpp: 1,915; lex: 1,805; makefile: 1,084; lisp: 914; pascal: 601; python: 520; php: 318; asm: 7
file content (25 lines) | stat: -rw-r--r-- 1,528 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
slib_lang_exists_tmp=yes

slib_title=Draw a rosette
slib_parms=6\
,type of rosette: <span class="tt">cn</span> cyclic or <span class="tt">dn</span> dihedral\
,number of repetition of the rosette module\
,initial angle (degrees)\
,flydraw code of the rosette module\
raw,option word : <span class="tt">url</span>, <span class="tt">html</span> or <span class="tt">raw</span>\
200,image size (only for options <span class="tt">url</span> or <span class="tt">html</span>, in case of <span class="tt">raw</span> the size must be given in the oef code)

slib_out=Drawing of cyclic or dihedral rosette.
slib_comment=The rosette is drawn by applying rotations \
and reflections to the given module, according to the chosen symmetry group. \
The module parameter can contain any flydraw code (included in square \
brackets). In order to get a drawing with the requested symmetry type, \
you have to take care that the given module is asymmetrical and that any \
<em>overlapping</em> is coherent with the applied transformations \
(e.g. the module should be contained in the square \
(0,0)(0,sqrt(2)),(sqrt(2),sqrt(2)),(sqrt(2),0)). You have to be \
particularly careful if you use multiple colours (as shown in some of the \
examples below). \
The first item of the output is: by default, the flydraw code (option word <span class="tt">raw</span>); \
the address of the generated image if the option word is <span class="tt">url</span> ; \
the html code for inserting image if the option word is the option <span class="tt">html</span>.