New build of Leo is up

3 views
Skip to first unread message

Josh Marinacci

unread,
Jan 16, 2011, 6:15:23 PM1/16/11
to leonardos...@googlegroups.com
I've pushed back all of the changes I've been working on for the past week.  Mostly it's infrastructure stuff, but the biggest UI changes you'll see are:

The fill color picker has been replaced by a multi-tab 'fill picker'.  There is a tab for colors, gradients, and patterns (textures). The color tab is still under development (it only has 3 colors), but the others are more mature. You can choose a linear or radial gradient from the tab, then edit it visually by moving sliders, adding stops, changing colors, and moving the end points.  For textures you can move them and resize them, but no rotate yet.  Please play around and give me feedback.

I've also added dropshadow support. The UI is a bit wonky (tons of controls in the inspector) so I'd love ideas for how to make it simpler/smaller.


Other stuff:
fixed loading/saving images
added gradient, texture, & shadow loading/saving
added gradient, texture, shadow export to PNG & PDF
added gradient export to HTML canvas

I'm not having much luck with exporting gradient to SVG. I'm following the specs but nothing seems to make Finder's quicklook SVG plugin happy.



Note, the download size has gone up to 8.8MB due to the embedded textures. I plan to replace them with smaller ones at some point. Suggestions for default textures are very welcome.


I've also been working in a branch on a brand new gfx layer on OpenGL with shaders that will, in the long term, let us accelerate pretty much everything in the UI on modern hardware.  Note: shaders are hard. let's go get icecream!

Enjoy. Feedback always wanted.

The build is at the usual place:





Blasting forth in three part harmony!

Davor Hrg

unread,
Jan 16, 2011, 6:34:59 PM1/16/11
to leonardosketch-dev
Very nice improvements,
would you prefer comments added as issues ?

It felt strange not being able to move gradient
end handle in all directions for radial gradient,
while it is possible for linear gradient.
For radial gradient the move in other directions is of no
practical use .. but just feels strange.

There are some obvious comments,
you probably know already:
 - ability to delete diamonds for gradient
 - unite color picker for gradiont color
   and picker for shape color (but limited only to color tab/tabs)
 - option to save a gradient
 ....

... anyway .. great work on the new stuff :)

Davor Hrg

Josh Marinacci

unread,
Jan 16, 2011, 7:02:36 PM1/16/11
to leonardos...@googlegroups.com
comments on new features are better to do in the list, so we can have an actual discussion. Issues are really just for bugs.


On Jan 16, 2011, at 3:34 PM, Davor Hrg wrote:

Very nice improvements,
would you prefer comments added as issues ?

It felt strange not being able to move gradient
end handle in all directions for radial gradient,
while it is possible for linear gradient.
For radial gradient the move in other directions is of no
practical use .. but just feels strange.

One of the reasons you don't is because the data model doesn't actually save the angle, since it's not used by the gradient itself. I can do a workaround, but if you selected another node and then came back to the node w/ the radial gradient it would again be vertical. Would that be okay?

There are some obvious comments,
you probably know already:
 - ability to delete diamonds for gradient
yep

 - unite color picker for gradiont color

what do you mean?

   and picker for shape color (but limited only to color tab/tabs)

I'm not sure what you mean here?

 - option to save a gradient
where would the gradient be saved to? added to the fill picker's list of gradients?

 ....

... anyway .. great work on the new stuff :)
thanks!

Davor Hrg

unread,
Jan 17, 2011, 4:26:57 PM1/17/11
to leonardosketch-dev
gradient:
 - I do not mind if it returns to pointing down afterwards
   I just feel awkward not being able to move it arround

Color picker:
If you make a circle you have two "colors" fill and line
 - clicking line color gives quick color swatch
 - clicking fill color gives a popup with tabs

I would like both to be similar (one subset of the other)
I see line color chooser the same as fill color chooser
minus gradients and patterns.

in the newest version b:178 I can only choose 3 color for the fill :(


Regarding the color: 
transparency is a property of the color RGBA so fill and line 
could have different alpha. 
this of course could mean exporting to other formats with tricks,
but probably not the only thing that way.
There is one interesting example of small differences requiring hacks


Davor Hrg
Reply all
Reply to author
Forward
0 new messages