gifcards:



Let it snow




Did this for The Daily Dot!
Read more for some code:
[[MORE]]rr[n_] := (SeedRandom[n]; RandomReal[])H = Table[{Cos[n*Pi/3], Sin[n*Pi/3]}, {n, 0, 5, 1}];SnowFlake[Q_, x_, y_, R_, S_, k_, h_, o_, s_, N_, PR_, IS_] :=  Graphics[{   Rotate[    Translate[     Scale[      Table[       Table[        Rotate[         Translate[          Scale[           Table[            {AbsoluteThickness[k*h^(n - 1)], Opacity[o], White,             Line[              {{0, 0}, H[[i]]}]},            {i, 1, 6, 1}],           s^(n - 1)],          {If[n == 1, 0, rr[Q*n]], 0}],         If[n == 1, 0, (j + rr[Q*n])*Pi/3], {0, 0}],        {j, 0, 5, 1}],       {n, 1, N, 1}],      S],     {x, y}],    R, {x, y}]},  PlotRange -> PR, ImageSize -> IS, Background -> Black]Manipulate[  Table[   SnowFlake[    Q*f, 4 rr[2 Q*f] - 2,    1.25 - 2.5 (Mod[t + rr[3 Q*f], 1]),    (-1)^(Round[rr[4 Q*f]])*t*Ceiling[6 rr[4 Q*f]]*Pi/3,    .04 + .03 rr[5 Q*f],    .8, 1, .3, .75, 6, {{-2, 2}, {-6/5, 6/5}}, {500, 300}],   {f, 1, F, 1}],{Q, 1, 100, 1}, {F, 1, 50, 1}, {t, 0, 1}]

gifcards:

Let it snow

Did this for The Daily Dot!

Read more for some code:


rr[n_] := (SeedRandom[n]; RandomReal[])

H = Table[{Cos[n*Pi/3], Sin[n*Pi/3]}, {n, 0, 5, 1}];

SnowFlake[Q_, x_, y_, R_, S_, k_, h_, o_, s_, N_, PR_, IS_] :=
Graphics[{
Rotate[
Translate[
Scale[
Table[
Table[
Rotate[
Translate[
Scale[
Table[
{AbsoluteThickness[k*h^(n - 1)], Opacity[o], White,
Line[
{{0, 0}, H[[i]]}]},
{i, 1, 6, 1}],
s^(n - 1)],
{If[n == 1, 0, rr[Q*n]], 0}],
If[n == 1, 0, (j + rr[Q*n])*Pi/3], {0, 0}],
{j, 0, 5, 1}],
{n, 1, N, 1}],
S],
{x, y}],
R, {x, y}]},
PlotRange -> PR, ImageSize -> IS, Background -> Black]

Manipulate[
Table[
SnowFlake[
Q*f, 4 rr[2 Q*f] - 2,
1.25 - 2.5 (Mod[t + rr[3 Q*f], 1]),
(-1)^(Round[rr[4 Q*f]])*t*Ceiling[6 rr[4 Q*f]]*Pi/3,
.04 + .03 rr[5 Q*f],
.8, 1, .3, .75, 6, {{-2, 2}, {-6/5, 6/5}}, {500, 300}],
{f, 1, F, 1}],
{Q, 1, 100, 1}, {F, 1, 50, 1}, {t, 0, 1}]
 
  1. we-will-win reblogged this from reblogadventcalender7889
  2. lonelykiki reblogged this from gifcards
  3. kouki-92 reblogged this from gifcards
  4. reblogadventcalender7889 reblogged this from gifcards
  5. mjolnirmaleficarum reblogged this from gifcards
  6. guadaluperitaparra reblogged this from sexybitchprettyman
  7. sexybitchprettyman reblogged this from gifcards
  8. jlordz reblogged this from gifcards
  9. thursdayroma reblogged this from gifcards
  10. live-love-happiness-xo reblogged this from gifcards
  11. microlina reblogged this from intothecontinuum
  12. smoot reblogged this from intothecontinuum
  13. yellahippy reblogged this from somewhatggolden
  14. h0-pes reblogged this from hohohosuk
  15. sillyclaptrap reblogged this from gifcards
  16. somewhatggolden reblogged this from gifcards
  17. 1iv3-1n-th3-m0ments reblogged this from dreamsandhotcoco
  18. dreamsandhotcoco reblogged this from gifcards
  19. photogenicbutterfly reblogged this from gifcards
  20. ameliamcvoy reblogged this from gifcards
  21. rosalindamoere92386 reblogged this from gifcards
  22. chrisyoungfan reblogged this from gifcards
  23. tellmeonasunday reblogged this from gifcards
  24. estay-shore reblogged this from gifcards
  25. aubrei-denae reblogged this from gifcards
  26. moonlitstarrynight reblogged this from gifcards