# Multimap multi-pattern - it's alive!

**URL:** <https://forum.electromage.com/t/multimap-multi-pattern-its-alive/1213>\
**Category:** Patterns and Code\
**Created:** [May 5, 2021, 2:32am UTC](https://forum.electromage.com/t/multimap-multi-pattern-its-alive/1213 "2021-05-05T02:32:57Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![Scruffynerf](https://forum.electromage.com/letter_avatar_proxy/v4/letter/s/34f0e0/32.png) [@Scruffynerf](https://forum.electromage.com/u/Scruffynerf)\
**Post date:** [July 31, 2021, 10:30pm UTC](https://forum.electromage.com/t/multimap-multi-pattern-its-alive/1213/21 "2021-07-31T22:30:22Z")

</div>

So there is no connection between your map and your pattern, and v is decided in the pattern…

Easy fix though… Copy the code that decides what v is into your map. For example

wave(time(.0008)) in Violet… So check that to see how bright it is…

---

<div class="post-metadata">

**Author:** ![Vortexfractal](https://forum.electromage.com/user_avatar/forum.electromage.com/vortexfractal/32/1132_2.png) [@Vortexfractal](https://forum.electromage.com/u/Vortexfractal)\
**Post date:** [July 31, 2021, 10:56pm UTC](https://forum.electromage.com/t/multimap-multi-pattern-its-alive/1213/24 "2021-07-31T22:56:31Z")

</div>

```
  function inmap4(index, x, y) {
  v = clamp((wave((y/-0.1) - t1 + 0.5) -.5) * .5, 0, 1)
  if (x < 1 && y > .00) {
    isInMap = true;
     
  }
  
  if (v <0.02){
      isInMap = false;
    }

```

not the effect im looking to achieve but it is turning the map on and off… kinda creating an interesting pattern…effect…i should upload some video of this thing im playing with… 😌 😃

[Previous page](https://forum.electromage.com/t/multimap-multi-pattern-its-alive/1213.md?page=1)
