This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head lang="en"> | |
| <meta charset="UTF-8"> | |
| <title>trivial color picker</title> | |
| <style> | |
| .washHSV { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| I'm building a plugin for Illustrator enable the expected behavior for multitouch pan-zoom, | |
| and needed to get the geometry right for the CoreImage draw API, (for fast feedback) | |
| so here's a tiny as3 implementation that confirms the correct behavior | |
| */ | |
| package { | |
| import flash.geom.Point; | |
| import flash.geom.Rectangle; | |
| public class RectScaler { |