← Back to team overview

yade-users team mailing list archive

Re: [Question #681022]: change color

 

Question #681022 on Yade changed:
https://answers.launchpad.net/yade/+question/681022

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hi James,
use values normalized to interval [0,1], e.g.

b.shape.color = (72/255.,72/255.,147/255.)

cheers
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.