POV-Ray : Newsgroups : povray.general : a function : a function Server Time
6 Aug 2024 04:20:42 EDT (-0400)
  a function  
From: ingo
Date: 25 May 2002 18:08:09
Message: <Xns921A1E5B5AEEseed7@povray.org>
Just a nice function to play with, vary the floats A-L.

---%<------%<---
#version 3.5;
global_settings {assumed_gamma 1.0}
camera {location <0,0,-25> look_at 0}

#declare A =1;
#declare B =1;
#declare C =1;
#declare D =1;
#declare E =1;
#declare F =1;

#declare I =1;
#declare J =1;
#declare K =1;
#declare L =1;

plane {
  -z, 0
  pigment { 
    function {E*sin(A*sin(I*x) + B*cos(J*y))
              + F*cos(C*cos(K*x) + D*sin(L*y))}
    //sine_wave
  }
  finish {ambient 1}
}
---%<------%<---

Found the function here:
http://glinda.lrsm.upenn.edu/~weeks/ideas/tplot.html

There is more interesting stuff on the site, for example:
http://glinda.lrsm.upenn.edu/~weeks/lcca1.html
Would it be possible to make a POV-Ray pattern like that?

And this as an inspiration for Ron:
http://glinda.lrsm.upenn.edu/~weeks/software/quasic.html

Ingo


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.