Skip to main content

Interpolate Points

Interpolate between two points

Written by Holly Conrad Smith

Use this to find a point partway between two other points — for example, placing a point 30% of the way along a line between two building corners, or stepping a value smoothly between two positions.

Category: Geometric Operations

Kind: Operation

Description: interpolate between two points

Inputs

Name

Abbreviation

Type

Access

Description

a

A

Vector

Item

the first point

b

B

Vector

Item

the second point

t (optional, default 0.5)

T

Number

Item

the interpolation factor — 0 returns "a", 1 returns "b", 0.5 is the midpoint

clamp (optional, default false)

C

Boolean

Item

whether to keep the result between "a" and "b" even if "t" is set outside 0–1

Outputs

Name

Abbreviation

Type

Access

Description

point

P

Vector

Item

the interpolated point

How to

  1. Add the Interpolate Points node.

  2. Feed in two points, "a" and "b" — both Vectors, commonly from Construct Vector, Vector Centroid, or End Points on an existing line.

  3. Set "t" to how far between them you want the result (0–1).

  4. Turn on "clamp" if you want to prevent "t" values outside 0–1 from overshooting past "a" or "b".

Did this answer your question?