File: bezier.tex

package info (click to toggle)
texlive-base 2018.20190227-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 680,080 kB
  • sloc: perl: 39,836; sh: 6,386; makefile: 3,708; ruby: 2,412; ansic: 2,266; xml: 1,686; cpp: 695; awk: 606; python: 583; tcl: 541; lisp: 86; php: 65; sed: 8
file content (43 lines) | stat: -rw-r--r-- 710 bytes parent folder | download | duplicates (9)
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
\input preamble.tex

% ---------------------------------------------------------------------------
\begin{document}
\begin{center}
{\Huge\bf{Quadratic}}
\bigskip

\begin{lapdf}(16,8)(-8,-4)
 \Blue
 \Quadratic(-8,0)
  (-4,+8)(+0,0)
  (+4,-8)(+8,0)
  (+4,+8)(+0,0)
  (-4,-8)(-8,0) \Stroke
 \Point(1)(-8,0)
 \Point(1)(+0,0)
 \Point(1)(+8,0)
\end{lapdf}

\em{4 quadratic Bezier curves}
\end{center}
\bigskip

\begin{center}
{\Huge\bf{Cubic}}
\bigskip

\begin{lapdf}(16,6)(-8,-3)
 \Red
 \Cubic(-8,0)
  (-5,-8)(-3,8)(+0,0)
  (+3,-8)(+5,8)(+8,0)
  (+5,-8)(+3,8)(+0,0)
  (-3,-8)(-5,8)(-8,0) \Stroke
 \Point(1)(-8,0)
 \Point(1)(+0,0)
 \Point(1)(+8,0)
\end{lapdf}

\em{4 cubic Bezier curves}
\end{center}
\end{document}