├── .editorconfig ├── .gitignore ├── .gitmodules ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── configs.js ├── dev ├── css │ ├── bootstrap-responsive.css │ ├── bootstrap-responsive.min.css │ ├── bootstrap.css │ ├── bootstrap.min.css │ └── cla.css ├── cssfilterlab-cla-thanks.html ├── cssfilterlab-cla.html ├── fonts │ ├── league_gothic │ │ ├── League_Gothic-webfont.eot │ │ ├── League_Gothic-webfont.svg │ │ ├── League_Gothic-webfont.ttf │ │ ├── League_Gothic-webfont.woff │ │ └── Open_Font_License.markdown │ └── sourcesans │ │ ├── LICENSE.txt │ │ ├── sourcesans-regular-webfont.eot │ │ ├── sourcesans-regular-webfont.svg │ │ ├── sourcesans-regular-webfont.ttf │ │ ├── sourcesans-regular-webfont.woff │ │ ├── sourcesans-semibold-webfont.eot │ │ ├── sourcesans-semibold-webfont.svg │ │ ├── sourcesans-semibold-webfont.ttf │ │ └── sourcesans-semibold-webfont.woff ├── img │ ├── glyphicons-halflings-white.png │ └── glyphicons-halflings.png └── js │ └── bootstrap.min.js ├── grunt.js ├── html ├── browser-popup.html ├── filters-list.html ├── fork-github.html ├── github-popup.html ├── header-bar.html ├── help-popup.html ├── logo.html ├── main.html ├── qunit.html ├── shader-editor.html └── timeline.html ├── images ├── bottomscene.png ├── css.svg ├── div.svg └── shaderprincess.svg ├── index.html ├── lib ├── application.js ├── controls │ ├── base_control.js │ ├── checkbox_control.js │ ├── code_editor.js │ ├── color_control.js │ ├── editable_label.js │ ├── multi_control.js │ ├── range_control.js │ ├── text_control.js │ ├── transform_control.js │ ├── vector_control.js │ └── warp_control.js ├── models │ ├── active_object.js │ ├── animation.js │ ├── filter.js │ ├── filter_config.js │ ├── filter_list.js │ ├── filter_store.js │ ├── github.js │ ├── keyframe.js │ └── preset_store.js ├── utils │ ├── angle_lib.js │ ├── color_scheme.js │ ├── config.js │ ├── css_generators.js │ ├── event_dispatcher.js │ ├── local_storage.js │ ├── mixers.js │ ├── timer.js │ ├── utils.js │ └── warp_helpers.js └── views │ ├── active_filter_list_view.js │ ├── css_code_view.js │ ├── dock_column.js │ ├── dock_container.js │ ├── dock_panel.js │ ├── dock_view.js │ ├── filter_item_view.js │ ├── filter_store_view.js │ ├── help_view.js │ ├── import_filter_view.js │ ├── loading_progress_view.js │ ├── logo_view.js │ ├── preset_store_view.js │ ├── shader_code_editor_view.js │ ├── shader_editor_view.js │ └── timeline_view.js ├── package.json ├── project.json ├── shaders ├── fragment │ ├── burn.fs │ ├── crumple.fs │ ├── curtains.fs │ ├── dissolve.fs │ ├── fold.fs │ ├── page-curl.fs │ ├── rolling-scroll.fs │ ├── spherify.fs │ ├── tile-explosion.fs │ ├── tile-flip.fs │ ├── tile-shuffle.fs │ └── warp.fs └── vertex │ ├── burn.vs │ ├── crumple.vs │ ├── curtains.vs │ ├── dissolve.vs │ ├── fold.vs │ ├── page-curl.vs │ ├── rolling-scroll.vs │ ├── spherify.vs │ ├── tile-explosion.vs │ ├── tile-flip.vs │ ├── tile-shuffle.vs │ └── warp.vs ├── style ├── app.scss ├── font │ ├── LICENSE.txt │ ├── SourceCodePro-Regular.otf │ ├── SourceSansPro-Black.otf │ ├── SourceSansPro-BlackIt.otf │ ├── SourceSansPro-Bold.otf │ ├── SourceSansPro-BoldIt.otf │ ├── SourceSansPro-ExtraLight.otf │ ├── SourceSansPro-ExtraLightIt.otf │ ├── SourceSansPro-It.otf │ ├── SourceSansPro-Light.otf │ ├── SourceSansPro-LightIt.otf │ ├── SourceSansPro-Regular.otf │ ├── SourceSansPro-Semibold.otf │ └── SourceSansPro-SemiboldIt.otf ├── img │ ├── arrow.png │ ├── bg_dark.png │ ├── checkbox_checked.png │ ├── checkbox_checked_dark.png │ ├── checkbox_unchecked.png │ ├── checkbox_unchecked_dark.png │ ├── close.png │ ├── color_bg.png │ ├── drop-down-triangle-dark.png │ ├── drop-down-triangle.png │ ├── edit.png │ ├── f_logo.png │ ├── fork.png │ ├── grabber.png │ ├── keyframe.png │ ├── pause.png │ ├── play.png │ ├── pop-up-triangle-dark.png │ ├── pop-up-triangle.png │ ├── remove.png │ ├── spinner-lrg.png │ ├── stamp1.png │ └── thumb.png └── src │ ├── _dock.scss │ ├── _northstar.scss │ ├── _params.scss │ ├── _styles.scss │ └── _utils.scss ├── tests └── tests.js └── third_party ├── angle ├── LICENSE ├── angle.closure.js └── angle.js └── jquery ├── jquery-1.8.0.min.js └── jquery-ui-1.8.23.custom.min.js /.editorconfig: -------------------------------------------------------------------------------- 1 | # editorconfig.org 2 | 3 | # top-most EditorConfig file 4 | root = true 5 | 6 | [*] 7 | end_of_line = lf 8 | indent_style = space 9 | indent_size = 4 10 | charset = utf-8 11 | trim_trailing_whitespace = true 12 | insert_final_newline = true 13 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .sass-cache/ 3 | *dwsync.xml 4 | dist/ 5 | node_modules/ 6 | lib/third_party/ 7 | branding/ 8 | hosted/ -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "third_party/CodeMirror"] 2 | path = third_party/CodeMirror 3 | url = git://github.com/marijnh/CodeMirror.git 4 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Contributing to CSS FilterLab 2 | ===== 3 | 4 | To contribute pull requests back to Adobe, please fill out and submit the [Contributor License Agreement](http://html.adobe.com/webplatform/graphics/customfilters/cssfilterlab/dev/cssfilterlab-cla.html). 5 | 6 | ## CSS Styles 7 | The project uses [SASS](http://sass-lang.com/) to streamline working with CSS files. 8 | 9 | You may edit the CSS files directly. However, if you want to contribute your changes back you'll need to make the edits in the corresponding SCSS files and use SASS to regenerate the CSS files. 10 | 11 | Working with SASS: 12 | 13 | - [Install SASS](http://sass-lang.com/download.html) (requires Ruby) 14 | 15 | - Tell SASS to watch the `style` folder and regenerate CSS files when you make changes to SCSS files 16 | - `$ sass --watch --style expanded style/app.scss:style/css/app.css` 17 | 18 | See the [SASS tutorial](http://sass-lang.com/tutorial.html) for more details on generating CSS files with SASS. 19 | 20 | Have fun! 21 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | 15 | Please note that some portions of this project are written by third parties 16 | under different license terms. Your use of those portions are governed by 17 | the license terms contained in the corresponding files. -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | CSS FilterLab 2 | ===== 3 | 4 | Deprecation 5 | ----- 6 | 7 | This repo is unmaintained and has been archived. 8 | 9 | Supported Browsers 10 | ----- 11 | 12 | CSS FilterLab uses CSS Filters, an exciting web technology that's becoming available in more and more browsers. 13 | Check out [Can I Use](http://caniuse.com/css-filters) for availability information. 14 | 15 | Articles about FilterLab 16 | ----- 17 | 18 | [Introducing CSS FilterLab](http://www.adobe.com/devnet/html5/articles/css-filterlab.html) by Razvan Caliman at Adobe 19 | 20 | [CSS FilterLab Detailed Walkthrough](http://blattchat.com/2012/10/02/css-filterlab/) from Alan Greenblatt's blog 21 | 22 | Note: These articles mention CSS Custom Filters, an experimental technology no longer available in CSS FilterLab. 23 | 24 | Contributing to FilterLab 25 | ----- 26 | Pull requests are reviewed and accepted. 27 | 28 | Check out our [contributing page](CONTRIBUTING.md) for more info. 29 | 30 | Running FilterLab Locally 31 | ----- 32 | 33 | ### Git Submodules 34 | 35 | The CodeMirror library is linked as a git submodule. 36 | After you clone the project on your machine you'll need to setup the submodules and pull in their code. 37 | 38 |
 39 | cd ./path/to/css/filterlab/
 40 | $ git submodule update --init
 41 | 
42 | 43 | ### Build 44 | 45 | CSS FilterLab uses [Grunt.js](http://gruntjs.com/) to concatenate and minify JavaScript & CSS resources. [Grunt.js](http://gruntjs.com/) is build on nodejs, so if you don't have it already installed, go to [node.js website](http://nodejs.org/) and follow the instructions to install it. After that use the command line node package manager to install grunt.js: 46 | 47 |
 48 | $ sudo npm install -g grunt
 49 | 
50 | 51 | The grunt.js project file uses other node.js modules. To quicly install all the required libraries run "npm install" in the project folder. 52 | 53 |
 54 | cd ./path/to/css/filterlab/
 55 | $ sudo npm install
 56 | 
57 | 58 | You also need to make sure you have Ruby & Sass installed. If you're on OS X or Linux you probably already have them installed. Try ruby -v in your terminal. When you've confirmed you have Ruby installed, run sudo gem install sass to get Sass. 59 | 60 | To build CSS FilterLab, you need to run the "grunt" command line tool in the project folder. This will generate the "dist/" folder. 61 | 62 |
 63 | cd ./path/to/css/filterlab/
 64 | $ grunt
 65 | 
66 | 67 | ### File System Access 68 | 69 | CSS FilterLab requires XHR access, but that doesn't work very well when loaded from file:// URLs. For that reason running CSS FilterLab requires serving it from a server. The easiest way to do that on a Mac would be to use python's simple server: 70 | 71 |
 72 | cd [./path/to/css/filterlab]/dist/
 73 | python -m SimpleHTTPServer
 74 | 
75 | 76 | Open [http://localhost:8000](http://localhost:8000) in your browser. 77 | 78 | Legal 79 | ---- 80 | 81 | Notices, terms and conditions pertaining to third party software are located at [http://www.adobe.com/go/thirdparty/](http://www.adobe.com/go/thirdparty/) and incorporated by reference herein. 82 | 83 | ### jQuery 84 | 85 | Copyright 2012 jQuery Foundation and other contributors [http://jquery.com/](http://jquery.com/) 86 | 87 | [MIT license](https://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt) 88 | 89 | ### jQuery UI 90 | 91 | Copyright (c) 2012 Paul Bakaus, [http://jqueryui.com/](http://jqueryui.com/) 92 | 93 | [MIT license](http://jquery-ui.googlecode.com/svn/tags/latest/MIT-LICENSE.txt) 94 | 95 | ### ANGLE 96 | 97 | Copyright (c) 2002-2011 The ANGLE Project Authors. All rights reserved. 98 | Use of this source code is governed by a BSD-style license that can be 99 | found in the LICENSE file. 100 | 101 | This JavaScript library was automatically generated from the [ANGLE project](http://code.google.com/p/angleproject/) 102 | using [emscripten](https://github.com/kripken/emscripten) 103 | 104 | For more information go to [ANGLE.js](https://github.com/adobe/angle.js) 105 | 106 | ### CodeMirror 107 | 108 | Copyright (C) 2012 by Marijn Haverbeke 109 | 110 | [MIT License](http://codemirror.net/LICENSE) 111 | -------------------------------------------------------------------------------- /dev/css/cla.css: -------------------------------------------------------------------------------- 1 | @font-face 2 | { 3 | font-family: "LeagueGothic"; 4 | src: url('../fonts/league_gothic/League_Gothic-webfont.ttf'), 5 | url('../fonts/league_gothic/League_Gothic-webfont.svg'), 6 | url('../fonts/league_gothic/League_Gothic-webfont.woff'), 7 | url('../fonts/league_gothic/League_Gothic-webfont.eot'); 8 | /* "League Gothic" Copyright (c) 2010, Caroline Hadilaksono & Micha Rich */ 9 | /* http://theleagueofmoveabletype.com */ 10 | } 11 | @font-face 12 | { 13 | font-family: "Source"; 14 | src: url('../fonts/sourcesans/sourcesans-regular-webfont.ttf'), 15 | url('../fonts/sourcesans/sourcesans-regular-webfont.svg'), 16 | url('../fonts/sourcesans/sourcesans-regular-webfont.woff'), 17 | url('../fonts/sourcesans/sourcesans-regualr-webfont.eot'); 18 | /* "Source Sans" Copyright (c) 2012, Adobe Systems Inc */ 19 | /* http://sourceforge.net/projects/sourcesans.adobe/ */ 20 | } 21 | @font-face 22 | { 23 | font-family: "Source Semibold"; 24 | src: url('../fonts/sourcesans/sourcesans-semibold-webfont.ttf'), 25 | url('../fonts/sourcesans/sourcesans-semibold-webfont.svg'), 26 | url('../fonts/sourcesans/sourcesans-semibold-webfont.woff'), 27 | url('../fonts/sourcesans/sourcesans-semibold-webfont.eot'); 28 | /* "Source Sans Semibold" Copyright (c) 2012, Adobe Systems Inc */ 29 | /* http://sourceforge.net/projects/sourcesans.adobe/ */ 30 | } 31 | 32 | html 33 | { 34 | background: #eee; 35 | } 36 | 37 | 38 | body 39 | { 40 | margin: 0 auto; 41 | padding: 2em; 42 | max-width:800px; 43 | -webkit-box-shadow: 0 0 12px rgba(0,0,0,0.4); 44 | -moz-box-shadow: 0 0 12px rgba(0,0,0,0.4); 45 | box-shadow: 0 0 12px rgba(0,0,0,0.4); 46 | } 47 | 48 | p 49 | { 50 | margin: 1.2em 0; 51 | } 52 | 53 | 54 | p, li 55 | { 56 | font-family: "Source", Verdana; 57 | font-size: 1.1em; 58 | line-height: 1.6em; 59 | } 60 | 61 | .well 62 | { 63 | font-family: "Source Semibold", Verdana; 64 | font-size: 1.3em; 65 | padding: 2em; 66 | } 67 | 68 | h1 69 | { 70 | font-family: "LeagueGothic", Verdana; 71 | font-size: 5em; 72 | line-height: 1.1em 73 | } 74 | 75 | .icon-white { 76 | background-image: url("../img/glyphicons-halflings-white.png"); 77 | } 78 | 79 | @media only screen 80 | and (max-width: 320px) 81 | { 82 | h1 83 | { 84 | font-size: 2em; 85 | } 86 | 87 | .well 88 | { 89 | font-size: 1em; 90 | padding: 1em; 91 | } 92 | body 93 | { 94 | margin: 0; 95 | } 96 | } 97 | 98 | @media only screen 99 | and (min-width: 320px) and (max-width: 600px) 100 | { 101 | h1 102 | { 103 | font-size: 3em; 104 | } 105 | 106 | body 107 | { 108 | margin: 0; 109 | } 110 | 111 | .well 112 | { 113 | font-size: 1em; 114 | padding: 1em; 115 | } 116 | } 117 | 118 | -------------------------------------------------------------------------------- /dev/cssfilterlab-cla-thanks.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Thanks! 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 |

You Rock!

18 | 19 |

Thanks for signing the CSS Filter Lab Contributor License Agreement. Now that the legal stuff is out of the way we can accept your brilliant work!

20 | 21 | 22 |
23 | 24 | 25 | -------------------------------------------------------------------------------- /dev/fonts/league_gothic/League_Gothic-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/cssfilterlab/1841f610ff5d77171f77030546d704c1482b5ffb/dev/fonts/league_gothic/League_Gothic-webfont.eot -------------------------------------------------------------------------------- /dev/fonts/league_gothic/League_Gothic-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/cssfilterlab/1841f610ff5d77171f77030546d704c1482b5ffb/dev/fonts/league_gothic/League_Gothic-webfont.ttf -------------------------------------------------------------------------------- /dev/fonts/league_gothic/League_Gothic-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/cssfilterlab/1841f610ff5d77171f77030546d704c1482b5ffb/dev/fonts/league_gothic/League_Gothic-webfont.woff -------------------------------------------------------------------------------- /dev/fonts/league_gothic/Open_Font_License.markdown: -------------------------------------------------------------------------------- 1 | Copyright (c) 2010, Caroline Hadilaksono & Micah Rich , with Reserved Font Name: "League Gothic". 2 | 3 | This Font Software is licensed under the SIL Open Font License, Version 1.1. 4 | This license is copied below, and is also available with a FAQ at: 5 | http://scripts.sil.org/OFL 6 | 7 | Version 1.1 - 26 February 2007 8 | 9 | 10 | SIL Open Font License 11 | ==================================================== 12 | 13 | 14 | Preamble 15 | ---------- 16 | 17 | The goals of the Open Font License (OFL) are to stimulate worldwide 18 | development of collaborative font projects, to support the font creation 19 | efforts of academic and linguistic communities, and to provide a free and 20 | open framework in which fonts may be shared and improved in partnership 21 | with others. 22 | 23 | The OFL allows the licensed fonts to be used, studied, modified and 24 | redistributed freely as long as they are not sold by themselves. The 25 | fonts, including any derivative works, can be bundled, embedded, 26 | redistributed and/or sold with any software provided that any reserved 27 | names are not used by derivative works. The fonts and derivatives, 28 | however, cannot be released under any other type of license. The 29 | requirement for fonts to remain under this license does not apply 30 | to any document created using the fonts or their derivatives. 31 | 32 | Definitions 33 | ------------- 34 | 35 | `"Font Software"` refers to the set of files released by the Copyright 36 | Holder(s) under this license and clearly marked as such. This may 37 | include source files, build scripts and documentation. 38 | 39 | `"Reserved Font Name"` refers to any names specified as such after the 40 | copyright statement(s). 41 | 42 | `"Original Version"` refers to the collection of Font Software components as 43 | distributed by the Copyright Holder(s). 44 | 45 | `"Modified Version"` refers to any derivative made by adding to, deleting, 46 | or substituting -- in part or in whole -- any of the components of the 47 | Original Version, by changing formats or by porting the Font Software to a 48 | new environment. 49 | 50 | `"Author"` refers to any designer, engineer, programmer, technical 51 | writer or other person who contributed to the Font Software. 52 | 53 | Permission & Conditions 54 | ------------------------ 55 | 56 | Permission is hereby granted, free of charge, to any person obtaining 57 | a copy of the Font Software, to use, study, copy, merge, embed, modify, 58 | redistribute, and sell modified and unmodified copies of the Font 59 | Software, subject to the following conditions: 60 | 61 | 1. Neither the Font Software nor any of its individual components, 62 | in Original or Modified Versions, may be sold by itself. 63 | 64 | 2. Original or Modified Versions of the Font Software may be bundled, 65 | redistributed and/or sold with any software, provided that each copy 66 | contains the above copyright notice and this license. These can be 67 | included either as stand-alone text files, human-readable headers or 68 | in the appropriate machine-readable metadata fields within text or 69 | binary files as long as those fields can be easily viewed by the user. 70 | 71 | 3. No Modified Version of the Font Software may use the Reserved Font 72 | Name(s) unless explicit written permission is granted by the corresponding 73 | Copyright Holder. This restriction only applies to the primary font name as 74 | presented to the users. 75 | 76 | 4. The name(s) of the Copyright Holder(s) or the Author(s) of the Font 77 | Software shall not be used to promote, endorse or advertise any 78 | Modified Version, except to acknowledge the contribution(s) of the 79 | Copyright Holder(s) and the Author(s) or with their explicit written 80 | permission. 81 | 82 | 5. The Font Software, modified or unmodified, in part or in whole, 83 | must be distributed entirely under this license, and must not be 84 | distributed under any other license. The requirement for fonts to 85 | remain under this license does not apply to any document created 86 | using the Font Software. 87 | 88 | Termination 89 | ----------- 90 | 91 | This license becomes null and void if any of the above conditions are 92 | not met. 93 | 94 | 95 | DISCLAIMER 96 | 97 | THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 98 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF 99 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT 100 | OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE 101 | COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 102 | INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL 103 | DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 104 | FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM 105 | OTHER DEALINGS IN THE FONT SOFTWARE. -------------------------------------------------------------------------------- /dev/fonts/sourcesans/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries. 2 | 3 | This Font Software is licensed under the SIL Open Font License, Version 1.1. 4 | 5 | This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL 6 | 7 | 8 | ----------------------------------------------------------- 9 | SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 10 | ----------------------------------------------------------- 11 | 12 | PREAMBLE 13 | The goals of the Open Font License (OFL) are to stimulate worldwide 14 | development of collaborative font projects, to support the font creation 15 | efforts of academic and linguistic communities, and to provide a free and 16 | open framework in which fonts may be shared and improved in partnership 17 | with others. 18 | 19 | The OFL allows the licensed fonts to be used, studied, modified and 20 | redistributed freely as long as they are not sold by themselves. The 21 | fonts, including any derivative works, can be bundled, embedded, 22 | redistributed and/or sold with any software provided that any reserved 23 | names are not used by derivative works. The fonts and derivatives, 24 | however, cannot be released under any other type of license. The 25 | requirement for fonts to remain under this license does not apply 26 | to any document created using the fonts or their derivatives. 27 | 28 | DEFINITIONS 29 | "Font Software" refers to the set of files released by the Copyright 30 | Holder(s) under this license and clearly marked as such. This may 31 | include source files, build scripts and documentation. 32 | 33 | "Reserved Font Name" refers to any names specified as such after the 34 | copyright statement(s). 35 | 36 | "Original Version" refers to the collection of Font Software components as 37 | distributed by the Copyright Holder(s). 38 | 39 | "Modified Version" refers to any derivative made by adding to, deleting, 40 | or substituting -- in part or in whole -- any of the components of the 41 | Original Version, by changing formats or by porting the Font Software to a 42 | new environment. 43 | 44 | "Author" refers to any designer, engineer, programmer, technical 45 | writer or other person who contributed to the Font Software. 46 | 47 | PERMISSION & CONDITIONS 48 | Permission is hereby granted, free of charge, to any person obtaining 49 | a copy of the Font Software, to use, study, copy, merge, embed, modify, 50 | redistribute, and sell modified and unmodified copies of the Font 51 | Software, subject to the following conditions: 52 | 53 | 1) Neither the Font Software nor any of its individual components, 54 | in Original or Modified Versions, may be sold by itself. 55 | 56 | 2) Original or Modified Versions of the Font Software may be bundled, 57 | redistributed and/or sold with any software, provided that each copy 58 | contains the above copyright notice and this license. These can be 59 | included either as stand-alone text files, human-readable headers or 60 | in the appropriate machine-readable metadata fields within text or 61 | binary files as long as those fields can be easily viewed by the user. 62 | 63 | 3) No Modified Version of the Font Software may use the Reserved Font 64 | Name(s) unless explicit written permission is granted by the corresponding 65 | Copyright Holder. This restriction only applies to the primary font name as 66 | presented to the users. 67 | 68 | 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font 69 | Software shall not be used to promote, endorse or advertise any 70 | Modified Version, except to acknowledge the contribution(s) of the 71 | Copyright Holder(s) and the Author(s) or with their explicit written 72 | permission. 73 | 74 | 5) The Font Software, modified or unmodified, in part or in whole, 75 | must be distributed entirely under this license, and must not be 76 | distributed under any other license. The requirement for fonts to 77 | remain under this license does not apply to any document created 78 | using the Font Software. 79 | 80 | TERMINATION 81 | This license becomes null and void if any of the above conditions are 82 | not met. 83 | 84 | DISCLAIMER 85 | THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 86 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF 87 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT 88 | OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE 89 | COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 90 | INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL 91 | DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 92 | FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM 93 | OTHER DEALINGS IN THE FONT SOFTWARE. 94 | -------------------------------------------------------------------------------- /dev/fonts/sourcesans/sourcesans-regular-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/cssfilterlab/1841f610ff5d77171f77030546d704c1482b5ffb/dev/fonts/sourcesans/sourcesans-regular-webfont.eot -------------------------------------------------------------------------------- /dev/fonts/sourcesans/sourcesans-regular-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/cssfilterlab/1841f610ff5d77171f77030546d704c1482b5ffb/dev/fonts/sourcesans/sourcesans-regular-webfont.ttf -------------------------------------------------------------------------------- /dev/fonts/sourcesans/sourcesans-regular-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/cssfilterlab/1841f610ff5d77171f77030546d704c1482b5ffb/dev/fonts/sourcesans/sourcesans-regular-webfont.woff -------------------------------------------------------------------------------- /dev/fonts/sourcesans/sourcesans-semibold-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/cssfilterlab/1841f610ff5d77171f77030546d704c1482b5ffb/dev/fonts/sourcesans/sourcesans-semibold-webfont.eot -------------------------------------------------------------------------------- /dev/fonts/sourcesans/sourcesans-semibold-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/cssfilterlab/1841f610ff5d77171f77030546d704c1482b5ffb/dev/fonts/sourcesans/sourcesans-semibold-webfont.ttf -------------------------------------------------------------------------------- /dev/fonts/sourcesans/sourcesans-semibold-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/cssfilterlab/1841f610ff5d77171f77030546d704c1482b5ffb/dev/fonts/sourcesans/sourcesans-semibold-webfont.woff -------------------------------------------------------------------------------- /dev/img/glyphicons-halflings-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/cssfilterlab/1841f610ff5d77171f77030546d704c1482b5ffb/dev/img/glyphicons-halflings-white.png -------------------------------------------------------------------------------- /dev/img/glyphicons-halflings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/cssfilterlab/1841f610ff5d77171f77030546d704c1482b5ffb/dev/img/glyphicons-halflings.png -------------------------------------------------------------------------------- /html/browser-popup.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /html/filters-list.html: -------------------------------------------------------------------------------- 1 |
2 |
Help
3 |
4 | 5 | 10 | 11 |
12 |
13 |

You can import a filter from a GitHub gist URL. Once imported your filter will appear under the 'Forked Custom' tab.

14 | 15 |
16 | Oops! 17 | There was an error importing from that URL. Please check that it points to a filter gist and try again. 18 |
19 | 20 | 21 |
22 | 23 | Import 24 |
25 | 26 |
27 |
-------------------------------------------------------------------------------- /html/fork-github.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /html/github-popup.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /html/header-bar.html: -------------------------------------------------------------------------------- 1 |
2 | 10 | 11 |
12 | 25 |
26 | 27 | 29 |
30 | -------------------------------------------------------------------------------- /html/logo.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /html/main.html: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 |
5 |

The Graphical Web

6 | 7 |

The Graphical Web is not a mythical place. It's a place where HTML, CSS & JS are supercharged with powers that extend their abilities to amaze.

8 | 9 |

CSS Filters is a small step for web design, a giant leap for the web. Learn more!

10 | 11 | 13 | 14 |
15 |
16 |
17 | 18 |
19 | 20 |
21 |
22 | -------------------------------------------------------------------------------- /html/qunit.html: -------------------------------------------------------------------------------- 1 |
2 | 3 | 10 | -------------------------------------------------------------------------------- /html/shader-editor.html: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 |
5 | 6 | 7 |
8 | 9 |
10 | 11 | 12 |
13 | 14 |
15 | 16 | 17 |
18 | 19 |
20 | 21 | 30 |
31 | 32 |
33 |
34 |

Parameters

35 |
    36 | 37 |
38 |
39 | 40 |
41 |

Parameter ""

42 | 43 |
44 | 45 | 56 |
57 | 58 |
59 |
60 | 61 | 62 |
63 |
64 | 65 | 66 |
67 |
68 | 69 | 70 |
71 |
72 | 73 |
74 | 75 |
76 |
77 |
78 | 79 |
80 | 81 |
82 | Delete Parameter 83 |
84 |
85 |
86 |
87 | Publish to GitHub 88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 | 97 |
98 | The CodeMirror library is missing!
CodeMirror is used for editing code. See the README file on git submodules to learn how to get it. 99 |
100 | 101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
-------------------------------------------------------------------------------- /html/timeline.html: -------------------------------------------------------------------------------- 1 |
2 |

Timeline

3 |
Play
4 | 5 | 6 |
Toggle keyframe
7 | 8 | 9 | 0s 10 | 11 |
12 |
13 |
14 |
15 |
16 |
17 | 18 | 19 |
-------------------------------------------------------------------------------- /images/bottomscene.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/cssfilterlab/1841f610ff5d77171f77030546d704c1482b5ffb/images/bottomscene.png -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 18 | 19 | 20 | 21 | 22 | CSS FilterLab 23 | 24 | <%- css %> 25 | 26 | 27 | 28 |
29 | <% if (project.branding) { %> 30 | <%- file(project.branding.logo) %> 31 | <% } %> 32 | <% project.components.forEach(function(component){ %> 33 | <%- file(component) %> 34 | <% }) %> 35 |
36 | 37 |
38 |
39 |
40 |
41 | 42 |
43 | 44 | 45 |
46 |
47 | Loading CSS FilterLab ... 48 |
49 |
50 | 51 | <% project.popups.forEach(function(popup){ %> 52 | <%- file(popup) %> 53 | <% }) %> 54 | 55 | <% if (qunit) { %> 56 | <% project.qunit.forEach(function(qunit){ %> 57 | <%- file(qunit) %> 58 | <% }) %> 59 | <% } %> 60 | 61 | <%- scripts %> 62 | 63 | <% if (project.branding) { %> 64 | <%- file(project.branding.main) %> 65 | <% } %> 66 | 67 | 68 | -------------------------------------------------------------------------------- /lib/controls/base_control.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | (function() { 18 | 19 | function BaseControl(delegate, name, config) { 20 | this.delegate = delegate; 21 | this.name = name; 22 | this.config = config; 23 | this.params = null; 24 | this.field = config.hasOwnProperty("field") ? config.field : name; 25 | } 26 | 27 | BaseControl.prototype = { 28 | setSource: function(params) { 29 | this.params = params; 30 | this._updateControls(); 31 | }, 32 | 33 | _updateControls: function() { }, 34 | 35 | setValue: function(value) { 36 | if (!this.params || this.params[this.field] == value) 37 | return; 38 | this.params[this.field] = value; 39 | this._updateControls(); 40 | this.onValueChange(); 41 | }, 42 | 43 | onValueChange: function() { 44 | if (this.params && this.delegate && this.delegate.valuesUpdated) 45 | this.delegate.valuesUpdated(this.name); 46 | }, 47 | 48 | getValue: function(value) { 49 | if (!this.params) 50 | return; 51 | return this.params[this.field]; 52 | }, 53 | 54 | pushControls: function(parent) { }, 55 | 56 | pushTableColumns: function(parent, element, label) { 57 | if (!label) { 58 | $("").append(element).appendTo(parent); 59 | } else { 60 | $("").append(element).appendTo(parent); 61 | $("").append(label).appendTo(parent); 62 | } 63 | }, 64 | 65 | createEditableLabel: function(label) { 66 | return new Global.EditableLabel(this, label); 67 | }, 68 | 69 | getValueForLabelEditor: function() { 70 | return this.getValue(); 71 | }, 72 | 73 | setValueFromLabelEditor: function(value) { 74 | this.setValue(value); 75 | } 76 | }; 77 | 78 | var Controls = { 79 | _registeredControls: {}, 80 | register: function(name, control) { 81 | this._registeredControls[name] = control; 82 | }, 83 | 84 | get: function(typeName) { 85 | return this._registeredControls[typeName]; 86 | } 87 | }; 88 | 89 | Global.BaseControl = BaseControl; 90 | Global.Controls = Controls; 91 | 92 | })(); -------------------------------------------------------------------------------- /lib/controls/checkbox_control.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | (function() { 18 | 19 | function CheckboxControl(delegate, name, config) { 20 | CheckboxControl.$super.call(this, delegate, name, config); 21 | this.init(); 22 | } 23 | 24 | CheckboxControl.lastEditorId = 0; 25 | 26 | Global.Utils.extend(CheckboxControl).from(Global.BaseControl); 27 | 28 | CheckboxControl.prototype.init = function() { 29 | var self = this, 30 | name = "checkbox-" + this.name + (CheckboxControl.lastEditorId++); 31 | this.ctrl = $("") 32 | .attr("id", name) 33 | .attr("name", name); 34 | this.ctrlLabel = $("