Ooops! I meant "is not too badly bruised."
Keith

On 16/06/2025 11:36, Keith McKay wrote:
Hi Hans,
Thanks for your reply and I hope your head is too badly bruised. Unfortunately it was not what I was looking for, interesting that it is. I don't think my MWE was very well formed so I show below the relevant snippet of code from the noise stuff I am doing which I hope makes things clearer. I wanted to show how the noise patterns changed when I changed some of the variables in the vardef sumOctave(). In the examples below I vary the z coordinate, keeping other variables constant, to show the changed noise pattern. In page 1 I create three bytemaps, one for each z variable and you can see in the attached pdf that we get three different noise patterns in page one as expected. I then thought, could I do the same thing by using 1 bytemap and overwriting it? By this I mean create a bytemap and fill it with data, using that data fill a unitsquare with that bytemap, take the original bytemap and again fill it with different data and fill a unitsquare with the overwritten bytemap. My attempt at this is page two. I had expected the three same images as page one, however, I get three images which are identical to the final z value of 1000. I hope this makes it clearer.
Thanks again for your help
Keith
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to