-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathindex.html
168 lines (154 loc) · 5.87 KB
/
index.html
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<!doctype>
<html>
<head>
<title>JOY.JS - make happy little programs</title>
<meta name="description" content="make happy little programs"/>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<meta charset="utf-8">
<link rel="icon" type="image/png" href="favicon.png">
<!-- Social Card Shtuff -->
<meta itemprop="name" content="JOY.JS">
<meta itemprop="description" content="make happy little programs">
<meta itemprop="image" content="http://ncase.me/joy/social/thumbnail.png">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@ncasenmare">
<meta name="twitter:title" content="JOY.JS">
<meta name="twitter:description" content="make happy little programs">
<meta name="twitter:creator" content="@ncasenmare">
<meta name="twitter:image" content="http://ncase.me/joy/social/thumbnail.png">
<meta property="og:title" content="JOY.JS">
<meta property="og:type" content="website">
<meta property="og:url" content="http://ncase.me/joy/">
<meta property="og:image" content="http://ncase.me/joy/social/thumbnail.png">
<meta property="og:description" content="make happy little programs">
<!-- Styles -->
<link rel="stylesheet" href="frontpage/frontpage.css">
</head>
<body>
<!-- VIDEO -->
<div id="splash" class="cool_background">
<div id="splash_container">
<div id="splash_video">
<video width="480" height="240" autoplay loop>
<source src="frontpage/joy.mp4" type="video/mp4" />
</video>
</div>
<div id="splash_image"></div>
</div>
<div id="splash_arrow">
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</div>
<!-- DESCRIPTION -->
<div id="description" class="dark_background">
<div id="description_prologue">
Consider the paintbrush:
simple enough for a child, complex enough for an Old Master.
That's what any artistic tool should strive for,
and the art of programming deserves a tool that's more creative, more <i>alive.</i>
<b>Joy.js is a tool for making tools like that.</b>
</div>
<div id="description_content">
<div class="desc_mov">
<video width="470" height="235" autoplay loop>
<source src="frontpage/turtle.mp4" type="video/mp4" />
</video>
</div>
<div class="desc_info">
<b>EASY & EXPRESSIVE</b>
With regular coding: tweak a number, compile, see the result seconds later, tweak again, repeat 'til bored.
With Joy.js: change the code by clicking / dragging / hovering, and <i>see the result immediately</i>.
This lets you improvize, and discover "happy little accidents"!
</div>
<div class="desc_info">
<b>SEE WHOLE SYSTEMS</b>
No need to second-guess the program, to "play computer" in your head.
If you want to understand what a system does,
you can simply hover over the step numbers,
and see the system build itself <i>step by step.</i>
</div>
<div class="desc_mov">
<video width="470" height="235" autoplay loop>
<source src="frontpage/nonlinear.mp4" type="video/mp4" />
</video>
</div>
<div class="desc_mov">
<video width="470" height="235" autoplay loop>
<source src="frontpage/music.mp4" type="video/mp4" />
</video>
</div>
<div class="desc_info">
<b>SAVE & SHARE</b>
And finally, when you make a tool with Joy.js, your users
will be able to save and share their work, and remix each others' creations!
(Note for developers: Joy.js "saves data" in the URL itself... meaning, no need to set up a server or database!)
</div>
</div>
</div>
<!-- EXAMPLES & GETTING STARTED -->
<a name="examples"></a>
<div id="examples" class="cool_background">
<div id="examples_title">
Here's some demos you can play with & "program"! (click to open ↓)
</div>
<div id="examples_blocks">
<a href="demo/turtle">
<div class="example_button" id="demo_turtle_thumb">
<span>TURTLE<br>ART!</span>
</div>
</a>
<a href="demo/music">
<div class="example_button" id="demo_music_thumb">
<span style="color:#fff;top:110px">MUSIC!</span>
</div>
</a>
<a href="demo/nonlinear">
<div class="example_button" id="demo_nonlinear_thumb">
<span>NONLINEAR<br>DYNAMICS!</span>
</div>
</a>
</div>
<div id="examples_getting_started">
Are you a developer, and want to use Joy.js to make a playful, "programmable" tool?
Check out this how-to guide:
<a href="getting-started" style="text-decoration: none;">
<div class="example_button">GETTING STARTED with JOY.JS</div>
</a>
</div>
</div>
<!-- CREDITS -->
<div id="credits" class="dark_background">
<div id="credits_content">
<p>
JOY.js is open source / public domain.
<a href="http://github.com/ncase/joy">(get source)</a>
</p>
<p>
It was made by
<a href="http://ncase.me/">Nicky Case</a>,
with the generous feedback and support of my fans on Patreon!
<a href="credits">(see full credits)</a>
</p>
<p>
If you like the interactive stuff I make, feel free to
<a href="https://www.patreon.com/ncase">throw monetary values at me on Patreon?</a>
<3
</p>
</div>
</div>
<!-- SOCIAL -->
<div id="social" class="dark_background">
share:
<!-- Simple Sharing Buttons -->
<ul class="share-buttons">
<li><a href="https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fncase.me%2Fjoy%2F&t=Joy.js%20%E2%80%93%20make%20happy%20little%20programs" title="Share on Facebook" target="_blank"><img alt="Share on Facebook" src="social/Facebook.png" /></a></li>
<li><a href="https://twitter.com/intent/tweet?source=http%3A%2F%2Fncase.me%2Fjoy%2F&text=Joy.js%20%E2%80%93%20make%20happy%20little%20programs:%20http%3A%2F%2Fncase.me%2Fjoy%2F" target="_blank" title="Tweet"><img alt="Tweet" src="social/Twitter.png" /></a></li>
<li><a href="mailto:?subject=Joy.js%20%E2%80%93%20make%20happy%20little%20programs&body=:%20http%3A%2F%2Fncase.me%2Fjoy%2F" target="_blank" title="Send email"><img alt="Send email" src="social/Email.png" /></a></li>
</ul>
</div>
</body>
<script src="frontpage/frontpage.js"></script>