Open main menu

CDOT Wiki β

Changes

TriForce

12 bytes added, 10:08, 8 March 2019
Assignment 1: Julia Set
* Vincent Terpstra
* Feb 18 / 2019
* Functions to display a Mandlebrot Julia set
*/
if(clr <= second.val){
float diff = (clr - first.val) / (second.val - first.val);
map << .addColor( first.b + diff * (second.b - first.b);, map << first.g + diff * (second.g - first.g);, map << first.r + diff * (second.r - first.r) );
return true;
}