Timeline for Bezier Curve Tool Controlled by Mouse
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 14, 2016 at 14:50 | comment | added | joojaa | Its just drawing out the tangent of the next spline segment the previous segment just inherits the inverse vector magnitude tangent. A bit like jarkkoL's answer but no need to do hermite. Yes i use illustrator all the time. | |
Oct 14, 2016 at 13:53 | vote | accept | Arjan Singh | ||
Oct 14, 2016 at 13:39 | answer | added | JarkkoL | timeline score: 4 | |
Oct 14, 2016 at 13:16 | comment | added | Arjan Singh | Could you explain this with some code or pseudo code? I'm struggling to understand. | |
Oct 14, 2016 at 10:32 | comment | added | cmourglia | I might be wrong, but I think you basically just add a control point at each extremity of your "pen tool" | |
Oct 14, 2016 at 10:23 | comment | added | Arjan Singh | Detecting Mouse Clicks isn't an issue but if you watch this video you'll understand what I'm trying to say youtu.be/0B_IQK7hMo0?t=2m8s watch from 2:11 to around 3:00. If you notice the technique in which he draws, when he still holds his mouse down after the click he can tune the curve just by moving the mouse. That is basically what I am trying to implement... | |
Oct 14, 2016 at 10:16 | comment | added | joojaa | How your program interacts with your software depends on your GUI framework. Surely your windowing library has some tools for implementing mouse clicks. That in essesnce is not a graphics problem altough drawing pick buffers might be. | |
Oct 14, 2016 at 9:53 | comment | added | Arjan Singh | It's really hard to explain what I mean but I think if you watch this video from 2:11 to 3:00 you'll understand exactly what I'm trying to say. youtu.be/0B_IQK7hMo0?t=2m8s | |
Oct 14, 2016 at 8:19 | comment | added | Simon F | I suspect that, like myself, many of us don't have Illustrator, so you'll have to be more specific in your description. Are you just clicking to define the end points of the each curve segment and then moving the end point(s) of the tangent associated with an end point? | |
Oct 14, 2016 at 6:29 | history | asked | Arjan Singh | CC BY-SA 3.0 |