CesiumGS / CesiumGS/cesium

Pass in interpolation functions to ParticleSystem

Open
#7,414 0 comments 1 reaction 0 assignees View on GitHub
type - enhancement
Dominant language
JavaScript
Stars
15.7k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

Currently, particles will always linearly interpolate between `startColor` and `endColor`, and `startScale` and `endScale`. I want the ability to pass in a function for each to compute the interpolation. The default value would still be `CesiumMath.lerp`.

Contributor guide

Open the contributing guide

Research direction

Start by locating the ParticleSystem entry point and read how it currently interpolates startColor/endColor and startScale/endScale. Determine where interpolation functions would be passed and how CesiumMath.lerp remains the default. The work is done when both properties accept custom functions while preserving the existing linear behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.