Map node functionality

Don’t suppose someone fancies patching me the functionality of the map node as an exercise? It’s confuddling me :)

have you checked its helppatch? i spent quite some time on that one…

Lovely help patch!

I’m trying to recreate it’s functionality without using the node though…

the following works only if source minimum == 0

map node.v4p (7.2 kB)

ah her we go, was being dim

Annoyingly for the forum, I find the exercise of asking a question often helps me realise the answer.

Sorry!

map node working.v4p (7.8 kB)

not alone there …

Well, that one wasn’t hard, now do it again for the wrap, mirror and clamp mode :)