Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Description
- It's a command that generates a Santa hat somewhat inside your selection. It doesn't *fill* your selection because the shape is kind of jank, and I'm too lazy to account for that. Maybe one day I'll make an updated version. The command also uses data values to color the blocks for you, so keep the "block" as something that has 16 colors (wool, stained glass, hardened clay, concrete) or else things will get weird. There are two variables for customizing: (t, h)
- # The command
- //g 35 t=0.1;h=0.15;w=y+((x-1)/2)^4;v=(x+((w+1)/2)^4)^2+z^2-((1.25-w)/2.5)^3-(y<(2*h-1)?t:0);data=(v?0:(y<(2*h-1)?0:14));v<0||(x+0.8)^2+(y-0.05)^2+z^2-0.2^2<0.01
- # The variables
- - 't' controls how thick the white bottom fuzzy part is. Just keep this number as something small; what the number really does is it extrudes the white fuzzy region from the normal curvature of the hat's shape.
- - 'h' controls how high up the white fuzzy bottom part goes on a scale from 0 to 1.
- # P.S.
- Merry Chrysler
Advertisement
Add Comment
Please, Sign In to add comment