ITOOSOFT Forum

Author Topic: Rotating Probability Gradient  (Read 1353 times)

cj123

  • Newbie
  • *
  • Posts: 2
Rotating Probability Gradient
« on: August 21, 2025, 07:46:42 pm »
Hi everyone, new to the forums here. You all have been a big help in the past and I thought I'd come in with a question of my own. I'm currently using the running bond brick macro with the probability gradient macro nested within it to create the attached exihibts (see vertical/horizontal jpgs). I'm wondering if there's a way to create an expression or something to rotate the orientation of the gradient to any angle of my choosing (not just 0 or 90)? In order to rotate the existing pattern I've been checking the "operate on x/y" box which has worked for the time being, but I suspect what I'm asking for is going to be a little more complicated than that. ;) Thanks for your help in advance!

Michal Karmazín

  • ITOOSOFT
  • Hero Member
  • *****
  • Posts: 3093
Re: Rotating Probability Gradient
« Reply #1 on: August 22, 2025, 02:24:55 pm »
Hi,

Please find attached a sample scene (250822_RotatedGradientProbability_ITOOSOFT.max) in which I modified the Gradient Probability macro to incorporate the Angle parameter and simulate rotation. I hope this helps.

Best regards,

cj123

  • Newbie
  • *
  • Posts: 2
Re: Rotating Probability Gradient
« Reply #2 on: August 22, 2025, 07:01:17 pm »
Michal this is fantastic! Exactly what I needed, thank you for your help!  ;D

Michal Karmazín

  • ITOOSOFT
  • Hero Member
  • *****
  • Posts: 3093
Re: Rotating Probability Gradient
« Reply #3 on: August 25, 2025, 09:18:26 am »
You’re welcome — glad to hear it helped.  ;)

All the best,