CARVIEW |
Select Language
HTTP/2 200
date: Thu, 31 Jul 2025 18:11:21 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"d725a27127a2dd0f2b61dda8ec23ccd0"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=ldtxB0EKbFNUwmXVfZTPTBezkArvRYpbUnVvZmxP6%2FISQFH90MtVNvotMpsUedICIA%2F%2BdMcGwxodtoiQrz2LTe5TrZaXr3A8%2Bubl8OFgXmDqfu0j9qCvN7%2BKMCfYZEJh5CgR3wE7y9IWdV%2Fjs7cGG3S2JhF3DiF4ylaQ%2Bu9mtyb6%2Bhryr2IGjwaoxsEufEPAubgddvDKzmfCCFlyw%2Fxu6Ww5szBXK%2FxvrRobQQfYAc1JnAgWzkmAGEkfYrdvJoMNKrsVAErmilA0pdWHc4ALBQ%3D%3D--6axNrs%2Fklv7s7tUt--M2tBLZUK%2BaeCsJZkQem64g%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1075847593.1753985480; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 18:11:20 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 18:11:20 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A376:5A781:7C18FB:8D8902:688BB1C8
GitHub - Barliesque/EasyAGAL: EasyAGAL is an open source ActionScript library that simplifies coding assembly language shaders. Advantages include: Code completion and hinting, easier-to-read code, macro libraries -- including trigonometry functions like atan2(), color blending formulas from Photoshop, and more -- ready to use in your own shaders.
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 24
EasyAGAL is an open source ActionScript library that simplifies coding assembly language shaders. Advantages include: Code completion and hinting, easier-to-read code, macro libraries -- including trigonometry functions like atan2(), color blending formulas from Photoshop, and more -- ready to use in your own shaders.
Barliesque/EasyAGAL
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
EasyAGAL by David Barlia, david@barliesque.com --------------------------------- Download: https://github.com/Barliesque/EasyAGAL Online documentation: https://barliesque.com/easy_agal/docs/ EasyAGAL is an open source ActionScript library that assists developers in writing AGAL ("Adobe Graphics Assembly Language") by providing an AS3-based pseudo-AGAL command set. The resulting advantages include: * Code completion and hinting * More easy-to-read code * Macros organized into libraries * Dynamic code customization EasyAGAL provides training wheels to learning AGAL as well as a structural foundation for writing shaders for use with any other library. All methods of EasyAGAL maintain the same parameters, in the same order, as AGAL opcodes; They are all documented with ASDoc tags providing help for every instruction and register as you type, including the original AGAL opcodes. CHANGE LOG _________________________________________________________________________________________ 14.Jan.2014 - Corrected parameters passed to kil/killFragment() (Thanks b005t3r for reporting) 31.Aug.2012 - Rewrote Trig.atan2() which had a bug (thanks @nshen for reporting) - Added public access to property "code" which is useful for comments 4.June.2012 - Updated AGALMiniAssembler.as - Removed macro placeholders for seq & sne which are now supported - Updated swc & docs 18.May.2012 - Fixed atan() formula which was incorrect for input values less than 0 (thanks @makc for reporting) - New alias management functions! assign() & unassign() - Added .xy as a standard component selection - Removed unsupported flags from TextureFlag.as 25.Feb.2012 - New example: a shader that renders lighting - Corrected an embarassing number of mistakes in the docs for Blend.as - Added checks to Blend.as where use of the same register for dest and either base or blend color fowls up the calculation 17.Feb.2012 - Updated SWC library - Updated Docs with additions to Trig.as - Fixed error in Trig.as - Removed unused parameter "one" from ColorSpace::rgb2hsl() 16.Feb.2012 - Completed Trig.as macro library 11.Feb.2012 - Added new macro class -- Trig -- to contain macros for missing trigonometric functions - Improved documentation, particularly in IRegister 4.Feb.2012 - Compiled library to a SWC - Added BlendHSL macros including: hue, saturation, luminosity and color blend functions - Added ColorSpace macros, featuring conversion between RGB & HSL, desaturate, colorize, etc. - Added new functions to RegisterType: isConst(), isTemp() , isReadOnly() - Corrected an error in Component.as, register type was not passed on to component 3.Dec.2011 - Updated AGALMiniAssembler.as to official branch with support for rgba accessors - Minor corrections in docs 11.Nov.2011 - Compiled ASDocs now included - Updates to all ASDoc tags. Lots of additions, some minor corrections. 25.Oct.2011 - Added new "formatAS3" option to getVertexOpcode() and getFragmentOpcode() - Using this option, you can trace the opcode generated by EasyAGAL formatted as AS3 code. - Comment out your EasyAGAL shader code and replace, for a slight optimization. - Uncomment the EasyAGAL code to continue work. - Obviously this is not applicable to dynamically customized shader code. 23.Oct.2011 - Modified AGALMiniAssembler.as to fix mishandling of RGBA component accessors - Removed workaround from EasyBase.as 16.Oct.2011 - Changed register variables to static, so that only one set is needed for the entire project - EasyBase.init() now does not get called if it's not needed. If all shaders in a project use setVertexOpcode() and setFragmentOpcode() in the constructor, none of EasyAGAL's registers need to be used, conserving memory. 15.Oct.2011 - Added RegisterType and support for obtaining types of registers from macros. - Added two more blend modes to macro library Blend.as: lighterColor & darkerColor - Replaced nextRegister.as which mysteriously disappeared! 4.Oct.2011 - Replaced Blend.softLight() with a formula that is a perfect match with Photoshop and is *far* more efficient - setFragmentOpcode() and setVertexOpcode() now allow appending. Instruction counting still not added. - Retested all blend modes. Minor updates to avoid possible "two constant parameters" error. - Removed unsupported facility to select components of a SAMPLER register - Fixed bugs in Blend.softLight() and Blend.hardLight() macros 3.Oct.2011 - Updated AGALMiniAssembler.as to current version!!! - Removed verboseDebug as it is no longer an option in AGALMiniAssembler 2.Oct.2011 - added CONST_byIndex - opcode and instruction count are available now before calling upload() - shader upload errors now trigger a dump of the shader code with line numbers - separated debug options in EasyBase constructor - added interface IComponent to differentiate single components - new macro Utils.selectByIndex()
About
EasyAGAL is an open source ActionScript library that simplifies coding assembly language shaders. Advantages include: Code completion and hinting, easier-to-read code, macro libraries -- including trigonometry functions like atan2(), color blending formulas from Photoshop, and more -- ready to use in your own shaders.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
You can’t perform that action at this time.