-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexemples_effects.html
executable file
·71 lines (71 loc) · 3.54 KB
/
exemples_effects.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<script src="farbfeld_mod.js"></script>
<script src="exemples.js"></script>
<h2>The Effects</h2>
add<br/>
<canvas id="add" width=400 height=265></canvas><br/>
sub<br/>
<canvas id="sub" width=400 height=265></canvas><br/>
xor<br/>
<canvas id="xor" width=400 height=265></canvas><br/>
Black And White<br/>
<canvas id="bnw" width=400 height=265></canvas><br/>
Sepia<br/>
<canvas id="sep" width=400 height=265></canvas><br/>
map<br/>
<canvas id="map" width=400 height=265></canvas><br/>
Encode Map<br/>
<canvas id="emp" width=400 height=265></canvas><br/>
Decode Map<br/>
<canvas id="dmp" width=400 height=265></canvas><br/>
Paper Color<br/>
<canvas id="ppr" width=400 height=265></canvas><br/>
Inverted Paper Color<br/>
<canvas id="ipr" width=400 height=265></canvas><br/>
Gamma<br/>
<canvas id="gam" width=400 height=265></canvas><br/>
Colorize<br/>
<canvas id="col" width=400 height=265></canvas><br/>
Posterize<br/>
<canvas id="pos" width=400 height=265></canvas><br/>
Luminar<br/>
<canvas id="lum" width=400 height=265></canvas><br/>
Shuffle Colors<br/>
<canvas id="shu" width=400 height=265></canvas><br/>
Old Time<br/>
<canvas id="old" width=400 height=265></canvas><br/>
Replace Color<br/>
<canvas id="rmp" width=400 height=265></canvas><br/>
Replace Color Random<br/>
<canvas id="rnd" width=400 height=265></canvas><br/>
Deficiency Printing<br/>
<canvas id="dpr" width=400 height=265></canvas><br/>
Uniform Color<br/>
<canvas id="uni" width=400 height=265></canvas><br/>
Depth Map<br/>
<canvas id="dep" width=400 height=265></canvas><br/>
Theta Lumineux<br/>
<canvas id="tht" width=400 height=265></canvas><br/>
<script>
render_farbfeld_coloreffectreplacer(imagepicture,"add","add",[60,0,0]);
render_farbfeld_coloreffectreplacer(imagepicture,"sub","sub",[100,100,100]);
render_farbfeld_coloreffectreplacer(imagepicture,"xor","xor",[240,240,240]);
render_farbfeld_coloreffectreplacer(imagepicture,"bnw","bnw",[255,255,255]);
render_farbfeld_coloreffectreplacer(imagepicture,"sep","sep",[222,222,222]);
render_farbfeld_coloreffectreplacer(imagepicture,"map","map",["b40028","fadc00","008250","00a0c8","00288c","aa008c","000000","ffffff"]);
render_farbfeld_coloreffectreplacer(imagepicture,"emp","emp",["b40028","fadc00","008250","00a0c8","00288c","aa008c","000000","ffffff"]);
render_farbfeld_coloreffectreplacer(encoded_map,"dmp","dmp",["b40028","fadc00","008250","00a0c8","00288c","aa008c","000000","ffffff"]);
render_farbfeld_coloreffectreplacer(imagepicture,"ppr","ppr",["87ceeb"]);
render_farbfeld_coloreffectreplacer(imagepicture,"ipr","ipr",["1f1f1f","f0f0f0"]);
render_farbfeld_coloreffectreplacer(imagepicture,"gam","gam",[1.2,1.4,1.7]);
render_farbfeld_coloreffectreplacer(imagepicture,"col","col",["fc1000",100,110,120]);
render_farbfeld_coloreffectreplacer(imagepicture,"pos","pos",[7,7,7]);
render_farbfeld_coloreffectreplacer(imagepicture,"lum","lum",[123,128,112,0.5,-0.5,0.25]);
render_farbfeld_coloreffectreplacer(imagepicture,"shu","shu",[121,240,240,240,123,240]);
render_farbfeld_coloreffectreplacer(imagepicture,"old","old",[1286698210,3000000]);
render_farbfeld_coloreffectreplacer(imagepicture,"rmp","rmp",["ffffff","00ffff",160]);
render_farbfeld_coloreffectreplacer(imagepicture,"rnd","rnd",["ffffff",160]);
render_farbfeld_coloreffectreplacer(imagepicture,"dpr","dpr",[205,0,255,255]);
render_farbfeld_coloreffectreplacer(imagepicture,"uni","uni",["fa1200"]);
render_farbfeld_coloreffectreplacer(imagepicture,"dep","dep",["ffffff","000000"]);
render_farbfeld_coloreffectreplacer(imagepicture,"tht","tht",[1.6,1.4,1.2]);
</script>