Color.from_i
- classmethod Color.from_i(i)
Construct a color from a single number in the range 0-1.
- Parameters
i (float) – Number in the range 0-1, representing the color.
- Returns
Construct a color from a single number in the range 0-1.
i (float) – Number in the range 0-1, representing the color.
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev