MCPcopy Create free account
hub / github.com/ActiveState/code / pbis

Function pbis

recipes/Python/580806_How_Create_PDF_Caustic/recipe-580806.py:24–25  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

22 return(math.cos(a), math.sin(a))
23
24def pbis(a): # end point of one sun ray
25 return(math.cos(3*a - math.pi), (math.sin(3*a - math.pi)))
26
27# create new PDF with an empty square format page
28doc = fitz.open()

Callers 1

recipe-580806.pyFile · 0.85

Calls 2

cosMethod · 0.80
sinMethod · 0.80

Tested by

no test coverage detected