Sha256: 0555f85c0c73696c76cf8561f1059bb5713967f253e8e1c6b3a1b2173199d6da
Contents?: true
Size: 585 Bytes
Versions: 34
Compression:
Stored size: 585 Bytes
Contents
--- layout: page title: "Deglut" permalink: /classes/deglut/ --- Deglut is a fast math module that does sin and cos for integer degrees Methods:- ```ruby # Returns sine from integer degree input (uses look up table) DegLut.sin(deg) # Returns cosine from integer degree input (uses look up table) DegLut.cos(deg) ``` Example Usages: [Analog Clock][clock], [Function Grapher][grapher] [clock]: https://github.com/ruby-processing/picrate-examples/blob/master/library/fastmath/clock.rb [grapher]: https://github.com/ruby-processing/picrate-examples/blob/master/contributed/grapher.rb
Version data entries
34 entries across 34 versions & 1 rubygems