/[3dldf]/3dldf/Group/ANIMATNS/TITLES/titles_2.ldf
ViewVC logotype

Annotation of /3dldf/Group/ANIMATNS/TITLES/titles_2.ldf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Wed Jul 18 13:00:44 2007 UTC (16 years, 11 months ago) by lfinsto1
Branch: MAIN
Changes since 1.3: +48 -49 lines
Updated copyright and license information.

1 lfinsto1 1.2 %%%% titles_2.ldf
2 lfinsto1 1.1 %%%% Created by Laurence D. Finston (LDF) So Aug 14 18:45:55 CEST 2005
3    
4 lfinsto1 1.4 % $Id: titles_2.ldf,v 1.6 2007/07/18 12:20:47 lfinsto1 Exp $
5 lfinsto1 1.1
6 lfinsto1 1.4 %% * (1) Copyright and License.
7 lfinsto1 1.1
8 lfinsto1 1.4 %%%% This file is part of GNU 3DLDF, a package for three-dimensional drawing.
9     %%%% Copyright (C) 2003, 2004, 2005, 2006, 2007 The Free Software Foundation
10 lfinsto1 1.1
11 lfinsto1 1.4 %%%% GNU 3DLDF is free software; you can redistribute it and/or modify
12     %%%% it under the terms of the GNU General Public License as published by
13     %%%% the Free Software Foundation; either version 3 of the License, or
14     %%%% (at your option) any later version.
15    
16     %%%% GNU 3DLDF is distributed in the hope that it will be useful,
17     %%%% but WITHOUT ANY WARRANTY; without even the implied warranty of
18     %%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19     %%%% GNU General Public License for more details.
20    
21     %%%% You should have received a copy of the GNU General Public License
22     %%%% along with GNU 3DLDF; if not, write to the Free Software
23     %%%% Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24    
25     %%%% GNU 3DLDF is a GNU package.
26     %%%% It is part of the GNU Project of the
27     %%%% Free Software Foundation
28     %%%% and is published under the GNU General Public License.
29     %%%% See the website http://www.gnu.org
30     %%%% for more information.
31     %%%% GNU 3DLDF is available for downloading from
32     %%%% http://www.gnu.org/software/3dldf/LDF.html.
33     %%%% It is also available from
34     %%%% http://www.dante.de/software/ctan/, the Dante www-server
35     %%%% and from http://wwwuser.gwdg.de/~lfinsto1,
36     %%%% the author's website.
37    
38     %%%% Please send bug reports to lfinsto1@gwdg.de
39     %%%% The mailing list help-3dldf@gnu.org is available for people to
40     %%%% ask other users for help.
41     %%%% The mailing list info-3dldf@gnu.org is for sending
42     %%%% announcements to users. To subscribe to these mailing lists, send an
43     %%%% email with ``subscribe <email-address>'' as the subject.
44    
45     %%%% The author can be contacted at:
46    
47     %%%% Laurence D. Finston
48     %%%% c/o Free Software Foundation, Inc.
49     %%%% 51 Franklin St, Fifth Floor
50     %%%% Boston, MA 02110-1301
51     %%%% USA
52    
53     %%%% lfinsto1@gwdg.de
54     %%%% s246794@stud.uni-goettingen.de
55 lfinsto1 1.1
56    
57     %% * (1) Beginning of 3DLDF code.
58    
59     %% ** (2) Run these commands:
60     %% make run
61     %% cnepspng titles_2 0 47
62     %% mogrify -geometry 640x480! titles_2_*.png
63     %% See 'convert.el' for further instructions on creating an MPEG file.
64    
65     %% ** (2) Fonts.
66    
67     verbatim_metapost "verbatimtex \font\Largebx=cmbx12 etex";
68     verbatim_metapost "verbatimtex \font\Large=cmr12 scaled 2000 etex";
69     verbatim_metapost "verbatimtex \font\large=cmr17 etex";
70     verbatim_metapost "verbatimtex \font\largebx=cmbx17 etex";
71     verbatim_metapost "verbatimtex \font\bigit=cmti11 etex";
72     verbatim_metapost "verbatimtex \font\normal=cmr10 etex";
73     verbatim_metapost "verbatimtex \font\small=cmr6 etex";
74    
75     %% ** (2)
76    
77     w := 6.4cm;
78     h := 4.8cm;
79    
80     w *= 4;
81     h *= 4;
82    
83     w /= 1.1375;
84     h /= 1.1375;
85    
86     pen_width := .75mm;
87    
88     frame_w := w - .5pen_width;
89     frame_h := h - .5pen_width;
90    
91     path frame;
92     frame := origin -- (frame_w, 0) -- (frame_w, frame_h)
93     -- (0, frame_h) -- cycle;
94    
95     shift frame (-.5frame_w, -.5frame_h);
96    
97     picture frame_picture;
98    
99    
100 lfinsto1 1.2 %% ** (2) Set up frame.
101 lfinsto1 1.1
102 lfinsto1 1.2 beginfig(0);
103 lfinsto1 1.1 draw frame with_pen pensquare scaled (pen_width, pen_width, pen_width);
104     frame_picture := current_picture;
105 lfinsto1 1.2 endfig with_projection parallel_x_y;
106     endfor;
107    
108     for i = 1 upto 4:
109     beginfig(i);
110     current_picture := frame_picture;
111 lfinsto1 1.1 endfig with_projection parallel_x_y;
112     endfor;
113    
114     %% *** (3)
115    
116     j := 0;
117     for i = 5 upto 19:
118     scale_value := 1 + .5j;
119     beginfig(i);
120     label("{\Largebx Coming Soon}", origin) scaled (scale_value, scale_value)
121     with_text_color red;
122     current_picture += frame_picture;
123     endfig with_projection parallel_x_y;
124     j += 1;
125     endfor;
126    
127    
128     scale_value := 8;
129    
130     for i := 20 upto 23:
131     beginfig(i);
132     label("{\Largebx Coming Soon}", origin) scaled (scale_value, scale_value)
133     with_text_color red;
134     current_picture += frame_picture;
135     endfig with_projection parallel_x_y;
136     endfor;
137    
138     %% ** (2)
139    
140    
141     %% *** (3)
142    
143     for i = 24 upto 28:
144     beginfig(i);
145     draw frame with_pen pensquare scaled (pen_width, pen_width, pen_width);
146     frame_picture := current_picture;
147     endfig with_projection parallel_x_y;
148     endfor;
149    
150    
151    
152     % *** (3)
153    
154     j := 0;
155     for i = 29 upto 43:
156     scale_value := 1 + .5j;
157    
158    
159    
160     beginfig(i);
161     text_scale_value := 1/4scale_value;
162     message "scale_value:";
163     show scale_value;
164     message "text_scale_value:";
165     show text_scale_value;
166     label("{\Largebx To a Theater}", (0, text_scale_value))
167     scaled (scale_value, scale_value)
168     with_text_color blue;
169     label("{\Largebx Near You}", (0, -text_scale_value))
170     scaled (scale_value, scale_value)
171     with_text_color blue;
172     current_picture += frame_picture;
173     endfig with_projection parallel_x_y;
174     j += 1;
175     endfor;
176    
177     scale_value := 8;
178     text_scale_value := 1/4scale_value;
179    
180     message "scale_value:";
181     show scale_value;
182     message "text_scale_value:";
183     show text_scale_value;
184    
185    
186     for i := 44 upto 47:
187     beginfig(i);
188    
189     label("{\Largebx To a Theater}", (0, text_scale_value))
190     scaled (scale_value, scale_value)
191     with_text_color blue;
192     label("{\Largebx Near You}", (0, -text_scale_value))
193     scaled (scale_value, scale_value) with_text_color blue;
194     current_picture += frame_picture;
195     endfig with_projection parallel_x_y;
196     endfor;
197    
198     %% *** (3)
199    
200    
201     %% ** (2)
202    
203     verbatim_metapost "end";
204    
205     end;
206    
207    
208    
209     %% ** (2) End of 3DLDF code.
210    
211     %% * (1) Local variables for Emacs.
212    
213     %% Local Variables:
214     %% mode:Metafont
215     %% eval:(outline-minor-mode t)
216     %% eval:(read-abbrev-file abbrev-file-name)
217     %% outline-regexp:"%% [*\f]+"
218     %% End:

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26