# \#splines

**URL:** https://discourse.threejs.org/tag/splines/249.md

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

---

## [Splines / curves wrapped around sphere](https://discourse.threejs.org/t/splines-curves-wrapped-around-sphere/61792)

<div class="topic-metadata">

**Author:** [@Clms](https://discourse.threejs.org/u/Clms)\
**Replies:** 3\
**Last updated:** [February 23, 2024, 6:36pm UTC](https://discourse.threejs.org/t/splines-curves-wrapped-around-sphere/61792 "2024-02-23T18:36:20Z")

</div>

Hi there, I am new to three.js and try to recreate the look of this image: The result should be a sphere with lines from the north to the south pole. There should be multiple lines running, these lines should “bend”…

---

## [Move camera along spline while still having controls pan the camera](https://discourse.threejs.org/t/move-camera-along-spline-while-still-having-controls-pan-the-camera/24777)

<div class="topic-metadata">

**Author:** [@Grant](https://discourse.threejs.org/u/Grant)\
**Replies:** 2\
**Last updated:** [November 21, 2023, 4:08pm UTC](https://discourse.threejs.org/t/move-camera-along-spline-while-still-having-controls-pan-the-camera/24777 "2023-11-21T16:08:42Z")

</div>

I have a spline that my camera moves back and forth on when scrolling with the mouse wheel. My problem is that I am not able to look left/right in my 3d scene anymore. Here is how I capture the wheel event: // Incremen…

---

## [Spline + DataTexture](https://discourse.threejs.org/t/spline-datatexture/14252)

<div class="topic-metadata">

**Author:** [@prisoner849](https://discourse.threejs.org/u/prisoner849)\
**Replies:** 4\
**Last updated:** [April 11, 2020, 4:03pm UTC](https://discourse.threejs.org/t/spline-datatexture/14252 "2020-04-11T16:03:48Z")

</div>

Hi community! Here is a picture: And here is a working example: https://codepen.io/prisoner849/full/WNQNdpv This is an attemp of saving the data of a spline into THREE.DataTexture() and using it for bending an objec…

---

## [Bulding shape with Cubic Bezier](https://discourse.threejs.org/t/bulding-shape-with-cubic-bezier/44642)

<div class="topic-metadata">

**Author:** [@Pozarniy](https://discourse.threejs.org/u/Pozarniy)\
**Replies:** 5\
**Last updated:** [November 13, 2022, 7:32pm UTC](https://discourse.threejs.org/t/bulding-shape-with-cubic-bezier/44642 "2022-11-13T19:32:11Z")

</div>

Good day everyone. For the last 2-3 weeks I’m trying to wrap my head around some concepts of creation and triangulation of points. Will try to describe what i want to achieve, and which problems I’ve faced. Trying to re…

---

## [Spline is displayed in both sides of the mesh](https://discourse.threejs.org/t/spline-is-displayed-in-both-sides-of-the-mesh/38918)

<div class="topic-metadata">

**Author:** [@ccc](https://discourse.threejs.org/u/ccc)\
**Replies:** 1\
**Last updated:** [June 7, 2022, 8:33am UTC](https://discourse.threejs.org/t/spline-is-displayed-in-both-sides-of-the-mesh/38918 "2022-06-07T08:33:40Z")

</div>

We have a 3D mesh that the user can select to draw splines on it. The splines are not added as children of the mesh, but as different objects that get the same points as the specific location where it was drawn on the me…

---

## [Object follow Camera](https://discourse.threejs.org/t/object-follow-camera/38862)

<div class="topic-metadata">

**Author:** [@Refr3sh](https://discourse.threejs.org/u/Refr3sh)\
**Replies:** 0\
**Last updated:** [June 4, 2022, 5:47pm UTC](https://discourse.threejs.org/t/object-follow-camera/38862 "2022-06-04T17:47:43Z")

</div>

HI i want to make an object walk to camera position like following the camera. I have a CatMullRomCurve3 with 2 Vector3 one is the actual object position and the other is the actual camera position but i cannot make hit…

---

## [Add smoothed out stops to camera following spline curve three.js](https://discourse.threejs.org/t/add-smoothed-out-stops-to-camera-following-spline-curve-three-js/36148)

<div class="topic-metadata">

**Author:** [@TomasGonzalez](https://discourse.threejs.org/u/TomasGonzalez)\
**Replies:** 1\
**Last updated:** [March 22, 2022, 12:58am UTC](https://discourse.threejs.org/t/add-smoothed-out-stops-to-camera-following-spline-curve-three-js/36148 "2022-03-22T00:58:15Z")

</div>

I have been experimenting with three.js for a website I’m making. I came across the spline curve solution in order to make a camera follow a cinematic path, and linked it to the drei’s scroll component in order to make …

---

## [Control ExtrudeGeometry](https://discourse.threejs.org/t/control-extrudegeometry/28093)

<div class="topic-metadata">

**Author:** [@alecz](https://discourse.threejs.org/u/alecz)\
**Replies:** 2\
**Last updated:** [July 16, 2021, 2:36pm UTC](https://discourse.threejs.org/t/control-extrudegeometry/28093 "2021-07-16T14:36:11Z")

</div>

Hi everybody, I’m brand new on this forum. So here is my first question: I’m trying to draw a “ribbon” using ExtrudeGeometry and CatmullRomCurve3. This works very well except the extruded geometry is not flat but its se…

---

## [Web Spline Editor export to THREE.SplineCurve](https://discourse.threejs.org/t/web-spline-editor-export-to-three-splinecurve/25457)

<div class="topic-metadata">

**Author:** [@sneha-belkhale](https://discourse.threejs.org/u/sneha-belkhale)\
**Replies:** 0\
**Last updated:** [April 18, 2021, 12:06am UTC](https://discourse.threejs.org/t/web-spline-editor-export-to-three-splinecurve/25457 "2021-04-18T00:06:53Z")

</div>

hey all! I needed the ability to create custom easing spline curves for a project ( for better control of camera / character animation ) and hacked something together, based off of https://mbostock.github.io/protovis/ex/…

---

## [Doubt in spline Creation](https://discourse.threejs.org/t/doubt-in-spline-creation/18012)

<div class="topic-metadata">

**Author:** [@sudarshan](https://discourse.threejs.org/u/sudarshan)\
**Replies:** 4\
**Last updated:** [August 21, 2020, 3:19am UTC](https://discourse.threejs.org/t/doubt-in-spline-creation/18012 "2020-08-21T03:19:46Z")

</div>

Iam learning threejs. Thank you for creating such an awesome library. This is more of a math doubt in threejs. How do you generate a spline of reducing height of sine wave like the following image. Any tips or suggesti…

---

## [Why the models aren\`t move along on the spline..?](https://discourse.threejs.org/t/why-the-models-aren-t-move-along-on-the-spline/13905)

<div class="topic-metadata">

**Author:** [@Kalpa\_De\_Silva](https://discourse.threejs.org/u/Kalpa_De_Silva)\
**Replies:** 5\
**Last updated:** [March 30, 2020, 1:32pm UTC](https://discourse.threejs.org/t/why-the-models-aren-t-move-along-on-the-spline/13905 "2020-03-30T13:32:45Z")

</div>

There are two models on my work I wanna move them on spline… But they are go through the direction on spline so far…I want to make them go on the spline… I just tried so much… Below is my project link… MY Work

---

## [Dashed lines, linewidth and viewing on mobile](https://discourse.threejs.org/t/dashed-lines-linewidth-and-viewing-on-mobile/904)

<div class="topic-metadata">

**Author:** [@batchku](https://discourse.threejs.org/u/batchku)\
**Replies:** 4\
**Last updated:** [October 6, 2017, 9:11am UTC](https://discourse.threejs.org/t/dashed-lines-linewidth-and-viewing-on-mobile/904 "2017-10-06T09:11:52Z")

</div>

Hello all, I’m having some unexpected experience with THREE.line. I’m trying to make a nice circle with a dashed line stroke. I have two issues: the linewidth parameter doesn’t seem to have any effect the circle loo…

---

## [Trying to combine webgl\_geometry\_text\_earcut & Extrude\_Splines](https://discourse.threejs.org/t/trying-to-combine-webgl-geometry-text-earcut-extrude-splines/703)

<div class="topic-metadata">

**Author:** [@mark42](https://discourse.threejs.org/u/mark42)\
**Replies:** 1\
**Last updated:** [August 15, 2017, 1:35pm UTC](https://discourse.threejs.org/t/trying-to-combine-webgl-geometry-text-earcut-extrude-splines/703 "2017-08-15T13:35:20Z")

</div>

Trying to combine webgl\_geometry\_text\_earcut & Extrude\_Splines so text and splines are diplayed on same surface. Unfortunately everytime I have tried to do this I end up with errors I can’t seem to fix. Any help on this…
