-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
44 lines (38 loc) · 1.41 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>4. Example 1</title>
<meta charset="utf-8">
<link rel="stylesheet" href="styles/style.css">
<style>
img {
background-color: #fff;
max-width: 100%;
}
</style>
</head>
<body style="background-color: #fff;">
<div id="name" style="z-index: 1000000">By <a href="http://twitter.com/karlwestin">twitter.com/karlwestin</a></div>
<div id="github" class="uppertext">Photoshop blend-modes:</div>
<div class="box left">
<a href="trex.html">
<h2>T-rex (screen)</h2>
<img style="-webkit-transform: rotateZ(180deg)" src="pics/trex.png">
</a>
</div>
<div class="box left">
<a href="rotation.html">
<h2>Patterns (multiply)</h2>
<img src="pics/txt3.png">
</a>
</div>
<div class="box left">
This is a first attempt to implement photoshop blend modes in web browsers, using WebGL.
These examples only work in WebGL-enabled browsers. (I've tested it in firefox and chrome)
<p>
If you'd like to know more, feel free to contact me on <a href="http://twitter.com/karlwestin/">twitter.com/karlwestin</a><br>
You can also check out the code on github: <a href="http://github.com/karlwestin/ps-blend-modes">github.com/karlwestin/ps-blend-modes</a>
</p>
</div>
</body>
</html>