Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Description
- It's a command that generates a pumpkin shape inside your selection. You can customize stuff with three variables (n, t, u).
- # The command
- //g [block] n=9;t=12;u=0.8;y^2<=(((t+cos(n*atan2(z,x)))/(t+1))^2-x^2-z^2)*(1-u*e^(-8*(x^2+z^2)))
- # The variables
- - 'n' controls how many bumps go around the pumpkin (I don't know how else to describe these shapes). This hopefully shouldn't need more explaining. Make this value a whole number or some weird stuff will happen.
- - 't' controls how thick the center of the pumpkin is... sort of. Making 't' a larger number will make the creases between the bumps less sharp. This value can be any number greater than 1, but I recommend using something between 10-20 depending on the number of bumps in your pumpkin.
- - 'u' controls how much the pumpkin indents at the top and bottom. This number can be between 0 and 1, where u=0 means no indentation and u=1 means maximum indentation. I recommend using a value between 0.5 and 0.8.
- # P.S.
- No there's not a stem command, use /br spike or something like that.
Advertisement
Add Comment
Please, Sign In to add comment