entry #1
comments 0
circel1.py ASCII text
1
2
3
4
5
6
r = int(input())
for i in range(int(6 * r / 5)):
b = r - int(i * 5 / 3)
a = int((r ** 2 - b ** 2) ** (1 / 2))
c = a + a - 1
print(' ' * (r - a) + 'O' * c + ' ' * (r - a))
started at ; stage 2 since . guess by
ahem. circle.
you can download all the entries
comments 0
circel1.py ASCII text
1
2
3
4
5
6
r = int(input())
for i in range(int(6 * r / 5)):
b = r - int(i * 5 / 3)
a = int((r ** 2 - b ** 2) ** (1 / 2))
c = a + a - 1
print(' ' * (r - a) + 'O' * c + ' ' * (r - a))
comments 0
post a comment
Circle.glsl ASCII text, with CRLF line terminators
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
void mainImage(out vec4 fragColor, in vec2 fragCoord)
{
// Normalized pixel coordinates (from 0 to 1)
vec2 uv = fragCoord/iResolution.xy;
float diff_x=uv.x-0.5;
float diff_y=uv.y-0.5;
if (sqrt(pow(diff_x, 2.0)+pow(diff_y, 2.0))>0.40)
{
fragColor=vec4(0.0, 0.0, 0.0, 1.0);
}
else {
fragColor=vec4(1.0, 1.0, 1.0, 1.0);
}
}
comments 0
post a comment
cg77_circle.sed Unicode text, UTF-8 text
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/sed -nrf
:_Problem
# circle
# https://codeguessing.gay/77/
:main
#large (lol) circle U+25EF
i◯
v;q
comments 0
post a comment
circle1.java ASCII text, with CRLF line terminators
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
import java.util.Arrays;
public class circle1{
public static void main(String[] args){
int pulls = 100;
double[] x = new double[pulls];
double[] y = new double[pulls];
for(int i = 0; i<pulls; i++){
double theta = Math.random()*2*Math.PI;
x[i] = (Math.cos(theta)+1)/2;
y[i] = (Math.sin(theta)+1)/2;
}
String[][] circle = new String[64][32];
for(int i = 0; i<circle.length; i++){
for(int j = 0; j<circle[0].length; j++){
circle[i][j]=" ";
}
}
for(int i=0; i<x.length; i++){
circle[(int)(y[i]*64)][(int)(x[i]*32)]="X";
}
for(int i = 0; i<circle[0].length; i++){
String line = "";
for(int j = 0; j<circle.length; j++){
line+=circle[j][i];
}
System.out.println(line);
}
}
}
comments 0
post a comment
circle.txt very short file (no magic)
1
o
comments 0
post a comment
luacontroller.lua ASCII text
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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
-- by hatsune miku
notes = {
{delta = 0, duration = 0.1919355958333333, pitch = 0.7399888454232688},
{delta = 0.3870969999999999, duration = 0.1919355958333333, pitch = 0.9877666025122482},
{delta = 0.3870969999999999, duration = 0.1919355958333333, pitch = 0.6592551138257399},
{delta = 0.387097, duration = 0.1919355958333333, pitch = 0.7399888454232688},
{delta = 0.387097, duration = 0.1919355958333333, pitch = 0.9877666025122482},
{delta = 0.387097, duration = 0.1919355958333333, pitch = 0.6592551138257399},
{delta = 0.3870969999999998, duration = 0.1919355958333333, pitch = 0.7399888454232688},
{delta = 0.3870969999999998, duration = 0.1919355958333333, pitch = 0.9877666025122482},
{delta = 0.3870969999999998, duration = 0.1919355958333333, pitch = 0.6592551138257399},
{delta = 0.3870969999999998, duration = 0.1919355958333333, pitch = 0.6592551138257399},
{delta = 0.3870969999999998, duration = 0.19193559583333286, pitch = 0.7399888454232688},
{delta = 0.3870969999999998, duration = 0.19193559583333375, pitch = 0.4938833012561241},
{delta = 0.3870970000000007, duration = 0.5161293333333337, pitch = 0.3699944227116344},
{delta = 0.0, duration = 0.19193559583333375, pitch = 0.1849972113558172},
{delta = 0.3870970000000007, duration = 0.19193559583333286, pitch = 0.24694165062806206},
{delta = 0.3870969999999998, duration = 0.3661292458333332, pitch = 0.32962755691286993},
{delta = 0.0, duration = 0.19193559583333286, pitch = 0.16481377845643497},
{delta = 0.3870969999999998, duration = 0.5161293333333337, pitch = 0.3699944227116344},
{delta = 0.0, duration = 0.19193559583333375, pitch = 0.1849972113558172},
{delta = 0.3870970000000007, duration = 0.19193559583333286, pitch = 0.24694165062806206},
{delta = 0.3870969999999998, duration = 0.3661292458333332, pitch = 0.39199543598174924},
{delta = 0.0, duration = 0.19193559583333286, pitch = 0.16481377845643497},
{delta = 0.3870969999999998, duration = 0.5161293333333337, pitch = 0.3699944227116344},
{delta = 0.0, duration = 0.19193559583333375, pitch = 0.1849972113558172},
{delta = 0.3870970000000007, duration = 0.19193559583333286, pitch = 0.24694165062806206},
{delta = 0.3870969999999998, duration = 0.19193559583333286, pitch = 0.16481377845643497},
{delta = 0.3870969999999998, duration = 0.19193559583333375, pitch = 0.1849972113558172},
{delta = 0.3870970000000007, duration = 0.19193559583333375, pitch = 0.24694165062806206},
{delta = 0.3870970000000007, duration = 0.3661292458333332, pitch = 0.3699944227116344},
{delta = 0.0, duration = 0.19193559583333375, pitch = 0.16481377845643497},
{delta = 0.3870970000000007, duration = 0.5161293333333337, pitch = 0.3699944227116344},
{delta = 0.0, duration = 0.19193559583333375, pitch = 0.1849972113558172},
{delta = 0.3870970000000007, duration = 0.19193559583333375, pitch = 0.24694165062806206},
{delta = 0.3870970000000007, duration = 0.3661292458333332, pitch = 0.32962755691286993},
{delta = 0.0, duration = 0.19193559583333375, pitch = 0.16481377845643497},
{delta = 0.3870970000000007, duration = 0.5161293333333337, pitch = 0.3699944227116344},
{delta = 0.0, duration = 0.19193559583333375, pitch = 0.1849972113558172},
{delta = 0.3870970000000007, duration = 0.19193559583333375, pitch = 0.24694165062806206},
{delta = 0.3870970000000007, duration = 0.19193559583333375, pitch = 0.32962755691286993},
{delta = 0.0, duration = 0.19193559583333375, pitch = 0.16481377845643497},
{delta = 0.3870970000000007, duration = 0.5161293333333337, pitch = 0.2936647679174076},
{delta = 0.0, duration = 0.19193559583333375, pitch = 0.1849972113558172},
{delta = 0.3870970000000007, duration = 0.19193559583333375, pitch = 0.24694165062806206},
{delta = 0.3870970000000007, duration = 0.19193559583333375, pitch = 0.16481377845643497},
{delta = 0.3870970000000007, duration = 0.19193559583333375, pitch = 0.1849972113558172},
{delta = 0.3870970000000007, duration = 0.19193559583333375, pitch = 0.24694165062806206},
{delta = 0.3870970000000007, duration = 0.3661292458333332, pitch = 0.32962755691286993},
{delta = 0.0, duration = 0.19193559583333375, pitch = 0.16481377845643497},
{delta = 0.3870970000000007, duration = 0.5161293333333337, pitch = 0.3699944227116344},
{delta = 0.0, duration = 0.19193559583333375, pitch = 0.1849972113558172},
{delta = 0.3870970000000007, duration = 0.19193559583333375, pitch = 0.24694165062806206},
{delta = 0.3870970000000007, duration = 0.3661292458333332, pitch = 0.32962755691286993},
{delta = 0.0, duration = 0.19193559583333375, pitch = 0.16481377845643497},
{delta = 0.3870970000000007, duration = 0.5161293333333337, pitch = 0.3699944227116344},
{delta = 0.0, duration = 0.19193559583333375, pitch = 0.1849972113558172},
{delta = 0.3870970000000007, duration = 0.19193559583333375, pitch = 0.24694165062806206},
{delta = 0.3870970000000007, duration = 0.3661292458333314, pitch = 0.39199543598174924},
{delta = 0.0, duration = 0.19193559583333197, pitch = 0.16481377845643497},
{delta = 0.38709699999999714, duration = 0.5161293333333319, pitch = 0.3699944227116344},
{delta = 0.0, duration = 0.19193559583333197, pitch = 0.1849972113558172},
{delta = 0.38709699999999714, duration = 0.19193559583333553, pitch = 0.24694165062806206},
{delta = 0.3870970000000007, duration = 0.19193559583333197, pitch = 0.16481377845643497},
{delta = 0.38709699999999714, duration = 0.19193559583333197, pitch = 0.1849972113558172},
{delta = 0.38709699999999714, duration = 0.19193559583333197, pitch = 0.24694165062806206},
{delta = 0.38709699999999714, duration = 0.3661292458333314, pitch = 0.3699944227116344},
{delta = 0.0, duration = 0.19193559583333197, pitch = 0.16481377845643497},
{delta = 0.38709699999999714, duration = 0.5161293333333319, pitch = 0.2936647679174076},
{delta = 0.0, duration = 0.19193559583333197, pitch = 0.1849972113558172},
{delta = 0.38709699999999714, duration = 0.19193559583333553, pitch = 0.24694165062806206},
{delta = 0.3870970000000007, duration = 0.3661292458333314, pitch = 0.2936647679174076},
{delta = 0.0, duration = 0.19193559583333197, pitch = 0.16481377845643497},
{delta = 0.38709699999999714, duration = 0.5161293333333319, pitch = 0.32962755691286993},
{delta = 0.0, duration = 0.19193559583333197, pitch = 0.1849972113558172},
{delta = 0.38709699999999714, duration = 0.19193559583333553, pitch = 0.24694165062806206},
{delta = 0.3870970000000007, duration = 0.3661292458333314, pitch = 0.2936647679174076},
{delta = 0.0, duration = 0.19193559583333197, pitch = 0.16481377845643497},
{delta = 0.38709699999999714, duration = 0.5161293333333319, pitch = 0.27718263097687207},
{delta = 0.0, duration = 0.19193559583333197, pitch = 0.1849972113558172},
{delta = 0.38709699999999714, duration = 0.19193559583333553, pitch = 0.24694165062806206},
{delta = 0.3870970000000007, duration = 0.3661292458333314, pitch = 0.2936647679174076},
{delta = 0.0, duration = 0.19193559583333197, pitch = 0.16481377845643497},
{delta = 0.38709699999999714, duration = 0.7338713958333294, pitch = 0.32962755691286993},
{delta = 0.0, duration = 0.19193559583333197, pitch = 0.1849972113558172},
{delta = 0.38709699999999714, duration = 0.19193559583333197, pitch = 0.24694165062806206},
{delta = 0.38709699999999714, duration = 0.3661292458333314, pitch = 0.39199543598174924},
{delta = 0.0, duration = 0.19193559583333197, pitch = 0.16481377845643497},
{delta = 0.38709699999999714, duration = 0.5161293333333319, pitch = 0.3699944227116344},
{delta = 0.0, duration = 0.19193559583333197, pitch = 0.1849972113558172},
{delta = 0.0, duration = 2.204839995833325, pitch = 0.12347082531403103},
{delta = 0.38709699999999714, duration = 0.19193559583333553, pitch = 0.24694165062806206},
{delta = 0.3870970000000007, duration = 0.3661292458333314, pitch = 0.32962755691286993},
{delta = 0.0, duration = 0.19193559583333197, pitch = 0.16481377845643497},
{delta = 0.38709699999999714, duration = 0.5161293333333319, pitch = 0.3699944227116344},
{delta = 0.0, duration = 0.19193559583333197, pitch = 0.1849972113558172},
{delta = 0.38709699999999714, duration = 0.19193559583333553, pitch = 0.24694165062806206},
{delta = 0.3870970000000007, duration = 0.3661292458333314, pitch = 0.39199543598174924},
{delta = 0.0, duration = 0.19193559583333197, pitch = 0.16481377845643497},
{delta = 0.38709699999999714, duration = 0.7758069041666609, pitch = 0.44},
{delta = 0.0, duration = 0.19193559583333197, pitch = 0.1849972113558172},
{delta = 0.0, duration = 2.204839995833318, pitch = 0.09799885899543734},
{delta = 0.38709699999999714, duration = 0.19193559583333197, pitch = 0.24694165062806206},
{delta = 0.38709699999999714, duration = 0.19193559583333197, pitch = 0.16481377845643497},
{delta = 0.38709699999999714, duration = 0.19193559583333197, pitch = 0.1849972113558172},
{delta = 0.38709699999999714, duration = 0.3661292458333314, pitch = 0.32962755691286993},
{delta = 0.0, duration = 0.19193559583333197, pitch = 0.24694165062806206},
{delta = 0.38709699999999714, duration = 0.3661292458333314, pitch = 0.32962755691286993},
{delta = 0.0, duration = 0.19193559583333197, pitch = 0.16481377845643497},
{delta = 0.38709699999999714, duration = 0.5161293333333319, pitch = 0.2936647679174076},
{delta = 0.0, duration = 0.19193559583333197, pitch = 0.1849972113558172},
{delta = 0.0, duration = 2.204839995833325, pitch = 0.1468323839587038},
{delta = 0.38709699999999714, duration = 0.19193559583333553, pitch = 0.24694165062806206},
{delta = 0.3870970000000007, duration = 0.3661292458333314, pitch = 0.2936647679174076},
{delta = 0.0, duration = 0.19193559583333197, pitch = 0.16481377845643497},
{delta = 0.38709699999999714, duration = 0.5161293333333319, pitch = 0.32962755691286993},
{delta = 0.0, duration = 0.19193559583333197, pitch = 0.1849972113558172},
{delta = 0.38709699999999714, duration = 0.19193559583333553, pitch = 0.24694165062806206},
{delta = 0.3870970000000007, duration = 0.3661292458333314, pitch = 0.2936647679174076},
{delta = 0.0, duration = 0.19193559583333197, pitch = 0.16481377845643497},
{delta = 0.38709699999999714, duration = 0.06129035833333418, pitch = 0.2936647679174076},
{delta = 0.0, duration = 0.19193559583333553, pitch = 0.1849972113558172},
{delta = 0.0, duration = 2.2048399958333285, pitch = 0.11},
{delta = 0.06290326250000078, duration = 0.4725809208333338, pitch = 0.27718263097687207},
{delta = 0.3241937374999999, duration = 0.19193559583333553, pitch = 0.24694165062806206},
{delta = 0.3870970000000007, duration = 0.19193559583333197, pitch = 0.16481377845643497},
{delta = 0.38709699999999714, duration = 0.19193559583333197, pitch = 0.1849972113558172},
{delta = 0.38709699999999714, duration = 0.3661292458333314, pitch = 0.3699944227116344},
{delta = 0.0, duration = 0.19193559583333197, pitch = 0.24694165062806206},
{delta = 0.3870970000000007, duration = 0.36612924583333495, pitch = 0.3699944227116344},
{delta = 0.0, duration = 0.19193559583333553, pitch = 0.16481377845643497},
{delta = 0.38709700000000424, duration = 0.516129333333339, pitch = 0.3699944227116344},
{delta = 0.0, duration = 0.19193559583333553, pitch = 0.1849972113558172},
{delta = 0.0, duration = 2.2048399958333533, pitch = 0.12347082531403103},
{delta = 0.38709700000000424, duration = 0.19193559583333553, pitch = 0.24694165062806206},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.32962755691286993},
{delta = 0.0, duration = 0.19193559583333553, pitch = 0.16481377845643497},
{delta = 0.38709700000000424, duration = 0.516129333333339, pitch = 0.3699944227116344},
{delta = 0.0, duration = 0.19193559583333553, pitch = 0.1849972113558172},
{delta = 0.38709700000000424, duration = 0.19193559583333553, pitch = 0.24694165062806206},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.39199543598174924},
{delta = 0.0, duration = 0.19193559583333553, pitch = 0.16481377845643497},
{delta = 0.38709700000000424, duration = 0.516129333333339, pitch = 0.44},
{delta = 0.0, duration = 0.19193559583333553, pitch = 0.1849972113558172},
{delta = 0.0, duration = 2.2048399958333533, pitch = 0.09799885899543734},
{delta = 0.38709700000000424, duration = 0.19193559583333553, pitch = 0.24694165062806206},
{delta = 0.38709700000000424, duration = 0.19193559583333553, pitch = 0.16481377845643497},
{delta = 0.38709700000000424, duration = 0.19193559583333553, pitch = 0.1849972113558172},
{delta = 0.38709700000000424, duration = 0.19193559583333553, pitch = 0.24694165062806206},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.32962755691286993},
{delta = 0.0, duration = 0.19193559583333553, pitch = 0.16481377845643497},
{delta = 0.38709700000000424, duration = 1.1016135458333451, pitch = 0.2936647679174076},
{delta = 0.0, duration = 0.19193559583333553, pitch = 0.1849972113558172},
{delta = 0.0, duration = 2.2048399958333533, pitch = 0.1468323839587038},
{delta = 0.38709700000000424, duration = 0.19193559583333553, pitch = 0.24694165062806206},
{delta = 0.38709700000000424, duration = 0.19193559583333553, pitch = 0.16481377845643497},
{delta = 0.38709700000000424, duration = 1.101613545833338, pitch = 0.32962755691286993},
{delta = 0.0, duration = 0.19193559583333553, pitch = 0.1849972113558172},
{delta = 0.38709700000000424, duration = 0.19193559583333553, pitch = 0.24694165062806206},
{delta = 0.38709700000000424, duration = 0.19193559583333553, pitch = 0.16481377845643497},
{delta = 0.38709699999999714, duration = 1.1016135458333451, pitch = 0.2936647679174076},
{delta = 0.0, duration = 0.19193559583333553, pitch = 0.1849972113558172},
{delta = 0.0, duration = 2.2048399958333533, pitch = 0.11},
{delta = 0.38709700000000424, duration = 0.19193559583333553, pitch = 0.24694165062806206},
{delta = 0.38709700000000424, duration = 0.19193559583333553, pitch = 0.16481377845643497},
{delta = 0.38709700000000424, duration = 1.101613545833338, pitch = 0.27718263097687207},
{delta = 0.0, duration = 0.19193559583333553, pitch = 0.1849972113558172},
{delta = 0.38709700000000424, duration = 0.19193559583333553, pitch = 0.24694165062806206},
{delta = 0.38709700000000424, duration = 0.19193559583333553, pitch = 0.16481377845643497},
{delta = 0.38709699999999714, duration = 0.36612924583333495, pitch = 0.3699944227116344},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.24694165062806206},
{delta = 0.0, duration = 1.1016135458333451, pitch = 0.1468323839587038},
{delta = 0.0, duration = 2.2048399958333533, pitch = 0.12347082531403103},
{delta = 0.0, duration = 2.2048399958333533, pitch = 0.1849972113558172},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.2936647679174076},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.4938833012561241},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.24694165062806206},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.32962755691286993},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.24694165062806206},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.3699944227116344},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.24694165062806206},
{delta = 0.0, duration = 0.550000320833341, pitch = 0.1468323839587038},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.2936647679174076},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.4938833012561241},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.24694165062806206},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.32962755691286993},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.24694165062806206},
{delta = 0.38709700000000424, duration = 0.73387139583334, pitch = 0.3699944227116344},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.19599771799087462},
{delta = 0.0, duration = 1.1016135458333451, pitch = 0.12347082531403103},
{delta = 0.0, duration = 2.2048399958333533, pitch = 0.09799885899543734},
{delta = 0.0, duration = 2.2048399958333533, pitch = 0.1468323839587038},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.19599771799087462},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.2936647679174076},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.4938833012561241},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.19599771799087462},
{delta = 0.38709700000000424, duration = 0.73387139583334, pitch = 0.3699944227116344},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.19599771799087462},
{delta = 0.0, duration = 0.550000320833341, pitch = 0.12347082531403103},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.19599771799087462},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.19599771799087462},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.2936647679174076},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.3699944227116344},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.22},
{delta = 0.0, duration = 1.1016135458333451, pitch = 0.1849972113558172},
{delta = 0.0, duration = 2.2048399958333533, pitch = 0.1468323839587038},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.32962755691286993},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.22},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.2936647679174076},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.22},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.27718263097687207},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.2936647679174076},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.22},
{delta = 0.0, duration = 0.550000320833341, pitch = 0.1849972113558172},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.2936647679174076},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.22},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.32962755691286993},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.22},
{delta = 0.38709700000000424, duration = 0.73387139583334, pitch = 0.2936647679174076},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.22},
{delta = 0.0, duration = 1.1016135458333451, pitch = 0.13859131548843603},
{delta = 0.0, duration = 2.2048399958333533, pitch = 0.11},
{delta = 0.0, duration = 2.2048399958333533, pitch = 0.16481377845643497},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.22},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.27718263097687207},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.22},
{delta = 0.38709700000000424, duration = 0.73387139583334, pitch = 0.24694165062806206},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.22},
{delta = 0.0, duration = 0.550000320833341, pitch = 0.13859131548843603},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.22},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.22},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.3699944227116344},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.24694165062806206},
{delta = 0.0, duration = 1.1016135458333451, pitch = 0.1468323839587038},
{delta = 0.0, duration = 2.2048399958333533, pitch = 0.12347082531403103},
{delta = 0.0, duration = 2.2048399958333533, pitch = 0.1849972113558172},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.2936647679174076},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.4938833012561241},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.24694165062806206},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.32962755691286993},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.24694165062806206},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.3699944227116344},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.24694165062806206},
{delta = 0.0, duration = 0.550000320833341, pitch = 0.1468323839587038},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.3699944227116344},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.4938833012561241},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.24694165062806206},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.6592551138257399},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.24694165062806206},
{delta = 0.38709700000000424, duration = 0.73387139583334, pitch = 0.5873295358348152},
{delta = 0.0, duration = 0.73387139583334, pitch = 0.7839908719634985},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.19599771799087462},
{delta = 0.0, duration = 1.1016135458333451, pitch = 0.12347082531403103},
{delta = 0.0, duration = 2.2048399958333533, pitch = 0.09799885899543734},
{delta = 0.0, duration = 2.2048399958333533, pitch = 0.1468323839587038},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.19599771799087462},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.7399888454232688},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.19599771799087462},
{delta = 0.38709700000000424, duration = 0.73387139583334, pitch = 0.5873295358348152},
{delta = 0.0, duration = 0.73387139583334, pitch = 0.7399888454232688},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.19599771799087462},
{delta = 0.0, duration = 0.550000320833341, pitch = 0.12347082531403103},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.19599771799087462},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.7399888454232688},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.19599771799087462},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.44},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.6592551138257399},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.2936647679174076},
{delta = 0.0, duration = 1.1016135458333451, pitch = 0.16481377845643497},
{delta = 0.0, duration = 2.2048399958333533, pitch = 0.1468323839587038},
{delta = 0.0, duration = 2.2048399958333533, pitch = 0.22},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.5873295358348152},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.2936647679174076},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.5543652619537441},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.2936647679174076},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.44},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.6592551138257399},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.2936647679174076},
{delta = 0.0, duration = 0.550000320833341, pitch = 0.16481377845643497},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.5873295358348152},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.2936647679174076},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.5543652619537441},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.2936647679174076},
{delta = 0.38709700000000424, duration = 0.516129333333339, pitch = 0.4938833012561241},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.22},
{delta = 0.0, duration = 1.1016135458333451, pitch = 0.13859131548843603},
{delta = 0.0, duration = 2.2048399958333533, pitch = 0.11},
{delta = 0.0, duration = 2.2048399958333533, pitch = 0.16481377845643497},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.22},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.44},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.22},
{delta = 0.38709700000000424, duration = 0.516129333333339, pitch = 0.4938833012561241},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.22},
{delta = 0.0, duration = 0.550000320833341, pitch = 0.13859131548843603},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.22},
{delta = 0.38709700000000424, duration = 0.36612924583333495, pitch = 0.44},
{delta = 0.0, duration = 0.36612924583333495, pitch = 0.22},
{delta = 0.38709700000000424, duration = 0.5161293333333319, pitch = 0.4938833012561241},
}
function run_nilable(f, ...) if f ~= nil then return f(...) end end
F = {}
function F.program()
mem.note_idx = 1
end
function play_note()
local note = notes[mem.note_idx]
digiline_send("digistuff_noteblock", {sound = "sine", pitch = note.pitch, cut = note.duration})
mem.note_idx = mem.note_idx + 1
end
function F.interrupt()
play_note()
while notes[mem.note_idx] do
local note = notes[mem.note_idx]
if note.delta > 0 then
interrupt(note.delta)
return
end
play_note()
end
end
F.on = F.interrupt
run_nilable(F[event.type])
comments 0
post a comment
circle.fasm ASCII text
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
format ELF64 executable
r = 16
s = 25
mov ebp, 0
ly: mov ebx, 0
mov dx, bp
sub dx, s/2
imul dx, 3
imul dx, dx
neg dx
add dx, r*r
lx: mov [row+ebx], '.'
mov cx, bx
sub cx, s/2
imul cx, 2
imul cx, cx
cmp cx, dx
jg @f
mov [row+ebx], '#'
@@: inc bx
cmp bx, s
jne lx
mov rax, 1
mov rdi, 1
mov rsi, row
mov rdx, s+1
syscall
inc bp
cmp bp, s
jne ly
mov rax, 60
mov rdi, 0
syscall
row rb s
db 10
comments 0
post a comment
main.py ASCII text, with very long lines (5727)
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
import math
def functionA(a,b):
return (math.pi/math.pi)-math.ceil(math.sin(math.pi * (a - b))**math.floor((math.pi/math.pi)+(math.pi/math.pi)))
def functionB(l, y):
y = y * math.floor((math.pi/math.pi)+(math.pi/math.pi)) + l
return y
def functionC(y):
if y == math.floor((math.pi/math.pi)):
return math.floor(((math.pi/math.pi)-(math.pi/math.pi)-(math.pi/math.pi))), y
x = y % math.floor((math.pi/math.pi)+(math.pi/math.pi))
y = y // math.floor((math.pi/math.pi)+(math.pi/math.pi))
return x, y
m = math.floor(math.pi/math.pi)
n = math.floor(math.pi/math.pi)
for _ in range(math.floor(math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi))))):
m = functionB(math.floor(math.pi/math.pi), m)
g = math.floor(math.pi/math.pi)
h = math.floor(math.pi-math.pi)
i = math.floor(math.floor(math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))+ math.sin(math.pi/((math.pi/math.pi)+(math.pi/math.pi)))))
while (math.floor(math.pi/math.pi)) - functionA(i,math.floor(math.pi-math.pi)):
x = (math.pi-math.pi)
h = (math.pi-math.pi)
while (math.pi/math.pi) - functionA(x,((math.pi/math.pi)-(math.pi/math.pi)-(math.pi/math.pi))):
h += (math.pi/math.pi)
x, m = functionC(m)
if (math.pi/math.pi) - functionA(x,((math.pi/math.pi)-(math.pi/math.pi)-(math.pi/math.pi))):
if h % g == (math.pi-math.pi):
n = functionB(math.floor(math.pi/math.pi) - x, n)
else:
n = functionB(x, n)
x = (math.pi-math.pi)
while (math.pi/math.pi) - functionA(x,((math.pi/math.pi)-(math.pi/math.pi)-(math.pi/math.pi))):
x, n = functionC(n)
if (math.pi/math.pi) - functionA(x,((math.pi/math.pi)-(math.pi/math.pi)-(math.pi/math.pi))):
m = functionB(x, m)
g += (math.pi/math.pi)
i -= (math.pi/math.pi)
a = reversed(list(map(int, list(str(bin(m))[math.floor((math.pi/math.pi)+(math.pi/math.pi)+(math.pi/math.pi)):]))))
p = (math.pi/math.pi)
for j in a:
if j == (math.pi-math.pi):
print(math.floor(p))
p += (math.pi/math.pi)
comments 0
post a comment
circle.asm ASCII text
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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
processor 6502
VSYNC = $00
VBLANK = $01
WSYNC = $02
NUSIZ0 = $04
NUSIZ1 = $05
COLUP0 = $06
COLUP1 = $07
COLUPF = $08
COLUBK = $09
CTRLPF = $0A
PF0 = $0D
PF1 = $0E
PF2 = $0F
RESM0 = $12
RESM1 = $13
ENAMM0 = $1D
ENAMM1 = $1E
HMOVE = $2a
HMM0 = $22
HMM1 = $23
HMCLR = $2B
INTIM = $284
TIM64T = $296
org $F000
start
sei
cld
ldx #$2B
txs
lda #0
clear
sta 0,X
dex
bne clear
lda #$02
sta COLUBK
lda #$0E
sta COLUPF
sta COLUP0
sta COLUP1
main
lda #%10
sta VSYNC
sta WSYNC
sta WSYNC
sta WSYNC
lda #44
sta TIM64T
lda #0
sta VSYNC
timer
lda INTIM
bne timer
sta WSYNC
sta HMOVE
sta VBLANK ;a=0
sta HMCLR
lda #$80
sta HMM0
lda #-$0
sta HMM1
lda #%110000
sta NUSIZ0
sta NUSIZ1
nop
nop
nop
nop
nop
nop
nop
sta RESM0
sta RESM1
ldy #14
sta WSYNC
sta HMOVE
sta HMCLR
line
sta WSYNC
sta HMOVE
dey
bne line
ldx #0
ldy #0
lda #%10
sta ENAMM0
sta ENAMM1
doline
sta WSYNC
sta HMOVE
lda #%1
sta CTRLPF
txa
cmp inside,Y
bmi sameinside
iny
lda inside,Y
sta PF1
iny
lda inside,Y
sta PF2
iny
sameinside
lda delta,X
sta HMM1
eor #$FF
clc
adc #$10
sta HMM0
endline
inx
cpx #158
bne doline
lda #%00
sta ENAMM0
sta ENAMM1
sta PF2
ldy #18
after
sta WSYNC
sta HMOVE
dey
bne after
sta WSYNC
lda #%10
sta VBLANK
ldx #30
overscan
sta WSYNC
dex
bne overscan
jmp main
org $F200
inside
.byte 2, $00, $C0
.byte 5, $00, $F0
.byte 9, $00, $FC
.byte 16, $00, $FF
.byte 26, $03, $FF
.byte 40, $0F, $FF
.byte 118, $03, $FF
.byte 132, $00, $FF
.byte 142, $00, $FC
.byte 149, $00, $F0
.byte 153, $00, $C0
.byte 156, $00, $00
.byte 158, $00, $00
delta
.byte $20, $50, $30, $20, $30, $10, $20, $20
.byte $10, $20, $10, $10, $10, $10, $10, $10
.byte $10, $10, $10, $10, $10, $00, $10, $10
.byte $00, $10, $10, $00, $10, $10, $00, $10
.byte $00, $10, $00, $10, $00, $10, $00, $10
.byte $00, $00, $10, $00, $00, $10, $00, $00
.byte $10, $00, $00, $10, $00, $00, $00, $10
.byte $00, $00, $00, $00, $10, $00, $00, $00
.byte $00, $00, $10, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, -$10, $00, $00, $00, $00, $00
.byte -$10, $00, $00, $00, $00, -$10, $00, $00
.byte $00, -$10, $00, $00, -$10, $00, $00, -$10
.byte $00, $00, -$10, $00, $00, -$10, $00, -$10
.byte $00, -$10, $00, -$10, $00, -$10, $00, -$10
.byte -$10, $00, -$10, -$10, $00, -$10, -$10, $00
.byte -$10, -$10, -$10, -$10, -$10, -$10, -$10, -$10
.byte -$10, -$10, -$10, -$20, -$10, -$20, -$20, -$10
.byte -$30, -$20, -$30, -$50, -$20
org $FFFC
.word start
.word start
comments 0
post a comment
circle.java ASCII text
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
import processing.core.*;
import processing.data.*;
import processing.event.*;
import processing.opengl.*;
import java.util.HashMap;
import java.util.ArrayList;
import java.io.File;
import java.io.BufferedReader;
import java.io.PrintWriter;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.IOException;
public class circle extends PApplet {
int psize = 500;
double x;
double y;
double theta;
int depth = 10;
int dots = 200;
long fact;
public void settings(){
size(psize, psize);
}
public void setup(){
for (int i = 0; i < dots; i++) {
theta = i * 2 * Math.PI / dots;
x = 0;
y = 0;
for (int n = 0; n < depth; n++){
fact = 1;
for (int k = 2*n; k > 0; k-=1) fact *=k;
x+= Math.pow(-1, n) * Math.pow(theta, 2 * n) / fact;
y+= Math.pow(-1, n) * Math.pow(theta, 2 * n + 1) / fact / (2 * n + 1);
}
ellipse((int)((x * 0.9f + 1) * (psize / 2)), (int)((y * 0.9f + 1) * (psize / 2)), (int) (psize / 100), (int) (psize / 100));
}
}
static public void main(String[] passedArgs) {
String[] appletArgs = new String[] { "circle" };
if (passedArgs != null) {
PApplet.main(concat(appletArgs, passedArgs));
} else {
PApplet.main(appletArgs);
}
}
}
post a comment