My Horrific Elegance

intothecontinuum:

Mathematica code:

Rot60 = 
Table[
Table[
RotationTransform[a, {1, 1, 0}, {0, 0, 0}][Tuples[{-1, 1}, 3][[v]]],
{v, 1, 8, 1}],
{a, 0, 2 Pi, 2 Pi/60}]

Edge := {1, 2, 4, 3, 7, 8, 6, 5, 1, 3, 4, 8, 7, 5, 6, 2}

CubeProjections[color_, pr_, b_, s_, h_, w_, m_, a_] :=
Graphics[
Table[
Translate[
{AbsoluteThickness[h], If[color == 0, Black, White],
Line[
Table[
Table[
Rot60[[1 + Mod[w (y + m*x) + a, 60]]][[Edge[[k]]]][[c]],
{c, 1, 2, 1}],
{k, 1, 16, 1}]]},
{s*x, s*y}],
{x, -6, 6, 1}, {y, -b, b, 1}],
PlotRange -> {{-pr/3, pr/3}, {-pr+1, pr-1}}, ImageSize -> 500,
Background -> If[color == 0, White, Black]
]

Manipulate[
PM = {color, pr, b, s, h, w, m, a};
CubeProjections[color, pr, b, s, h, w, m, a],
{color, 0, 1, 1}, {{pr, 17}, 1, 52}, {{b, 5}, 1, 20, 1},
{{s, 3}, 0, 5}, {{h, 1}, .01, 10},
{{w, 1}, 0, 20, 1},{{m, 1}, 0, 20, 1},
{a, 1, 60, 1}]

P = {0, 29, 20, 1.3, 2.5, 1, 0, 0}

Manipulate[
CubeProjections30[P[[1]], P[[2]], P[[3]], P[[4]], P[[5]], P[[6]],
P[[7]], a],
{a, 1, 30, 1}]
  1. globalmutt reblogged this from longsnowsmoon
  2. senefra reblogged this from intothecontinuum
  3. cottoncandytommotheninja reblogged this from intothecontinuum
  4. invisiblejonsters reblogged this from intothecontinuum
  5. esho84 reblogged this from mer-de-noms
  6. cherrytooth reblogged this from trasspaso
  7. trasspaso reblogged this from mer-de-noms
  8. mer-de-noms reblogged this from amor-invictus
  9. thaladyk reblogged this from itsjessmehere
  10. itsjessmehere reblogged this from reidd-me
  11. reidd-me reblogged this from proofmathisbeautiful and added:
    I’m a lil hype to type this code into Mathematica and mess with it. Please excuse me.
  12. ishouldgethelplikerightnow reblogged this from intothecontinuum
  13. bruninho-b-h reblogged this from proofmathisbeautiful and added:
    ………
  14. aut0mat0n reblogged this from intothecontinuum
  15. troythulu reblogged this from proofmathisbeautiful
  16. unknownmistress reblogged this from proofmathisbeautiful
  17. urlenmeyer-flask reblogged this from supercuddlypuppies
  18. supercuddlypuppies reblogged this from proofmathisbeautiful
  19. wellshiet reblogged this from intothecontinuum
  20. onlygoodloveforall reblogged this from proofmathisbeautiful
  21. jetbunny reblogged this from radarloquere
  22. radarloquere reblogged this from intothecontinuum
  23. caballerojaguar reblogged this from intothecontinuum
  24. hypergiants reblogged this from metatron-the-angel
  25. tufosiksowan reblogged this from pwnator
  26. ryostryfe reblogged this from proofmathisbeautiful
  27. keepingthekeepers reblogged this from proofmathisbeautiful
Blog comments powered by Disqus