# Texture Wrapping

**URL:** <https://discourse.processing.org/t/texture-wrapping/16534>\
**Category:** p5.js\
**Created:** [December 20, 2019, 12:17pm UTC](https://discourse.processing.org/t/texture-wrapping/16534 "2019-12-20T12:17:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Samira](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@Samira](https://discourse.processing.org/u/Samira)\
**Post date:** [December 20, 2019, 12:17pm UTC](https://discourse.processing.org/t/texture-wrapping/16534/1 "2019-12-20T12:17:00Z")

</div>

I’ve just started working more with WebGL and I came across a problem. I want a texture to repeat along a box but it’s just stretching. I know that textureWrap() should solve this, but for some reason, it’s still stretching. I’m using REPEAT and my texture is 256 x 256.
