(* The prism: the tile times the period. The rhombus at the bottom, past frames stacked to height T, the frame being written on top, the slices a lookup reads marked T/3 and 2T/3 back. On the M5: about a second. *) (* The film on this rhombus: section 9's three waves turned 60 degrees, its free axis on the top corner; prT is time in periods. *) prFilm[prX_, prY_, prT_] := With[{prV = {prX, prY - Sqrt[3]/2}}, Total[Cos[(4 Pi/(3 Sqrt[3])) {Cos[#], Sin[#]} . prV - 2 Pi prT] & /@ ({90, 210, 330} Degree)]]; prBlue[prV_] := Blend[{RGBColor[30/255, 42/255, 130/255], RGBColor[64/255, 84/255, 206/255], RGBColor[150/255, 170/255, 240/255], RGBColor[245/255, 248/255, 1]}, (prV + 3/2)/(9/2)]; prInside[prX_, prY_] := Sqrt[3] Abs[prX] + Abs[prY] <= Sqrt[3]/2; prCorners = {{0, -Sqrt[3]/2}, {1/2, 0}, {0, Sqrt[3]/2}, {-1/2, 0}}; prLift[prPoly_, prZ_] := Append[#, prZ] & /@ prPoly; prSlice[prZ_] := ParametricPlot3D[{prX, prY, prZ}, {prX, -1/2, 1/2}, {prY, -Sqrt[3]/2, Sqrt[3]/2}, RegionFunction -> (prInside[#1, #2] &), ColorFunction -> (prBlue[prFilm[#1, #2, prZ]] &), ColorFunctionScaling -> False, Mesh -> None, BoundaryStyle -> Black, PlotPoints -> 50, Lighting -> "Neutral"]; (* Two pixels just outside the tile, on the frame being written, and where each reads: its one move and that side's delay. *) prLookups = {{{-0.45, -0.35}, 2 Pi/3, {-1/2, 0}, 1/3}, {{0.45, 0.35}, 2 Pi/3, {1/2, 0}, 2/3}}; prArrow[{prP_, prAngle_, prPivot_, prTau_}] := {Arrowheads[0.025], Arrow[Tube[{Append[prP, 1], Append[RotationTransform[prAngle, prPivot][prP], 1 - prTau]}, 0.007]], Sphere[Append[prP, 1], 0.02]}; Show[prSlice /@ {0, 1/3, 2/3, 1}, Graphics3D[{ {Opacity[0.25], LightGray, EdgeForm[Gray], Polygon[prLift[prCorners, #]] & /@ {1/6, 1/2, 5/6}}, {Gray, Line[{Append[#, 0], Append[#, 1]}] & /@ prCorners}, {RGBColor[0.75, 0.35, 0], prArrow /@ prLookups}, {RGBColor[0.75, 0.35, 0], Thickness[0.005], Arrowheads[0.03], Arrow[{{-0.9, 0, 0}, {-0.9, 0, 1.1}}], Black, Text["time, one period T", {-0.95, 0, 1/2}, {1, 0}]}, MapThread[Text[#1, {0.62, 0, #2}, {-1, 0}] &, {{"now, being written", "T/3 back: a lookup reads here", "2T/3 back: a lookup reads here", "T back"}, {1, 2/3, 1/3, 0}}]}], PlotRange -> {{-1.8, 2.3}, {-1, 1}, {-0.05, 1.15}}, BoxRatios -> {2.05, 1, 1.1}, Boxed -> False, Axes -> False, ViewPoint -> {0.4, -3, 1.2}, ViewProjection -> "Orthographic", ImageSize -> 640, PlotLabel -> "What the lookup reads: the tile's past frames. Tile times period is the crystal's fundamental domain."]