Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Crunch and Pack algorithms + curve algorithms
2010-07-02 13:46
Testa
Account closed

Registered: Oct 2004
Posts: 197
Crunch and Pack algorithms + curve algorithms

hi,

I am looking for good tutorials or books with different Crunch and Pack algorithms....

Iam also looking for a tutorial/ book witch explains how to generate a sinus or cosin table with a ML routine..

oh my god.. i am moving forward.... 6 months i already bought the book: Computer Graphics C version from Donald Hearn and Pauline baker... this is a very good documented book. lots of alogorithms. like circels. eclipse, 2d, 3d vector rotations. Bresenham, linedrawing and lots more..

but no Crunch and Pack algorithmes or methodes and also no sinus or cosin algorithms..

every body a happy summer!
bye Testa





 
... 10 posts hidden. Click here to view all posts....
 
2010-07-03 22:37
doynax
Account closed

Registered: Oct 2004
Posts: 212
You can also generate a series of sines from the first couple of entries with a little bit of arithmetic.

One of those trigonometric laws they made you use in school said something like:
sin u sin v = 1/2 ( cos(u - v) - cos(u + v) )
Which means that:
F(x + 1) = F(x) * k - F(x - 1)
Where:
F(x) = sin(x * t)
k = 2 cos t
Granted you need a multiplication function with decent precision for this to give reasonable results so I suppose you're probably better off mirroring a table on the C64.
2010-07-04 15:56
Testa
Account closed

Registered: Oct 2004
Posts: 197
okay. this is what i am looking for... thanks for the examples and links.........
Previous - 1 | 2 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Skate/Plush
zscs
dyme
Airwolf/F4CG
CA$H/TRiAD
E$G/HF ⭐ 7
iAN CooG/HVSC
Guests online: 175
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Codeboys & Endians  (9.7)
4 Mojo  (9.6)
5 Coma Light 13  (9.6)
6 Edge of Disgrace  (9.6)
7 Signal Carnival  (9.6)
8 Wonderland XIV  (9.5)
9 Uncensored  (9.5)
10 Comaland 100%  (9.5)
Top onefile Demos
1 Nine  (9.7)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.5)
6 Scan and Spin  (9.5)
7 Onscreen 5k  (9.5)
8 Grey  (9.5)
9 Dawnfall V1.1  (9.5)
10 Rainbow Connection  (9.5)
Top Groups
1 Artline Designs  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Performers  (9.3)
5 Censor Design  (9.3)
Top Graphicians
1 Mirage  (9.7)
2 Archmage  (9.7)
3 Sulevi  (9.6)
4 Pal  (9.6)
5 Hein  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2025
Page generated in: 0.109 sec.