HOME | DD

willmh93 β€” Splitting Cells
Published: 2012-10-20 16:22:34 +0000 UTC; Views: 5746; Favourites: 42; Downloads: 40
Redirect to original
Description A new RGB formula I just came up with (generated in realtime):

R = sin( abs(i * 0.01 + sin(x*0.1) * 10) * cos( sin(dist / 10000 + i * 0.01) + a * 3 + i * 0.005 ) ) * 127 + 127
G = cos( sin( dist / 10000 + i * 0.01 ) + a * 3 + i * 0.0001 ) * 127 + 127
B = min( max(0, (R - G)), 255)

Where:
x = x-coordinate of pixel
y = y-coordinate of pixel
dist = distance to centre of stage in pixels
a = angle between pixel and centre of stage (in radians)
i = sin(timer) * 3000
Related content
Comments: 15

AskBassChu [2013-08-10 22:31:23 +0000 UTC]

ItsΒ HYPNOTICCC!!!

πŸ‘: 0 ⏩: 0

StupidManWithNoBrain [2013-04-13 06:25:33 +0000 UTC]

Made me become high XD

πŸ‘: 0 ⏩: 0

dieuts [2012-11-06 15:25:42 +0000 UTC]

thank you

πŸ‘: 0 ⏩: 0

happyhorse09 [2012-10-29 15:33:38 +0000 UTC]

my eyes are confused but i love it!

πŸ‘: 0 ⏩: 1

willmh93 In reply to happyhorse09 [2012-11-01 23:18:50 +0000 UTC]

thanks a lot!

πŸ‘: 0 ⏩: 0

joshua-jewey [2012-10-20 23:36:15 +0000 UTC]

Math!

πŸ‘: 0 ⏩: 1

willmh93 In reply to joshua-jewey [2012-10-23 21:53:22 +0000 UTC]

Gotta love math.

πŸ‘: 0 ⏩: 0

Glowandstar [2012-10-20 22:41:53 +0000 UTC]

i wish i was a real programmer...jelly.

πŸ‘: 0 ⏩: 1

willmh93 In reply to Glowandstar [2012-10-23 21:49:31 +0000 UTC]

There's nothing to stop you learning.

πŸ‘: 0 ⏩: 1

Glowandstar In reply to willmh93 [2012-10-24 21:31:58 +0000 UTC]

in this case, its telling a fish to climb a tree, i swim lad i can't climb a tree like land creatures.

but i've flopped around the edges of the bark, fun but painful, being a fish is hard:<

πŸ‘: 0 ⏩: 2

Thumaszz In reply to Glowandstar [2012-11-08 23:32:33 +0000 UTC]

Well you should give it a try, these types of awesome animations often don't come from hard thinking and reason, a lot of the time when you create stuff like this you are just experimenting with formula's and code. So I guess that it's the fear of failing that stops you from doing it, since it's not that hard, and certainly not impossible.

πŸ‘: 0 ⏩: 1

Glowandstar In reply to Thumaszz [2012-11-09 11:29:13 +0000 UTC]

how do i like a comment? DA should have that.

πŸ‘: 0 ⏩: 0

willmh93 In reply to Glowandstar [2012-10-31 14:18:37 +0000 UTC]

I was a fish once, you'd be surprised by what a fish is capable of when you put your mind to it!

πŸ‘: 0 ⏩: 0

KoniPerdomo [2012-10-20 17:16:18 +0000 UTC]

bizzar and amazing man o/

πŸ‘: 0 ⏩: 1

willmh93 In reply to KoniPerdomo [2012-10-23 21:48:33 +0000 UTC]

Thanks!

πŸ‘: 0 ⏩: 0