# Addon. Produces almost infinite many time-varying geometries with functions

**URL:** <https://discourse.threejs.org/t/addon-produces-almost-infinite-many-time-varying-geometries-with-functions/262>\
**Category:** Resources\
**Tags:** geometry\
**Created:** [April 27, 2017, 8:31am UTC](https://discourse.threejs.org/t/addon-produces-almost-infinite-many-time-varying-geometries-with-functions/262 "2017-04-27T08:31:33Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![hofk](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/hofk/32/44944_2.png) [@hofk](https://discourse.threejs.org/u/hofk)\
**Post date:** [July 17, 2017, 6:22pm UTC](https://discourse.threejs.org/t/addon-produces-almost-infinite-many-time-varying-geometries-with-functions/262/14 "2017-07-17T18:22:35Z")

</div>

**🆕**  
**I have now expanded the vertexNumbersHelper to BufferGeometry.**

Since non-indexed BufferGeometry has no vertices / indices, I use the internal array _vertexPositions_.

The triangles involved are stored in this array for each defined vertex. More specifically, the positions of the respective corners.

So I take the first entry for every vertex n.

_vertexNumbers[n].position.set( … .vertexPositions[n][0] …_

At [http://sandbox.threejs.hofk.de/](http://sandbox.threejs.hofk.de/) the new possibility is now integrated.

 ![](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/1X/84ecbb63ab134dac7ce493500c3ecc0a09cb7452.png)

The extended version is also available on GitHub [GitHub - hofk/THREEf.js at master](https://github.com/hofk/THREEf.js/tree/master)

---

_[View the full topic](https://discourse.threejs.org/t/addon-produces-almost-infinite-many-time-varying-geometries-with-functions/262)._
