I think we just have to wait a while as Macciza says. No need to pull out our hair.Macciza wrote: Some standard canvas features are not fully implemented but are being worked on for next release.
Fill of curves is one of them , the only fill in certain ways currently ...
There are a few others and we simply have to deal with it until the updates come through
bezier curves - canvas drawing take notice
Re: berzier curves - another bug or?
Formant+Eurorack, PPG wave 2.2, Korg MS-20, etc., EWI 4000s, QuNeo, etc., Mixbus32c, u-he, MadronaLabs, Samplemodeling, NI, etc., iPad2/4/Pro
Re: bezier curves - canvas drawing take notice
it would be nice if there was a note of that in the added documentation (addendum) though!
Re: bezier curves - canvas drawing take notice
I agree.
Formant+Eurorack, PPG wave 2.2, Korg MS-20, etc., EWI 4000s, QuNeo, etc., Mixbus32c, u-he, MadronaLabs, Samplemodeling, NI, etc., iPad2/4/Pro
-
- Liine Staff
- Posts: 285
- Joined: 01 Oct 2010 11:06
Re: bezier curves - canvas drawing take notice
Hi guys,Softcore wrote:Im pulling my hair out.....why isnt the fill working in the first canvas?
I'm sorry about the hair pulling. Filling concave shapes is one of the very few things missing at this point. It should hopefully be in by version 5.1. I didn't expect people to notice so fast. Good job.
Best regards,
Nick
Re: bezier curves - canvas drawing take notice
Thanks for the reply! here's a html canvas with concaves filled lol
http://www.softcore.net.gr/LemurLogo.html
http://www.softcore.net.gr/LemurLogo.html
Re: bezier curves - canvas drawing take notice
"Im pulling my hair out.....why isnt the fill working in the first canvas?"
Ok, I'm only on my 2nd full day of trying to suss this, but if I had any more hair it'd probably be in clumps on the floor.
But seriously, the autodidact's curse.... not knowing if your the problem, or your tools. I put your 'fill/no fill' examples in the PC Editor.... nothing, for either template.... Works on the mac editor though, (thank you, is a HUGE help) but even so... I've a strong suspicion a couple of silly little problems which I can't for the life of me fix are not due to my 'crapness'. I'll investigate a bit further though.
Tis a shame because the HTML Canvas stuff looks brilliant. Mental potential. Before now, I thought it just offered something like handheld/device web viewing compatibilty or something. Been getting into algorithmic art recently after rediscovering fractals. Stumbled on this stuff here yesterday http://rectangleworld.com/blog/archives ... zed/page/2 whilst looking for ways to use my Lemur app. Coming across all this new stuff like boids, and multiple dimensions (never really thought of colour spaces like this before, but if it can be scaled....) is giving me huge insight. The imperfect circle related stuff (or any other form of adding pseudo randomness to one or more parameters), really should be a doddle. At least when I can draw a square I might be able to do it.
Today I was trying to have a circle draw itself round my finger (on cursor down) over 1/2 bar, by having it draw like pi/24 radians or something each loop. Tried using an invisible MultiBall to get the position. Managed to get a circle at one point, but an instantly drawn one. I don't even know whether this was triggered from a hit point or MultiBall.x[0]. Couldn't get it to work afterwards. Definitely a case of trying to run before I can crawl, but still could have been much further ahead without difficulties
Still, when the teething problems are sorted, this'll provide unlimited goodness......
Thanks again!
Ok, I'm only on my 2nd full day of trying to suss this, but if I had any more hair it'd probably be in clumps on the floor.
But seriously, the autodidact's curse.... not knowing if your the problem, or your tools. I put your 'fill/no fill' examples in the PC Editor.... nothing, for either template.... Works on the mac editor though, (thank you, is a HUGE help) but even so... I've a strong suspicion a couple of silly little problems which I can't for the life of me fix are not due to my 'crapness'. I'll investigate a bit further though.
Tis a shame because the HTML Canvas stuff looks brilliant. Mental potential. Before now, I thought it just offered something like handheld/device web viewing compatibilty or something. Been getting into algorithmic art recently after rediscovering fractals. Stumbled on this stuff here yesterday http://rectangleworld.com/blog/archives ... zed/page/2 whilst looking for ways to use my Lemur app. Coming across all this new stuff like boids, and multiple dimensions (never really thought of colour spaces like this before, but if it can be scaled....) is giving me huge insight. The imperfect circle related stuff (or any other form of adding pseudo randomness to one or more parameters), really should be a doddle. At least when I can draw a square I might be able to do it.
Today I was trying to have a circle draw itself round my finger (on cursor down) over 1/2 bar, by having it draw like pi/24 radians or something each loop. Tried using an invisible MultiBall to get the position. Managed to get a circle at one point, but an instantly drawn one. I don't even know whether this was triggered from a hit point or MultiBall.x[0]. Couldn't get it to work afterwards. Definitely a case of trying to run before I can crawl, but still could have been much further ahead without difficulties
Still, when the teething problems are sorted, this'll provide unlimited goodness......
Thanks again!
Re: bezier curves - canvas drawing take notice
Just revisted the Canvas Tutorials. Somehow earlier missed the 'extras' folder (and the Hit region / Sub Path file which has also cleared up a lot of things). An fractal/iteration example to study!!! Yay! The odd template messes up the editor window when loading, but is fine on the Pad, and this stuff clearly demonstrates that a lot of my problems are indeed a result of my Lemur/Canvas inadequecy.
Could really do with a working PC editor though. MacBook screen is pathetically small.
Could really do with a working PC editor though. MacBook screen is pathetically small.
Re: bezier curves - canvas drawing take notice
A bump on this, the latest 5.2 editor seems to have fixed the stuff I covered in earlier posts.
generally speaking, it seems that the canavs object in Lemur now behaves quite more sinmilarly to how the htmlk canvas behaves!!!!
Great stuff!
generally speaking, it seems that the canavs object in Lemur now behaves quite more sinmilarly to how the htmlk canvas behaves!!!!
Great stuff!