Randomize color extension has no limits

Bug #1552003 reported by Jabiertxof
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Wishlist
Jabiertxof

Bug Description

I just done this extension improvement in the patch attached.

The patch add a limit slider to randomize color extension.

Currently for example using one check hue -works in all- you only can check a random value from the full arc 0-255 hue value.
With this improvement, you can limit the scope of random to an amount from 0 to 100.
For example, the item has a 20 value in HUE
If the user select 0 the range become 0-255
if the user select 100 the range become 20
If the user select 90 the random range is 12-28 aprox.

This is very useful working with multiple paths like the attached svg.

Revision history for this message
Jabiertxof (jabiertxof) wrote :
Revision history for this message
Jabiertxof (jabiertxof) wrote :

And the SVG as example

Changed in inkscape:
assignee: nobody → Jabiertxof (jabiertxof)
Revision history for this message
Jabiertxof (jabiertxof) wrote :

If anyone want the extenion without a patch also attached

Revision history for this message
Jabiertxof (jabiertxof) wrote :

and the python code

jazzynico (jazzynico)
Changed in inkscape:
importance: Undecided → Wishlist
milestone: none → 0.92
status: New → In Progress
tags: added: color extensions-plugins
Revision history for this message
jazzynico (jazzynico) wrote :

Improvements tested successfully on Xubuntu 15.10, Inkscape 16675. Thanks for the patch!

<opinion>
Instead of increasing the limit value to lower the effect range, I'd rather decrease a range value directly, as implemented in the attached archive.
</opinion>

Revision history for this message
Jabiertxof (jabiertxof) wrote :

I like change you propose. I commit it soon.
Thanks to you for review it!

Jabiertxof (jabiertxof)
Changed in inkscape:
status: In Progress → Fix Committed
Revision history for this message
Jabiertxof (jabiertxof) wrote :

Fixed in r.14680

Bryce Harrington (bryce)
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.