Difference between revisions of "Color wheel"

From Fōrmulæ wiki
Jump to: navigation, search
(Creation of page)
 
(No difference)

Latest revision as of 13:42, 11 October 2019

This page is a solution to the task Color wheel in the Rosetta Code, written in Fōrmulæ.

Description (from Rosetta Code)

Task

Write a function to draw a HSV color wheel completely with code.

This is strictly for learning purposes only. It's highly recommended that you use an image in an actual application to actually draw the color wheel   (as procedurally drawing is super slow). This does help you understand how color wheels work and this can easily be used to determine a color value based on a position within a circle.

Solution

ColorWheelCode.png

ColorWheelCase01.png