From d08813723e1cab4bca4a527218610023775a4634 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Tue, 24 May 2022 11:53:56 +0200 Subject: better color coding --- buch/papers/kugel/images/spherecurve.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buch/papers/kugel/images/spherecurve.cpp b/buch/papers/kugel/images/spherecurve.cpp index eff8c33..8ddf5e5 100644 --- a/buch/papers/kugel/images/spherecurve.cpp +++ b/buch/papers/kugel/images/spherecurve.cpp @@ -102,7 +102,7 @@ public: } u = pow(u,2); (*this)[0] = u; - (*this)[1] = green; + (*this)[1] = green * u * (1 - u); (*this)[2] = 1-u; double l = l0norm(); for (int i = 0; i < 3; i++) { @@ -284,7 +284,7 @@ public: */ int main(int argc, char *argv[]) { surface S("spherecurve.inc", 5, 10); - color::green = 0.3; + color::green = 1.0; S.draw(); std::cout << "umin: " << S.umin() << std::endl; std::cout << "umax: " << S.umax() << std::endl; -- cgit v1.2.1