Skip to content

Option Rename Matrix ​

Use this page as a fast lookup when migrating configs across major versions.

Core tsParticles option mappings ​

Legacy keyCurrent keyNotes
particles.colorparticles.paint.fillMain color path moved under paint.fill.
particles.strokeparticles.paint.strokeStroke path moved under paint.stroke.

Legacy particles.js compatibility mappings ​

These mappings are useful if your config still comes from old particles.js JSON.

particles.js keyCurrent keyNotes
line_linkedlinksSame concept, renamed to modern key style.
retina_detectdetectRetinaSnake case to camel case.

Load API migration quick map ​

This is not an option key rename, but it is one of the most common migration breakages.

Legacy APICurrent API
tsParticles.load("id", options)tsParticles.load({ id: "id", options })
particlesJS("id", options)tsParticles.load({ id: "id", options })

See also ​