??? 04/23/09 20:50 Read: times |
#164816 - Values interpolation |
Hello, I want to code something to interpolate (fade) values from some variables(bytes), like 10 or 20.
Each byte will have a starting value then should fade to another value, buy they all should take same number of steps to end each interpolation ie: start stp1 stp2 stp3 end V1 0 25 50 75 100 V2 10 20 30 40 50 V3 30 33 36 39 42 Start, end and number of steps are pre defined, so I THINK I will need at least the twice memory as the number of variables. For numbers as I used in example is easy because all division give round numbers. I will need some help to solve this, looks easy in a high level language, but cant solve how to make this in ASM. |
Topic | Author | Date |
Values interpolation | 01/01/70 00:00 | |
A possible start | 01/01/70 00:00 | |
The Brezingham Line Drawing algorithm | 01/01/70 00:00 | |
http://en.wikipedia.org/wiki/Bresenham%27s_line_algorithm ? | 01/01/70 00:00 | |
Good method | 01/01/70 00:00 | |
Integer Digital Differential Analyzer | 01/01/70 00:00 | |
Simple scheme... | 01/01/70 00:00 | |
Further optimization | 01/01/70 00:00 | |
You are absolutely right, of course,... | 01/01/70 00:00 | |
Having a hard time trying to understand :( | 01/01/70 00:00 | |
Clarification Needed | 01/01/70 00:00 | |
Even more confused now | 01/01/70 00:00 | |
Another Shot | 01/01/70 00:00 | |
code | 01/01/70 00:00 | |
Provided Code | 01/01/70 00:00 | |
Maybe this | 01/01/70 00:00 | |
Give this a try... | 01/01/70 00:00 | |
Look it up | 01/01/70 00:00 | |
Now, we have a hard time to understand... | 01/01/70 00:00 |