Mathematical Image Example

This image was generated as an example for Ruby Quiz

This image was generated as an example for Ruby Quiz

width: 256
height: 256
depth: 3
red: Math.sin(Math::PI * Math.cos(Math::PI * q * p))
green: Math.sin(Math::PI * (Math.sin(Math::PI * q)) ** 3)
blue: (Math.cos(Math::PI * Math.cos(Math::PI * q))) ** 3

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>