# \#float32array

**URL:** https://discourse.threejs.org/tag/float32array/892.md

[Latest](https://discourse.threejs.org/latest.md) · [Categories](https://discourse.threejs.org/categories.md) · [Tags](https://discourse.threejs.org/tags.md)

---

## [THREE.DataTexture - data manipulation and texture resizing](https://discourse.threejs.org/t/three-datatexture-data-manipulation-and-texture-resizing/76779)

<div class="topic-metadata">

**Author:** [@GitHubDragonFly](https://discourse.threejs.org/u/GitHubDragonFly)\
**Replies:** 7\
**Last updated:** [January 23, 2025, 3:36am UTC](https://discourse.threejs.org/t/three-datatexture-data-manipulation-and-texture-resizing/76779 "2025-01-23T03:36:28Z")

</div>

For those who might ever have a need to resize textures and / or convert texture data, here is one possible way of doing this. Some might find handling of Uint16Array and Float32Array somewhat interesting. This is not …

---

## [Any problem with using default Array to hold Float32Array values?](https://discourse.threejs.org/t/any-problem-with-using-default-array-to-hold-float32array-values/40617)

<div class="topic-metadata">

**Author:** [@orion\_prime](https://discourse.threejs.org/u/orion_prime)\
**Replies:** 4\
**Last updated:** [July 23, 2022, 8:55pm UTC](https://discourse.threejs.org/t/any-problem-with-using-default-array-to-hold-float32array-values/40617 "2022-07-23T20:55:24Z")

</div>

So I’m editing a selected geometry.attributes.position.array values temporarily for an effect and to revert back to original state i’m using a array to backup all the position array values .(just adding by index from f…

---

## [Elegant way to copy a Vector3 into a Float32Array?](https://discourse.threejs.org/t/elegant-way-to-copy-a-vector3-into-a-float32array/37789)

<div class="topic-metadata">

**Author:** [@vielzutun.ch](https://discourse.threejs.org/u/vielzutun.ch)\
**Replies:** 2\
**Last updated:** [May 4, 2022, 12:32pm UTC](https://discourse.threejs.org/t/elegant-way-to-copy-a-vector3-into-a-float32array/37789 "2022-05-04T12:32:39Z")

</div>

Hi all, I want to let a THREE.line start at the current camera position. Is there a more elegant (1-liner) way to do that other than the following (which does work)? :thinking: upMesh.geometry.attributes.position.arra…

---

## [How to sort an Array of vertices to make an unbroken 'sensible' geometry](https://discourse.threejs.org/t/how-to-sort-an-array-of-vertices-to-make-an-unbroken-sensible-geometry/37324)

<div class="topic-metadata">

**Author:** [@Moe\_Ibrahim](https://discourse.threejs.org/u/Moe_Ibrahim)\
**Replies:** 6\
**Last updated:** [April 22, 2022, 2:26pm UTC](https://discourse.threejs.org/t/how-to-sort-an-array-of-vertices-to-make-an-unbroken-sensible-geometry/37324 "2022-04-22T14:26:58Z")

</div>

Hi Guys, I have this problem that i couldnt find solutions to anywhere else. so I have an array of xyz positions. they should represents vertices points on a human face, so if i put those in a position attribute of a …

---

## [Modify dynamic texture float 32 array with frag shaders](https://discourse.threejs.org/t/modify-dynamic-texture-float-32-array-with-frag-shaders/22816)

<div class="topic-metadata">

**Author:** [@Lawrence3DPK](https://discourse.threejs.org/u/Lawrence3DPK)\
**Replies:** 3\
**Last updated:** [January 27, 2021, 1:57am UTC](https://discourse.threejs.org/t/modify-dynamic-texture-float-32-array-with-frag-shaders/22816 "2021-01-27T01:57:01Z")

</div>

hey all, would anyone be able to tell me how this image hover effect is done or has an example of how to do this they could point me in the right direction to?! i would like to create the same visual effect in this exa…
