fjenett / coffeescript-mode-processing

CoffeeScript mode for Processing 2.0
52 stars 2 forks source link

add "can't use hex codes" to readme? #19

Closed skilfullycurled closed 9 years ago

skilfullycurled commented 11 years ago

Hello again! Long time, no issue.

Someone on the Processing forums (named GoToLoop) realized that it is not possible to use hex codes. Presumably this is because the hash is a comment in CS? Could be a good update to the readme if you have a chance (and if that is correct, of course). I mainly use RGB but I suppose there will be others who like hex.

Hope alls been well!

fjenett commented 11 years ago

Hm, yeah i think in Processing the preprocessor changes them from "#337799" to 0xFF337799 before compilation ... you should be able to use those directly. No?

Thanks for reporting!

skilfullycurled commented 11 years ago

yup, sure does! In fact that's what the person who brought up issue used instead. Processing tends to attract a lot of beginners so it might be nice to point it out.

fjenett commented 9 years ago

Updated readme, thanks