Formulas

Introduction

Here is a page with Cinema 4D Formulas that you can use for Formula Effectors or Fields. Formulas are primarily based on C++ syntax.

Formula Appendix, Maxon Help Guide

Basic

px,py,pz - Position
rx,ry,rz - Rotation
sx,sy,sz - Scale

u,v,w - UVW
id - Object Index
count - Object Count

falloff - Falloff weight
t - Project Time[-∞..+∞]
f - Frequency[-∞..+∞]

Conditional
?(a;b)
(3>4)?(10;20)
?(a;b)

Arguments such as mod(a;b) must be separated by a semi-colon or by squared brackets [] (then without curved brackets)

rnd(100) is the same as rnd[100] and rnd(100;234) is the same as rnd([100][234]).

Mathematical Operators

Units

Logical Operators

Constants

Getting Started

Concepts

White to dark vertical

Dark to white center, vertical

Dark to white center, horizontal

Radial - White to Dark Center

Formula Library

Default/Wave

Alternating Lines

Last updated

Was this helpful?