/[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.1 - (hide annotations) (download)
Mon Aug 15 13:08:20 2005 UTC (18 years, 10 months ago) by lfinsto1
Branch: MAIN
Added.

1 lfinsto1 1.1 %%%% titles_2.ldf.
2     %%%% Created by Laurence D. Finston (LDF) So Aug 14 18:45:55 CEST 2005
3    
4     %% * (1) Copyright and License.
5    
6     %%%% This file is part of GNU 3DLDF, a package for three-dimensional drawing.
7     %%%% Copyright (C) 2003, 2004, 2005 The Free Software Foundation
8    
9     %%%% GNU 3DLDF is free software; you can redistribute it and/or modify
10     %%%% it under the terms of the GNU General Public License as published by
11     %%%% the Free Software Foundation; either version 2 of the License, or
12     %%%% (at your option) any later version.
13    
14     %%%% GNU 3DLDF is distributed in the hope that it will be useful,
15     %%%% but WITHOUT ANY WARRANTY; without even the implied warranty of
16     %%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17     %%%% GNU General Public License for more details.
18    
19     %%%% You should have received a copy of the GNU General Public License
20     %%%% along with GNU 3DLDF; if not, write to the Free Software
21     %%%% Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22    
23     %%%% GNU 3DLDF is a GNU package.
24     %%%% It is part of the GNU Project of the
25     %%%% Free Software Foundation
26     %%%% and is published under the GNU General Public License.
27     %%%% See the website http://www.gnu.org
28     %%%% for more information.
29     %%%% GNU 3DLDF is available for downloading from
30     %%%% http://www.gnu.org/software/3dldf/LDF.html.
31     %%%% It is also available from
32     %%%% http://www.dante.de/software/ctan/, the Dante www-server
33     %%%% and from http://wwwuser.gwdg.de/~lfinsto1,
34     %%%% the author's website.
35    
36     %%%% Please send bug reports to bug-3dldf@gnu.org
37     %%%% The mailing list help-3dldf@gnu.org is available for people to
38     %%%% ask other users for help.
39     %%%% The mailing list info-3dldf@gnu.org is for the maintainer of
40     %%%% GNU 3DLDF to send announcements to users.
41     %%%% To subscribe to these mailing lists, send an
42     %%%% email with ``subscribe <email-address>'' as the subject.
43    
44     %%%% The author can be contacted at:
45    
46     %%%% Laurence D. Finston
47     %%%% Kreuzbergring 41
48     %%%% D-37075 Goettingen
49     %%%% Germany
50    
51     %%%% lfinsto1@gwdg.de
52     %%%% s246794@stud.uni-goettingen.de
53    
54    
55     % $Id: titles_2.ldf,v 1.3 2005/08/15 12:35:56 lfinsto1 Exp $
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     %% ** (2)
100    
101     %% *** (3)
102    
103     for i = 0 upto 4:
104     beginfig(i);
105     draw frame with_pen pensquare scaled (pen_width, pen_width, pen_width);
106     frame_picture := current_picture;
107     endfig with_projection parallel_x_y;
108     endfor;
109    
110     %% *** (3)
111    
112     j := 0;
113     for i = 5 upto 19:
114     scale_value := 1 + .5j;
115     beginfig(i);
116     label("{\Largebx Coming Soon}", origin) scaled (scale_value, scale_value)
117     with_text_color red;
118     current_picture += frame_picture;
119     endfig with_projection parallel_x_y;
120     j += 1;
121     endfor;
122    
123    
124     scale_value := 8;
125    
126     for i := 20 upto 23:
127     beginfig(i);
128     label("{\Largebx Coming Soon}", origin) scaled (scale_value, scale_value)
129     with_text_color red;
130     current_picture += frame_picture;
131     endfig with_projection parallel_x_y;
132     endfor;
133    
134     %% ** (2)
135    
136    
137     %% *** (3)
138    
139     for i = 24 upto 28:
140     beginfig(i);
141     draw frame with_pen pensquare scaled (pen_width, pen_width, pen_width);
142     frame_picture := current_picture;
143     endfig with_projection parallel_x_y;
144     endfor;
145    
146    
147    
148     % *** (3)
149    
150     j := 0;
151     for i = 29 upto 43:
152     scale_value := 1 + .5j;
153    
154    
155    
156     beginfig(i);
157     text_scale_value := 1/4scale_value;
158     message "scale_value:";
159     show scale_value;
160     message "text_scale_value:";
161     show text_scale_value;
162     label("{\Largebx To a Theater}", (0, text_scale_value))
163     scaled (scale_value, scale_value)
164     with_text_color blue;
165     label("{\Largebx Near You}", (0, -text_scale_value))
166     scaled (scale_value, scale_value)
167     with_text_color blue;
168     current_picture += frame_picture;
169     endfig with_projection parallel_x_y;
170     j += 1;
171     endfor;
172    
173     scale_value := 8;
174     text_scale_value := 1/4scale_value;
175    
176     message "scale_value:";
177     show scale_value;
178     message "text_scale_value:";
179     show text_scale_value;
180    
181    
182     for i := 44 upto 47:
183     beginfig(i);
184    
185     label("{\Largebx To a Theater}", (0, text_scale_value))
186     scaled (scale_value, scale_value)
187     with_text_color blue;
188     label("{\Largebx Near You}", (0, -text_scale_value))
189     scaled (scale_value, scale_value) with_text_color blue;
190     current_picture += frame_picture;
191     endfig with_projection parallel_x_y;
192     endfor;
193    
194     %% *** (3)
195    
196    
197     %% ** (2)
198    
199     verbatim_metapost "end";
200    
201     end;
202    
203    
204    
205     %% ** (2) End of 3DLDF code.
206    
207     %% * (1) Local variables for Emacs.
208    
209     %% Local Variables:
210     %% mode:Metafont
211     %% eval:(outline-minor-mode t)
212     %% eval:(read-abbrev-file abbrev-file-name)
213     %% outline-regexp:"%% [*\f]+"
214     %% End:

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