Mathematical Image Example for Ruby Quiz #191 This image was generated as an example for Ruby Quiz This weeks quiz is about generating images from mathematical functions. Here is an example to see what I’m talking about. depth: 3 red: Math.sin(Math::PI * Math.cos(Math::PI * y * x)) green: Math.sin(Math::PI * (Math.sin(Math::PI * y)) ** 3) blue: (Math.cos(Math::PI * Math.cos(Math::PI * y))) ** 3 See the full quiz here: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/327126 Share this:TwitterFacebookLike this:Like Loading... Related Author: Daniel X Heretic priest of the Machine God. I enjoy crawling around in Jeff Bezo's spaceship, bringing technology to the people, and long walks outside of time and space. View all posts by Daniel X