Post making contest 6.0 - Printable Version +- Eagle Time (https://eagle-time.org) +-- Forum: Cool Shit You Can Do (https://eagle-time.org/forumdisplay.php?fid=4) +--- Forum: Forum Games (https://eagle-time.org/forumdisplay.php?fid=1) +--- Thread: Post making contest 6.0 (/showthread.php?tid=1482) Pages:
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
|
RE: Post making contest 6.0 - Akumu - 12-04-2017 (12-04-2017, 10:25 PM)Ixcaliber Wrote: »i'm only interested in slither dog the world's most perfectly smooth dog This post passes rule 2. (12-04-2017, 10:29 PM)Ixcaliber Wrote: »he can fit through the tiniest of cracks and he's very interested in stealing your lunch This post passes rule 2. (12-04-2017, 10:35 PM)Kíeros Wrote: »a'b cdef ghijklmnop qr stu vwxyz This post passes no rules. (12-04-2017, 10:41 PM)Ixcaliber Wrote: »slither dog's two main priorities: This post passes rule 2. (12-04-2017, 11:03 PM)Dragon Fogel Wrote: »But I already ate lunch today. This post passes rule 2. (12-04-2017, 11:05 PM)Ixcaliber Wrote: »you may have foiled him for one day but slither dog does not give up easily This post passes rules 2 and 3. (12-04-2017, 11:10 PM)Dragon Fogel Wrote: »I have the perfect plan. This post passes rule 2. (12-04-2017, 11:22 PM)Ixcaliber Wrote: »slither dog is thwarted this time. he slithers back to his lair but who knows what terrible schemes he may be concocting in there This post passes rule 2. (12-04-2017, 11:22 PM)Ixcaliber Wrote: »perhaps even.... buying his own lunch?? This post passes rule 2. RE: Post making contest 6.0 - a52 - 12-05-2017 (12-04-2017, 10:25 PM)Ixcaliber Wrote: »i'm only interested in slither dog the world's most perfectly smooth dog you know i'm pretty sure that's a meme right there RE: Post making contest 6.0 - Dragon Fogel - 12-05-2017 So, does Slither Dog know anything about Theo Vens? RE: Post making contest 6.0 - Akumu - 12-05-2017 (12-05-2017, 12:32 AM)a52 Wrote: »(12-04-2017, 10:25 PM)Ixcaliber Wrote: »i'm only interested in slither dog the world's most perfectly smooth dog This post passes rule 2. (12-05-2017, 12:50 AM)Dragon Fogel Wrote: »So, does Slither Dog know anything about Theo Vens? This post passes rule 2. RE: Post making contest 6.0 - Kíeros - 12-05-2017 Only evens in I'm the interested RE: Post making contest 6.0 - Akumu - 12-05-2017 (12-05-2017, 02:46 AM)Kíeros Wrote: »Only evens in I'm the interested This post passes rule 5. RE: Post making contest 6.0 - Dragon Fogel - 12-05-2017 I'm only interested in the fremp RE: Post making contest 6.0 - Kíeros - 12-05-2017 I'm only interested in the evenz RE: Post making contest 6.0 - Akumu - 12-05-2017 (12-05-2017, 03:20 AM)Dragon Fogel Wrote: »I'm only interested in the fremp This post passes no rules. (12-05-2017, 04:09 AM)Kíeros Wrote: »I'm only interested in the evenz This post passes rule 5. RE: Post making contest 6.0 - Dragon Fogel - 12-05-2017 I'm only interested in the haven RE: Post making contest 6.0 - Ixcaliber - 12-05-2017 oh man time for lunch RE: Post making contest 6.0 - Ixcaliber - 12-05-2017 oh no my lunch is missing. who could have perpetrated this awful crime? RE: Post making contest 6.0 - Akumu - 12-05-2017 (12-05-2017, 06:41 AM)Dragon Fogel Wrote: »I'm only interested in the haven This post passes rules 2 and 5. (12-05-2017, 11:41 AM)Ixcaliber Wrote: »oh man time for lunch This post passes rule 2. (12-05-2017, 11:58 AM)Ixcaliber Wrote: »oh no my lunch is missing. who could have perpetrated this awful crime? This post passes rules 2 and 3. RE: Post making contest 6.0 - Ixcaliber - 12-05-2017 Akumu are you responsible for the theft of my lunch? RE: Post making contest 6.0 - Akumu - 12-05-2017 (12-05-2017, 03:36 PM)Ixcaliber Wrote: »Akumu are you responsible for the theft of my lunch? I am no lunch thief!! This post passes no rules. RE: Post making contest 6.0 - Ixcaliber - 12-05-2017 the mystery deepens... RE: Post making contest 6.0 - Akumu - 12-05-2017 (12-05-2017, 04:18 PM)Ixcaliber Wrote: »the mystery deepens... This post passes no rules. RE: Post making contest 6.0 - Ixcaliber - 12-05-2017 i'm only interested in the deepening of this mystery RE: Post making contest 6.0 - Akumu - 12-05-2017 (12-05-2017, 04:55 PM)Ixcaliber Wrote: »i'm only interested in the deepening of this mystery This post passes rule 2. RE: Post making contest 6.0 - Dragon Fogel - 12-05-2017 abcdefghijklmnopqrsu aeiouy RE: Post making contest 6.0 - Akumu - 12-05-2017 (12-05-2017, 05:22 PM)Dragon Fogel Wrote: »abcdefghijklmnopqrsu aeiouy This post passes rule 5. RE: Post making contest 6.0 - Ixcaliber - 12-05-2017 coming soon RE: Post making contest 6.0 - Akumu - 12-05-2017 (12-05-2017, 07:34 PM)Ixcaliber Wrote: » Ix I just noticed that you have been committing many letter crimes lately. This post passes rule 2. RE: Post making contest 6.0 - a52 - 12-06-2017 // p.x and p.y are current coordinates // v.x and v.y is a velocity at point p vec2 get_velocity(vec2 p) { vec2 v = vec2(0., 0.); const float n = 10.; float log2 = log(2.); float pk = pow(2.,1.-p.x); float c_re_top = 1. - pk*cos(p.y*log2); float c_im_top = pk*sin(p.y*log2); float c_bot = c_re_top*c_re_top + c_im_top*c_im_top; float sum1r = 0.; float sum1i = 0.; for (float k = 1.; k <= n; k++) { pk = pow(k, -p.x); if (k == 1.) { pk = -pk; } float logk = log(k); sum1r += pk * cos(p.y * logk); sum1i += -pk * sin(p.y * logk); } float sum2r = 0.; float sum2i = 0.; for (float k = n + 1.; k <= 2.*n; k++){ pk = pow(k, -p.x); if (k == 1.) { pk = -pk; } float logk = log(k); float ek = 0.; for (float j = 0.; j <= n; j++) { if (j <= k) {continue;} float b = 1.; for (float i = 1.; i <= n; i++) { if (i == j) { break; } b *= (n + 1. - i)/i; } ek += b; } sum2r += pk * cos(p.y * logk) * ek; sum2i -= pk * sin(p.y * logk) * ek; } float pow2 = pow(2., -n); float sumr = sum1r + pow2 * sum2r; float sumi = sum1i + pow2 * sum2i; v.x = (sumr * c_re_top - sumi * c_im_top) /c_bot; v.y = (sumr * c_im_top + sumi * c_re_top) /c_bot; return v; } glsl certainly has some quirks. i'll need to check this tomorrow, i'm certain i must have made a mistake in there somewhere. RE: Post making contest 6.0 - a52 - 12-06-2017 https://anvaka.github.io/fieldplay/?dt=0.01&fo=0.998&dp=0.009&cm=1&cx=0&cy=0&w=8.5398&h=8.5398&vf=%2F%2F%20p.x%20and%20p.y%20are%20current%20coordinates%0A%2F%2F%20v.x%20and%20v.y%20is%20a%20velocity%20at%20point%20p%0Avec2%20get_velocity%28vec2%20p%29%20%7B%0A%20%20vec2%20v%20%3D%20vec2%280.%2C%200.%29%3B%0A%20%20%0A%20%20const%20float%20n%20%3D%2010.%3B%0A%20%20%0A%20%20float%20log2%20%3D%20log%282.%29%3B%0A%20%20float%20pk%20%3D%20pow%282.%2C1.-p.x%29%3B%0A%20%20float%20c_re_top%20%3D%201.%20-%20pk*cos%28p.y*log2%29%3B%0A%20%20float%20c_im_top%20%3D%20pk*sin%28p.y*log2%29%3B%0A%20%20float%20c_bot%20%3D%20c_re_top*c_re_top%20%2B%20%0A%20%20%20%20c_im_top*c_im_top%3B%0A%20%20%0A%20%20float%20sum1r%20%3D%200.%3B%0A%20%20float%20sum1i%20%3D%200.%3B%0A%20%20%0A%20%20for%20%28float%20k%20%3D%201.%3B%20k%20<%3D%20n%3B%20k%2B%2B%29%20%7B%0A%20%20%20%20pk%20%3D%20pow%28k%2C%20-p.x%29%3B%0A%20%20%20%20%0A%20%20%20%20if%20%28k%20%3D%3D%201.%29%20%7B%0A%20%20%20%20%20%20pk%20%3D%20-pk%3B%0A%20%20%20%20%7D%0A%20%20%20%20%0A%20%20%20%20float%20logk%20%3D%20log%28k%29%3B%0A%20%20%20%20%0A%20%20%20%20sum1r%20%2B%3D%20pk%20*%20cos%28p.y%20*%20logk%29%3B%0A%20%20%20%20sum1i%20%2B%3D%20-pk%20*%20sin%28p.y%20*%20logk%29%3B%0A%20%20%7D%0A%20%20%0A%20%20float%20sum2r%20%3D%200.%3B%0A%20%20float%20sum2i%20%3D%200.%3B%0A%20%20%0A%20%20for%20%28float%20k%20%3D%20n%20%2B%201.%3B%20k%20<%3D%202.*n%3B%20k%2B%2B%29%7B%0A%20%20%20%20pk%20%3D%20pow%28k%2C%20-p.x%29%3B%0A%20%20%20%20%0A%20%20%20%20if%20%28k%20%3D%3D%201.%29%20%7B%0A%20%20%20%20%20%20pk%20%3D%20-pk%3B%0A%20%20%20%20%7D%0A%20%20%20%20%0A%20%20%20%20float%20logk%20%3D%20log%28k%29%3B%0A%20%20%20%20%0A%20%20%20%20float%20ek%20%3D%200.%3B%0A%20%20%20%20%0A%20%20%20%20for%20%28float%20j%20%3D%200.%3B%20j%20<%3D%20n%3B%20j%2B%2B%29%20%7B%0A%20%20%20%20%20%20if%20%28j%20<%3D%20k%29%20%7Bcontinue%3B%7D%0A%20%20%20%20%20%20float%20b%20%3D%201.%3B%0A%20%20%20%20%20%20for%20%28float%20i%20%3D%201.%3B%20i%20<%3D%20n%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20%20%20%20%20if%20%28i%20%3D%3D%20j%29%20%7B%20break%3B%20%7D%0A%20%20%20%20%20%20%20%20b%20*%3D%20%28n%20%2B%201.%20-%20i%29%2Fi%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20ek%20%2B%3D%20b%3B%0A%20%20%20%20%7D%0A%20%20%20%20%0A%20%20%20%20sum2r%20%2B%3D%20pk%20*%20cos%28p.y%20*%20logk%29%20*%20ek%3B%0A%20%20%20%20sum2i%20-%3D%20pk%20*%20sin%28p.y%20*%20logk%29%20*%20ek%3B%0A%0A%20%20%7D%0A%20%20%0A%20float%20pow2%20%3D%20pow%282.%2C%20-n%29%3B%0A%20float%20sumr%20%3D%20sum1r%20%2B%20pow2%20*%20sum2r%3B%0A%20float%20sumi%20%3D%20sum1i%20%2B%20pow2%20*%20sum2i%3B%0A%20v.x%20%3D%20%28sumr%20*%20c_re_top%20-%20sumi%20*%20c_im_top%29%0A%20%20%20%2Fc_bot%3B%0A%20v.y%20%3D%20%28sumr%20*%20c_im_top%20%2B%20sumi%20*%20c_re_top%29%0A%20%20%20%2Fc_bot%3B%0A%20return%20v%3B%0A%7D&code=%2F%2F%20p.x%20and%20p.y%20are%20current%20coordinates%0A%2F%2F%20v.x%20and%20v.y%20is%20a%20velocity%20at%20point%20p%0Avec2%20get_velocity%28vec2%20p%29%20%7B%0A%20%20vec2%20v%20%3D%20vec2%280.%2C%200.%29%3B%0A%20%20%0A%20%20const%20float%20n%20%3D%2010.%3B%0A%20%20%0A%20%20float%20log2%20%3D%20log%282.%29%3B%0A%20%20float%20pk%20%3D%20pow%282.%2C1.-p.x%29%3B%0A%20%20float%20c_re_top%20%3D%201.%20-%20pk*cos%28p.y*log2%29%3B%0A%20%20float%20c_im_top%20%3D%20pk*sin%28p.y*log2%29%3B%0A%20%20float%20c_bot%20%3D%20c_re_top*c_re_top%20%2B%20%0A%20%20%20%20c_im_top*c_im_top%3B%0A%20%20%0A%20%20float%20sum1r%20%3D%200.%3B%0A%20%20float%20sum1i%20%3D%200.%3B%0A%20%20%0A%20%20for%20%28float%20k%20%3D%201.%3B%20k%20<%3D%20n%3B%20k%2B%2B%29%20%7B%0A%20%20%20%20pk%20%3D%20pow%28k%2C%20-p.x%29%3B%0A%20%20%20%20%0A%20%20%20%20if%20%28k%20%3D%3D%201.%29%20%7B%0A%20%20%20%20%20%20pk%20%3D%20-pk%3B%0A%20%20%20%20%7D%0A%20%20%20%20%0A%20%20%20%20float%20logk%20%3D%20log%28k%29%3B%0A%20%20%20%20%0A%20%20%20%20sum1r%20%2B%3D%20pk%20*%20cos%28p.y%20*%20logk%29%3B%0A%20%20%20%20sum1i%20%2B%3D%20-pk%20*%20sin%28p.y%20*%20logk%29%3B%0A%20%20%7D%0A%20%20%0A%20%20float%20sum2r%20%3D%200.%3B%0A%20%20float%20sum2i%20%3D%200.%3B%0A%20%20%0A%20%20for%20%28float%20k%20%3D%20n%20%2B%201.%3B%20k%20<%3D%202.*n%3B%20k%2B%2B%29%7B%0A%20%20%20%20pk%20%3D%20pow%28k%2C%20-p.x%29%3B%0A%20%20%20%20%0A%20%20%20%20if%20%28k%20%3D%3D%201.%29%20%7B%0A%20%20%20%20%20%20pk%20%3D%20-pk%3B%0A%20%20%20%20%7D%0A%20%20%20%20%0A%20%20%20%20float%20logk%20%3D%20log%28k%29%3B%0A%20%20%20%20%0A%20%20%20%20float%20ek%20%3D%200.%3B%0A%20%20%20%20%0A%20%20%20%20for%20%28float%20j%20%3D%200.%3B%20j%20<%3D%20n%3B%20j%2B%2B%29%20%7B%0A%20%20%20%20%20%20if%20%28j%20<%3D%20k%29%20%7Bcontinue%3B%7D%0A%20%20%20%20%20%20float%20b%20%3D%201.%3B%0A%20%20%20%20%20%20for%20%28float%20i%20%3D%201.%3B%20i%20<%3D%20n%3B%20i%2B%2B%29%20%7B%0A%20%20%20%20%20%20%20%20if%20%28i%20%3D%3D%20j%29%20%7B%20break%3B%20%7D%0A%20%20%20%20%20%20%20%20b%20*%3D%20%28n%20%2B%201.%20-%20i%29%2Fi%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20ek%20%2B%3D%20b%3B%0A%20%20%20%20%7D%0A%20%20%20%20%0A%20%20%20%20sum2r%20%2B%3D%20pk%20*%20cos%28p.y%20*%20logk%29%20*%20ek%3B%0A%20%20%20%20sum2i%20-%3D%20pk%20*%20sin%28p.y%20*%20logk%29%20*%20ek%3B%0A%0A%20%20%7D%0A%20%20%0A%20float%20pow2%20%3D%20pow%282.%2C%20-n%29%3B%0A%20float%20sumr%20%3D%20sum1r%20%2B%20pow2%20*%20sum2r%3B%0A%20float%20sumi%20%3D%20sum1i%20%2B%20pow2%20*%20sum2i%3B%0A%20v.x%20%3D%20%28sumr%20*%20c_re_top%20-%20sumi%20*%20c_im_top%29%0A%20%20%20%2Fc_bot%3B%0A%20v.y%20%3D%20%28sumr%20*%20c_im_top%20%2B%20sumi%20*%20c_re_top%29%0A%20%20%20%2Fc_bot%3B%0A%20return%20v%3B%0A%7D |