Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(350)

Unified Diff: src/site/samples/imagefilters/index.markdown

Issue 35563005: Added landing pages for new samples (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: Added samples to be released to yaml file Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/site/samples/imagefilters/index.markdown
diff --git a/src/site/samples/imagefilters/index.markdown b/src/site/samples/imagefilters/index.markdown
new file mode 100644
index 0000000000000000000000000000000000000000..c2f50ed1246267ee70299bd0a0be3aa62e357049
--- /dev/null
+++ b/src/site/samples/imagefilters/index.markdown
@@ -0,0 +1,30 @@
+---
Kathy Walrath 2013/10/23 15:41:05 should this directory be named image-filters, not
shailentuli 2013/10/23 17:36:57 Again, just keeping this consistent with how HTML5
+layout: default
+title: Using image filters with canvas
Kathy Walrath 2013/10/23 15:41:05 Use Title Caps
shailentuli 2013/10/23 17:36:57 Done. But aren't you usually advocating against th
+live_example_url: example/index.html
+
+header:
+ css: ["/samples/samples.css"]
+---
+
+## {{ page.title }}
+
+A port of the examples used in the
+[Image Filters with Canvas](http://www.html5rocks.com/en/tutorials/canvas/imagefilters/)
+article by Ilmari Heikkinen, originally published on HTML5Rocks.
+
+The article describes how to use image filters with an HTML5 Canvas element.
+It explains how to process pixels, run simple filters, and blur,
+sharpen and emboss an image using convolution filters.
+
+You can open the example in Dart Editor and run it by clicking `index.html`.
+
+Read the
+[source](https://github.com/dart-lang/dart-samples/tree/master/web/html5/canvas/imagefilters).
+
+<iframe class="running-app-frame"
+ style="height:500px;width:100%;"
+ src="{{page.live_example_url}}">
+</iframe>
+
+See all [samples](/samples/).

Powered by Google App Engine
This is Rietveld 408576698