elfs: (Default)
[personal profile] elfs
Blaise pointed me toward the Arcsin function, which simplified a whole metric ton of math. Haven't puzzled out the easing function yet, but now that I have the d→r function working fine, that's just a matter of aesthetics.

Awesome: Canvas Experiment 11. Now with no quadratic equations.

And Experiment 12. Moving at light speed today.

Date: 2011-10-13 07:20 pm (UTC)
blaisepascal: (Default)
From: [personal profile] blaisepascal
Glad to be of help.

Date: 2011-10-13 08:01 pm (UTC)
From: [identity profile] elfs.livejournal.com
Check it out: Experiment 12 (http://elfsternberg.com/projects/raphael_arcs/arc_12.html) The clock face is now ticking along...

Date: 2011-10-13 08:09 pm (UTC)
blaisepascal: (Default)
From: [personal profile] blaisepascal
1+, like, whatever.

There's a couple of oddities: The header at the top of both pages say "Canvas Demo, Experiment Eleven" yet the page titles are both "Canvas Experiment Ten". The explanatory text mentions solving quadratics, but I thought these did not use a quadratic solver.

None of your experiments go past about 359degrees, so I'm not sure what's supposed to happen to the "clock face" when that happens. I'm curious what you had in mind.

Date: 2011-10-13 08:09 pm (UTC)
blaisepascal: (Default)
From: [personal profile] blaisepascal
Also, bunging the URL does not get me to Experiment Ten; I get a 404.

Date: 2011-10-13 08:14 pm (UTC)
From: [identity profile] elfs.livejournal.com
I have three other items in my "todo" for this experiment: one, make several bows "play nice" together, two: fix it so that as the bows pull away from their references lines, as they will when this is a countdown timer, they "ease" from the angle found with your algorithm to a simpler one found with the same angle as the inner arc, so that they don't look peculiar as they fall away from their neighbor, and three, to express the size of the bow as a percentage of the total size from reference line to reference line.

This seems like a lot of work for just a stupid visual effect on a simple clock face, but it's been a heck of a learning experience. The amount of knowledge I have encoded into these experiments is a small primer, and a mental repository, on canvas drawing and arithmetic.

So I'm not worried about the "crossing 359" issue. I'm limiting my problem to a simple clock drawing.

Profile

elfs: (Default)
Elf Sternberg

May 2025

S M T W T F S
    123
45678910
111213141516 17
18192021222324
25262728293031

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 6th, 2025 12:49 pm
Powered by Dreamwidth Studios