summaryrefslogtreecommitdiff
path: root/graphics/pstricks/contrib/pst-moire/README.md
blob: 0d921bc9c41cbc476d7d26cb28e5253d1f266020 (plain)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# **README** #
# pst-moire v. 2.2 #
# 2021/09/03 #

    Source:      pst-moire.tex, pst-moire.sty, pst-moire.pro
    Authors:     Jürgen Gilg, Manuel Luque, Jean-Michel Sarlat
    Info:        Draw moire pattern with PSTricks
    License:     LPPL 1.3c

---

# Short description #

The *pst-moire* package makes it possible to very simply create 
a variety of patterns obtained either by dragging one pattern on another, 
or by rotating one on the other. Moire effects sometimes look very interesting. 
This document provides the necessary commands and divers examples.

---

# **CHANGES COMPARED TO VERSION 1.0** #

The documentation is better structured and there were added some more
explanations for each type of moiré

---

The **type=circle** gets two new keys to be more flexible:
    
    n     Number of circles
    T     Distance between two adjacent circles in mm

The key **Rmax** is therefore out of effect. The image width/height is now 
calculated by  *n x T*. 

Scaling can be done by setting the usual PSTricks key **unit=**.

---

The **type=linear** gets two new keys to be more flexible:
    
    n     Number of the lines -1
    T     Distance between the middle two adjacent lines in mm

The key **2 \* Rmax** is the height of the lines. The image width is now 
calculated by *n x T*.

---

Adding a new command **\\addtomoirelisttype** 

This is to generate customers patterns to then be used as **type=...**

---

Adding a new section: **Random moirés**

Showing the effects that occur, when randomly placed dots within a square
overlap by the actions rotation or magnification or both of them.

Adding a new command **\\psRandomDot**

---

Adding a new section: **Glass-patterns**

Adding a new command **\\psGlassPattern**

# **CHANGES COMPARED TO VERSION 2.0** #

Adding a new command **\\psRandomDotPatterns**