Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Task 3 example
#1
From the assignment:

Code:
$ echo "(0.0 0.0 100)" > task3.args
$ scam -r task3.scm task3.args
100 0 0 0
$
  

But...

Quote:The call (mblue i t) should return 0 when i is 0, 255 when i is t-1 ...


Doesn't this mean we should get:
Code:
$ echo "(0.0 0.0 100)" > task3.args
$ scam -r task3.scm task3.args
100 0 0 255
$
**assuming rgb order

I could be way off base here...
Reply
#2
"The three color functions should return zero when i is equal to t."
Reply
#3
I see, thanks for the save!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)