Skip to content

Commit 6d66fd7

Browse files
authored
Merge pull request #137 from easycoder/dev
Add demo files
2 parents c38c4d0 + af502dd commit 6d66fd7

36 files changed

+677
-314
lines changed
Loading
21 KB
Loading
18.1 KB
Loading
12.1 KB
Loading
329 KB
Loading
14.6 KB
Loading
26.3 KB
Loading
36.9 KB
Loading
22.1 KB
Loading
Loading
Loading
Loading
256 KB
Loading
284 KB
Loading
28.5 KB
Loading
50.9 KB
Loading
25.5 KB
Loading
Loading
29.7 KB
Loading
Loading
25.9 KB
Loading
507 KB
Loading
6.57 KB
Loading
24.4 KB
Loading
9.48 KB
Loading
309 KB
Loading
13 KB
Loading
39.6 KB
Loading
Loading
Loading
Loading
19.5 KB
Loading
17.4 KB
Loading

iwsy/resources/json/demo.json

Lines changed: 327 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,327 @@
1+
{
2+
"steps": [
3+
{
4+
"title": "Init",
5+
"action": "init",
6+
"label": "",
7+
"aspect ratio": "160:89",
8+
"background": "white",
9+
"border": "1px solid black",
10+
"css": ""
11+
},
12+
{
13+
"title": "pause before starting",
14+
"action": "pause",
15+
"label": "",
16+
"duration": 2
17+
},
18+
{
19+
"title": "set up background",
20+
"action": "set content",
21+
"label": "",
22+
"blocks": [
23+
{
24+
"block": "background",
25+
"content": ""
26+
}
27+
]
28+
},
29+
{
30+
"title": "fade up background",
31+
"action": "fade up",
32+
"label": "",
33+
"blocks": [
34+
"background"
35+
],
36+
"duration": 2,
37+
"continue": false
38+
},
39+
{
40+
"title": "pause 2 seconds",
41+
"action": "pause",
42+
"label": "",
43+
"duration": 2
44+
},
45+
{
46+
"title": "set up title and subtitle",
47+
"action": "set content",
48+
"label": "",
49+
"blocks": [
50+
{
51+
"block": "main title",
52+
"content": "main title"
53+
},
54+
{
55+
"block": "subtitle",
56+
"content": "subtitle"
57+
}
58+
]
59+
},
60+
{
61+
"title": "zoom up title",
62+
"action": "transition",
63+
"label": "",
64+
"blocks": [],
65+
"duration": 2,
66+
"block": "main title",
67+
"target": "center title",
68+
"continue": false
69+
},
70+
{
71+
"title": "pause",
72+
"action": "pause",
73+
"label": "",
74+
"duration": 1
75+
},
76+
{
77+
"title": "fade up subtitle",
78+
"action": "fade up",
79+
"label": "",
80+
"blocks": [
81+
"subtitle"
82+
],
83+
"duration": 1,
84+
"continue": false
85+
},
86+
{
87+
"title": "pause",
88+
"action": "pause",
89+
"label": "",
90+
"duration": 3
91+
},
92+
{
93+
"title": "slide title left",
94+
"action": "transition",
95+
"label": "",
96+
"duration": 3,
97+
"block": "main title",
98+
"target": "off left",
99+
"continue": true
100+
},
101+
{
102+
"title": "slide subtitle right",
103+
"action": "transition",
104+
"label": "",
105+
"duration": 3,
106+
"block": "subtitle",
107+
"target": "off right",
108+
"continue": false
109+
},
110+
{
111+
"title": "fade down background",
112+
"action": "fade down",
113+
"label": "",
114+
"blocks": [
115+
"background"
116+
],
117+
"duration": 3,
118+
"continue": false
119+
},
120+
{
121+
"title": "set up 'For example'",
122+
"action": "set content",
123+
"label": "",
124+
"blocks": [
125+
{
126+
"block": "message",
127+
"content": "for example"
128+
}
129+
]
130+
},
131+
{
132+
"title": "show 'For example'",
133+
"action": "fade up",
134+
"label": "",
135+
"blocks": [
136+
"message"
137+
],
138+
"duration": 0.5,
139+
"continue": ""
140+
},
141+
{
142+
"title": "pause",
143+
"action": "pause",
144+
"label": "",
145+
"duration": 4
146+
},
147+
{
148+
"title": "hide text",
149+
"action": "fade down",
150+
"label": "",
151+
"blocks": [
152+
"message"
153+
],
154+
"duration": 0.5,
155+
"continue": ""
156+
},
157+
{
158+
"title": "chain to liguria",
159+
"action": "chain",
160+
"label": "",
161+
"script": "liguria.json"
162+
}
163+
],
164+
"blocks": [
165+
{
166+
"defaults": {
167+
"name": "background",
168+
"parent": "",
169+
"left": 0,
170+
"top": 0,
171+
"width": 1000,
172+
"height": 1000,
173+
"background": "url('resources/users/2020/160/1/images/SemoigoDawn.jpg')",
174+
"border": "",
175+
"borderRadius": "",
176+
"fontFamily": "",
177+
"fontSize": 50,
178+
"fontWeight": "",
179+
"fontStyle": "",
180+
"fontColor": "",
181+
"textAlign": "",
182+
"textMarginLeft": "",
183+
"textMarginTop": ""
184+
}
185+
},
186+
{
187+
"defaults": {
188+
"name": "main title",
189+
"parent": "",
190+
"left": 0,
191+
"top": 800,
192+
"width": 1000,
193+
"height": 200,
194+
"background": "",
195+
"border": "",
196+
"borderRadius": "",
197+
"fontFamily": "",
198+
"fontSize": 0,
199+
"fontWeight": "",
200+
"fontStyle": "",
201+
"fontColor": "yellow",
202+
"textAlign": "center",
203+
"textMarginLeft": "",
204+
"textMarginTop": ""
205+
}
206+
},
207+
{
208+
"defaults": {
209+
"name": "center title",
210+
"parent": "",
211+
"left": 0,
212+
"top": 250,
213+
"width": 1000,
214+
"height": 700,
215+
"background": "",
216+
"border": "",
217+
"borderRadius": "",
218+
"fontFamily": "",
219+
"fontSize": 80,
220+
"fontWeight": "",
221+
"fontStyle": "",
222+
"fontColor": "yellow",
223+
"textAlign": "center",
224+
"textMarginLeft": "",
225+
"textMarginTop": ""
226+
}
227+
},
228+
{
229+
"defaults": {
230+
"name": "subtitle",
231+
"parent": "",
232+
"left": 0,
233+
"top": 450,
234+
"width": 1000,
235+
"height": 200,
236+
"background": "",
237+
"border": "",
238+
"borderRadius": "",
239+
"fontFamily": "",
240+
"fontSize": 80,
241+
"fontWeight": "",
242+
"fontStyle": "",
243+
"fontColor": "gold",
244+
"textAlign": "center",
245+
"textMarginLeft": "",
246+
"textMarginTop": ""
247+
}
248+
},
249+
{
250+
"defaults": {
251+
"name": "off left",
252+
"parent": "",
253+
"left": -1000,
254+
"top": 250,
255+
"width": 1000,
256+
"height": 700,
257+
"background": "",
258+
"border": "",
259+
"borderRadius": "",
260+
"fontFamily": "",
261+
"fontSize": 80,
262+
"fontWeight": "",
263+
"fontStyle": "",
264+
"fontColor": "yellow",
265+
"textAlign": "center",
266+
"textMarginLeft": "",
267+
"textMarginTop": ""
268+
}
269+
},
270+
{
271+
"defaults": {
272+
"name": "off right",
273+
"parent": "",
274+
"left": 1000,
275+
"top": 450,
276+
"width": 1000,
277+
"height": 200,
278+
"background": "",
279+
"border": "",
280+
"borderRadius": "",
281+
"fontFamily": "",
282+
"fontSize": 80,
283+
"fontWeight": "",
284+
"fontStyle": "",
285+
"fontColor": "",
286+
"textAlign": "",
287+
"textMarginLeft": "",
288+
"textMarginTop": ""
289+
}
290+
},
291+
{
292+
"defaults": {
293+
"name": "message",
294+
"parent": "",
295+
"left": 0,
296+
"top": 200,
297+
"width": 1000,
298+
"height": 800,
299+
"background": "",
300+
"border": "",
301+
"borderRadius": "",
302+
"fontFamily": "",
303+
"fontSize": 70,
304+
"fontWeight": "",
305+
"fontStyle": "",
306+
"fontColor": "",
307+
"textAlign": "center",
308+
"textMarginLeft": "",
309+
"textMarginTop": ""
310+
}
311+
}
312+
],
313+
"content": [
314+
{
315+
"name": "main title",
316+
"content": "# I Wanna Show You"
317+
},
318+
{
319+
"name": "subtitle",
320+
"content": "Embedded presentations and slide shows"
321+
},
322+
{
323+
"name": "for example",
324+
"content": "## For example%0aHere are 3 slides from a presentation %0aabout villages in Liguria, Italy"
325+
}
326+
]
327+
}

0 commit comments

Comments
 (0)