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}]
-
globalmutt reblogged this from longsnowsmoon
-
senefra reblogged this from intothecontinuum
-
cottoncandytommotheninja likes this
-
cottoncandytommotheninja reblogged this from intothecontinuum
-
uma-estrelaqualquer likes this
-
athena-enlight-me likes this
-
invisiblejonsters reblogged this from intothecontinuum
-
esho84 reblogged this from mer-de-noms
-
emeahacheese likes this
-
cherrytooth reblogged this from trasspaso
-
trasspaso reblogged this from mer-de-noms
-
wingsfortheirsmiles likes this
-
mer-de-noms reblogged this from amor-invictus
-
thaladyk reblogged this from itsjessmehere
-
itsjessmehere reblogged this from reidd-me
-
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.
-
tazjubran likes this
-
machinecopy likes this
-
ishouldgethelplikerightnow reblogged this from intothecontinuum
-
ackleigh likes this
-
masumbirkuldumdirakulaoldum likes this
-
errica504 likes this
-
bruninho-b-h reblogged this from proofmathisbeautiful and added:
………
-
aut0mat0n reblogged this from intothecontinuum
-
warhybridianxev likes this
-
troythulu reblogged this from proofmathisbeautiful
-
unknownmistress reblogged this from proofmathisbeautiful
-
marieharry likes this
-
urlenmeyer-flask reblogged this from supercuddlypuppies
-
supercuddlypuppies reblogged this from proofmathisbeautiful
-
meimeichang likes this
-
wellshiet reblogged this from intothecontinuum
-
twistsnake likes this
-
vaginaeatsyou likes this
-
onlygoodloveforall reblogged this from proofmathisbeautiful
-
voguezombie likes this
-
jetbunny reblogged this from radarloquere
-
radarloquere reblogged this from intothecontinuum
-
tildemo likes this
-
caballerojaguar reblogged this from intothecontinuum
-
c-string likes this
-
hypergiants reblogged this from metatron-the-angel
-
tufosiksowan likes this
-
tufosiksowan reblogged this from pwnator
-
ryostryfe reblogged this from proofmathisbeautiful
-
sythisra likes this
-
keepingthekeepers reblogged this from proofmathisbeautiful
-
horse1712 likes this
-
astronomynerd likes this
- Show more notes