Watchmaker Wiki

The ultimate watch maker for Android Wear!

User Tools

Site Tools


tips:dynamiccolor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
tips:dynamiccolor [2015/01/22 03:07] – [Gradually Transition Color As Battery Drains, From Green to Yellow to Red] rahul_pawatips:dynamiccolor [2015/01/22 03:08] – [Gradually Transition Color As Battery Drains, From Green to Yellow to Red] rahul_pawa
Line 72: Line 72:
  
 And finally, if the battery is below 16 the color will be bright red. And finally, if the battery is below 16 the color will be bright red.
 +
 +   or 'FF0000'
 +
  
 I put this code into a circle that is shaded using the segment shader option, with the code {bl}*3.6 for "degrees" and opacity 75 (to dull the bright colors a little). Then I put a black circle of the same size underneath, and a smaller black circle on top. I put this code into a circle that is shaded using the segment shader option, with the code {bl}*3.6 for "degrees" and opacity 75 (to dull the bright colors a little). Then I put a black circle of the same size underneath, and a smaller black circle on top.
tips/dynamiccolor.txt · Last modified: 2016/07/05 19:32 by wmissimer