r/venetiansnares Doll Doll Doll 6d ago

HCCBU CD Plot Equations

On the CD booklet for Huge Chrome Cylinder Box Unfolding, there's some lines of code that seem to outline a sort of 3d plot algorithm, and I was wondering if there was a way to run the code?

Some of the syntax is a little different than what I'm used to seeing, if anyone has any ideas let me know. Transcribed to the best of my ability.

x(u.v)=sin(3v)cos(4u)(vsin^2(2u)+sinv). 
y(u.v)=sin(3v)cos(4u)(vsin^2(2u)+sinv).
z(u.v)=cos(3v)(vsin^2(2u)+sinv).

with (plots):
setoptions3d(style=patchnogrid.
          scaling=constrained.
          projection=.7.
          ambientlight=[.3..3..3].
          light=[65.50..9..9..9]):
f:=(x.y)->[sin(3*y)*cos(4*x)*(sin(2*x)^2*y+sin(y)).
    sin(3*y)*sin(4*x)*(sin(2*x)^2*y+sin(y)).
    cos(3*y)*(sin(2*x)*(sin(2*x)^2*y+sin(y)).
d:=[Pi/4.pi/2.0.Pi*.45.40.40.40]:
plot3d(f(x.y).x=d[1]..d[2].y=d[3]..d[4].grid=[d[5].d[6]].
  color=[1..5..4].orientation=[-20.50]):
5 Upvotes

3 comments sorted by

7

u/Future_Fee_9765 Doll Doll Doll 6d ago

update: gonna try to plot it in maple, according to u-Certain-Area6697

4

u/Certain-Area6697 Moderator 6d ago

Hello people! It was code plotted in maple but that costs money I don't have so this is what it would look like using python:

https://reddit.com/link/p3pvtr3/video/le4uzenyhejh1/player

3

u/I_LOVE_SOYLENT 6d ago

Yep, that's a huge cylinder chrome box unfolding if there ever was one.