![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Chit Chat The place for open discussions. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Inspired by the lattest Token's creation, I've been searching for a way to create an ANALOGIC clock...so started with some research...
and found a reference to a "Trignomic cycle"... But since I never was that good at trignomics, I just can't see how to port it.... So was looing for some help... What I need is a "simple" way to draw a radius line from center to the edge of the circle by providing only the angle.... Any one up to it?
__________________
Paulo Gomes Porto, Portugal PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD PPC: Qtek9000, 1GB SD DLL Version Listing |
|
|||
|
Hi,
first: Erel was faster. Try this Code:
Sub Globals i = 0 a = 0 End Sub Sub App_Start Form1.Show Form1.ForeLayer = true Form1.Circle (120,120,100,cYellow) Timer1.Enabled = true End Sub Sub Timer1_Tick Form1.FErase(40,40,200,200) a = i / 180 * cPI Form1.FLine(120,120,120 + 80 * Sin(a),120 - 80 * Cos(a),cRed) i = i + 6 End Sub
__________________
Thanks for all wolfgang ___________________ Desktop: Dual Core 3.0 GHz, XP SP3 Device: IPAQ 3970 WM 2003, Asus 632N WM5, HTC 3650 Cruise GPS: Clip-on Bluetooth, Navman 3000 |
|
||||
|
@EREL
Thanks Erel, I keep forgetting about the examples.... Any way I found a few formulas, that I'm gonna try... Thanks for The help....
__________________
Paulo Gomes Porto, Portugal PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD PPC: Qtek9000, 1GB SD DLL Version Listing |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Invalid Parenthensis in Formula | MM2forever | Questions & Help Needed | 6 | 05-31-2008 05:42 PM |