public
Description: Moved to http://github.com/robmyers/frame
Homepage: http://github.com/robmyers/frame
Clone URL: git://github.com/robmyers/art_generators.git
art_generators / README
100644 126 lines (65 sloc) 3.296 kb
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
art_generators - Create & manage the lifecycle of digital art projects
======================================================================
 
NOT READY FOR USE YET
 
NOT ALL DESCRIBED FEATURES ARE IMPLEMENTED
 
Currently only SVG-based projects are supported.
 
Inspired by Ruby on Rails.
 
 
Creating a Project
------------------
 
> art_project project-name
 
This will create a folder named project-name.
 
The folder contains a number of files and directories.
 
Edit README to describe the project, and COPYING to describe the license terms of the project.
 
The Resources folder contains template.svg, which you can edit to set a default paper size and other features.
 
If you specify a version control system as an option (e.g. --git), the project directory will be initialised for that system and the project scripts will try to work with it.
 
 
Creating a Work
---------------
 
In the project folder, type:
 
> script/work new-work.svg
 
This will make a new work called new-work.svg in the Preparatory directory by copying resources/template.svg.
 
If you wish to start from another work in the Preparatory folder, type:
 
> script/work -c new-work.svg even-newer-work.svg
 
This will make a new work called new-work.svg in the Preparatory directory by copying Preparatory/new-work.svg .
 
If you wish to start from another work in the another folder within the project folder, type:
 
> script/work -c Final/new-work.svg even-newer-work.svg
 
This will make a new work called new-work.svg in the Preparatory directory by copying Final/new-work.svg .
 
Specifying works to copy with a slash in the name will cause the work to be copied from that folder in the project directory, not specifying a folder will default to the Preparatory folder.
 
 
Changing a Work's Status
------------------------
 
> script/status --final mywork.svg
 
Copies the file mywork.svg from workspace directory to the final directory.
 
If you are using git or svn to version control the project this command notifies them of the change.
 
 
Creating a Release of a Project
-------------------------------
 
> script/release 0.1
 
Creates an archive called project_name_0.1.tar.gz containing the final, discard and preparatory folders along with the LICENSE and README files.
 
 
Creating a Web Page for a Project
---------------------------------
 
>script/web
 
Creates png images and thumbnails of the contents of the final directory and creates a web page containing them in the web directory.
 
 
Example of Use
--------------
 
Create a project:
 
> art_project test
 
Change to the project directory:
 
> cd test
 
Create a work:
 
> script/work first.svg
 
Edit it:
 
> inkscape preparatory/first.svg
 
Create various other works and edit them:
 
> script/work -c first.svg workX.svg
...
 
Decide some are good and some are bad:
 
> script/status --final work1.svg
> script/status --discard work2.svg
...
 
Make a release archive:
 
> script/release 0.0.1
 
make a web page:
 
> script/web
 
Have a rest, then start making more works.
 
 
Design Notes
------------
 
The directory structure and the tasks performed by the scripts come from the workflow Rob Myers developed for use in his own digital art projects.
 
The idea of a system to generate a well-structured system of directories, files and scripts for use in a workflow comes from Ruby on Rails.