Skip to content

Changes to the Shoes DSL

wasnotrice edited this page Aug 28, 2012 · 1 revision

The Shoes DSL is wonderful, but it does have some quirks. In Shoes 4, we are making changes to the DSL where necessary for clarity and consistency, and even to add features!

Here's a summary of the changes to the Shoes DSL in Shoes 4

Feature Shoes 3 Shoes 4
out-of-bounds rgb colors Wraps values, so that 256 is equivalent to 1, and -1 is equivalent to 255. Likewise, 1.1 is equivalent to 0.1, and -0.1 is equivalent to 0.9. Uses the closest valid value, so that 256 is equivalent to 255, and -1 is equivalent to 0. Likewise, 1.1 is equivalent to 1.0, and -0.1 is equivalent to 0.0.
Clone this wiki locally