Want to join? Log In or Join Now in seconds. English (United States)

CREATE A NEW ACCOUNT

{{registerModel.Error}}

Log In

/content/images/forum.png

Feedbacks

Get help from the knowledgeable Reddah Community and official Reddah Support!
/content/images/ambassador.png

Discuss on AD

A place for discussing the ads that reddah is currently running.
/content/images/contact_us.png

Contact Us

Get in touch with an Reddah Support technician. We are ready and willing to help you!
154

var canvas = document.getElementById("canvas"), ctx = canvas.getContext("2d"), img = new Image(), effectEl = document.getElementById("effect"), settings = { radius: 4, intensity: 25, ApplyFilter: function() { doOilPaintEffect(); } } img.addEventListener('load', function() { // reduced the size by half for pen and performance. canvas.width = (this.width / 2); canvas.height = (this.height / 2); ctx.drawImage(this, 0, 0, canvas.width, canvas.height); }); function chooseFromPhoto(){ window["reddahApi"].album().then(data=>{ img.src=data.replace("file://","http://localhost:8080/_app_file_"); canvas.width = "90%"//(this.width / 2); canvas.height = "90%"//(this.height / 2); ctx.drawImage(this, 0, 0, canvas.width, canvas.height); }) } function chooseFromCamera(){ window["reddahApi"].camera().then(data=>{ img.src=data.replace("file://","http://localhost:8080/_app_file_"); canvas.width = "90%"//(this.width / 2); canvas.height = "90%"//(this.height / 2); ctx.drawImage(this, 0, 0, canvas.width, canvas.height); }) } img.crossOrigin = "Anonymous"; img.src = "assets/500/musk.jpg"; vl=1; function mt(v){ vl=v } function change(){ let base64Image = canvas.toDataURL('image/jpeg'); window["reddahApi"].qqMusk(vl,base64Image).then(data=>{ //alert(JSON.stringify(data)) if(data.Success==0){ let qqmsg = JSON.parse(data.Message); alert(qqmsg .ret) if(qqmsg .ret===0){ getBase64Image(qqmsg .data.image); } else{ alert('error1:'+JSON.stringify(data)) } } else{ alert('error2:'+JSON.stringify(data)) } }) } function getBase64Image(data){ alert(data) var dimg=document.getElementById("dest-img"); alert(dimg) dimg.src="data:image/jpeg;base64,"+data; dimg.width=img.width; dimg.height=img.height; }; window["reddahApi"].loadCompleted()

.test{ }
submitted 7 years ago ago by 054952f0c62a48c980ce39f09ddfcf4b
picture

Original

仿PS油画滤镜特效







157

var canvas = document.getElementById("canvas"), ctx = canvas.getContext("2d"), img = new Image(), effectEl = document.getElementById("effect"), settings = { radius: 4, intensity: 25, ApplyFilter: function() { doOilPaintEffect(); } } img.addEventListener('load', function() { // reduced the size by half for pen and performance. canvas.width = (this.width / 2); canvas.height = (this.height / 2); ctx.drawImage(this, 0, 0, canvas.width, canvas.height); }); function chooseFromPhoto(){ window["reddahApi"].album().then(data=>{ img.src=data.replace("file://","http://localhost:8080/_app_file_"); canvas.width = "90%"//(this.width / 2); canvas.height = "90%"//(this.height / 2); ctx.drawImage(this, 0, 0, canvas.width, canvas.height); }) } function chooseFromCamera(){ window["reddahApi"].camera().then(data=>{ img.src=data.replace("file://","http://localhost:8080/_app_file_"); canvas.width = "90%"//(this.width / 2); canvas.height = "90%"//(this.height / 2); ctx.drawImage(this, 0, 0, canvas.width, canvas.height); }) } img.crossOrigin = "Anonymous"; img.src = "assets/500/musk.jpg"; vl=1; function mt(v){ vl=v; change(); } function change(){ let base64Image = canvas.toDataURL('image/jpeg'); window["reddahApi"].qqMusk(vl,base64Image).then(data=>{ //alert(JSON.stringify(data)) if(data.Success==0){ let qqmsg = JSON.parse(data.Message); //alert(qqmsg .ret) if(qqmsg .ret===0){ getBase64Image(qqmsg .data.image); } else{ alert('error1:'+JSON.stringify(data)) } } else{ alert('error2:'+JSON.stringify(data)) } }) } function getBase64Image(data){ //alert(data) var dimg=document.getElementById("dest-img"); //alert(dimg) dimg.src="data:image/jpeg;base64,"+data; dimg.width=img.width; dimg.height=img.height; }; window["reddahApi"].loadCompleted()

.test{ }
submitted 7 years ago ago by 054952f0c62a48c980ce39f09ddfcf4b
picture

Original

仿PS油画滤镜特效







158

var canvas = document.getElementById("canvas"), ctx = canvas.getContext("2d"), img = new Image(), effectEl = document.getElementById("effect"), settings = { radius: 4, intensity: 25, ApplyFilter: function() { doOilPaintEffect(); } } img.addEventListener('load', function() { // reduced the size by half for pen and performance. canvas.width = (this.width / 2); canvas.height = (this.height / 2); ctx.drawImage(this, 0, 0, canvas.width, canvas.height); }); function chooseFromPhoto(){ window["reddahApi"].album().then(data=>{ img.src=data.replace("file://","http://localhost:8080/_app_file_"); canvas.width = "90%"//(this.width / 2); canvas.height = "90%"//(this.height / 2); ctx.drawImage(this, 0, 0, canvas.width, canvas.height); }) } function chooseFromCamera(){ window["reddahApi"].camera().then(data=>{ img.src=data.replace("file://","http://localhost:8080/_app_file_"); canvas.width = "90%"//(this.width / 2); canvas.height = "90%"//(this.height / 2); ctx.drawImage(this, 0, 0, canvas.width, canvas.height); }) } img.crossOrigin = "Anonymous"; img.src = "assets/500/musk.jpg"; vl=1; function mt(v){ vl=v; change(); } function change(){ let base64Image = canvas.toDataURL('image/jpeg'); window["reddahApi"].qqMusk(vl,base64Image).then(data=>{ //alert(JSON.stringify(data)) if(data.Success==0){ let qqmsg = JSON.parse(data.Message); //alert(qqmsg .ret) if(qqmsg .ret===0){ getBase64Image(qqmsg .data.image); } else{ alert('error1:'+JSON.stringify(data)) } } else{ alert('error2:'+JSON.stringify(data)) } }) } function getBase64Image(data){ //alert(data) //var dimg=document.getElementById("dest-img"); //alert(dimg) //dimg.src="data:image/jpeg;base64,"+data; //dimg.width=img.width; //dimg.height=img.height; window["reddahApi"].viewImage("data:image/jpeg;base64,"+data); }; window["reddahApi"].loadCompleted()

.test{ }
submitted 7 years ago ago by 054952f0c62a48c980ce39f09ddfcf4b
picture

原图







159

var canvas = document.getElementById("canvas"), ctx = canvas.getContext("2d"), img = new Image(), effectEl = document.getElementById("effect"), settings = { radius: 4, intensity: 25, ApplyFilter: function() { doOilPaintEffect(); } } img.addEventListener('load', function() { // reduced the size by half for pen and performance. canvas.width = (this.width / 2); canvas.height = (this.height / 2); ctx.drawImage(this, 0, 0, canvas.width, canvas.height); }); function chooseFromPhoto(){ window["reddahApi"].album().then(data=>{ img.src=data.replace("file://","http://localhost:8080/_app_file_"); canvas.width = "90%"//(this.width / 2); canvas.height = "90%"//(this.height / 2); ctx.drawImage(this, 0, 0, canvas.width, canvas.height); }) } function chooseFromCamera(){ window["reddahApi"].camera().then(data=>{ img.src=data.replace("file://","http://localhost:8080/_app_file_"); canvas.width = "90%"//(this.width / 2); canvas.height = "90%"//(this.height / 2); ctx.drawImage(this, 0, 0, canvas.width, canvas.height); }) } img.crossOrigin = "Anonymous"; img.src = "assets/500/musk.jpg"; vl=1; function mt(v){ vl=v; change(); } function change(){ let base64Image = canvas.toDataURL('image/jpeg'); window["reddahApi"].qqMusk(vl,base64Image).then(data=>{ //alert(JSON.stringify(data)) if(data.Success==0){ let qqmsg = JSON.parse(data.Message); //alert(qqmsg .ret) if(qqmsg .ret===0){ getBase64Image(qqmsg .data.image); } else{ alert('error1:'+JSON.stringify(data)) } } else{ alert('error2:'+JSON.stringify(data)) } }) } function getBase64Image(data){ //alert(data) //var dimg=document.getElementById("dest-img"); //alert(dimg) //dimg.src="data:image/jpeg;base64,"+data; //dimg.width=img.width; //dimg.height=img.height; window["reddahApi"].viewImage("data:image/jpeg;base64,"+data); }; window["reddahApi"].loadCompleted()

.test{ }
submitted 7 years ago ago by 054952f0c62a48c980ce39f09ddfcf4b
picture

原图







160

var canvas = document.getElementById("canvas"), ctx = canvas.getContext("2d"), img = new Image(), effectEl = document.getElementById("effect"), settings = { radius: 4, intensity: 25, ApplyFilter: function() { doOilPaintEffect(); } } img.addEventListener('load', function() { // reduced the size by half for pen and performance. canvas.width = (this.width / 2); canvas.height = (this.height / 2); ctx.drawImage(this, 0, 0, canvas.width, canvas.height); }); function chooseFromPhoto(){ window["reddahApi"].album().then(data=>{ img.src=data.replace("file://","http://localhost:8080/_app_file_"); canvas.width = "90%"//(this.width / 2); canvas.height = "90%"//(this.height / 2); ctx.drawImage(this, 0, 0, canvas.width, canvas.height); }) } function chooseFromCamera(){ window["reddahApi"].camera().then(data=>{ img.src=data.replace("file://","http://localhost:8080/_app_file_"); canvas.width = "90%"//(this.width / 2); canvas.height = "90%"//(this.height / 2); ctx.drawImage(this, 0, 0, canvas.width, canvas.height); }) } img.crossOrigin = "Anonymous"; img.src = "assets/500/musk.jpg"; vl=1; function mt(v){ vl=v; change(); } function change(){ let base64Image = canvas.toDataURL('image/jpeg'); window["reddahApi"].loadingStart('bubbles',2000); window["reddahApi"].qqMusk(vl,base64Image).then(data=>{ //alert(JSON.stringify(data)) if(data.Success==0){ let qqmsg = JSON.parse(data.Message); //alert(qqmsg .ret) if(qqmsg .ret===0){ getBase64Image(qqmsg .data.image); } else{ alert('error1:'+JSON.stringify(data)) } } else{ alert('error2:'+JSON.stringify(data)) } }) } function getBase64Image(data){ //alert(data) //var dimg=document.getElementById("dest-img"); //alert(dimg) //dimg.src="data:image/jpeg;base64,"+data; //dimg.width=img.width; //dimg.height=img.height; window["reddahApi"].viewImage("data:image/jpeg;base64,"+data).then(data=>{ window["reddahApi"].loadingStop(); }); }; window["reddahApi"].loadCompleted()

.test{ }
submitted 7 years ago ago by 054952f0c62a48c980ce39f09ddfcf4b
picture

原图







163

Why Brazil's Jair Bolsonaro has environmentalists worried for the Amazon

picture
picture
The Amazon rainforest is an ecological wonder. Its waterways and canopy provide a rich ecosystem for a 10th of all the world's species and help regulate the temperature of the entire planet.
world submitted 8 years ago ago by b8c40ad899c64f9a88cfca87d90e5c34
picture

Existing threats

The forest is being cut down to make way for activities like cattle ranching, soy bean farming, mining, hydropower dams and new highways.

Deforestation fell dramatically between 2004 and 2012, but in recent years it has been increasing, and the powerful agricultural lobby in the Brazilian congress is pushing for more development of the forest. It endorsed Bolsonaro during his election campaign.

A fire burns trees next to grazing land in the Amazon basin on November 22, in Ze Doca, Brazil, 2014. Fires are often set to clear forest for grazing land.

Indigenous lands

Brazil's Ministry of Agriculture is heavily influenced by the agricultural lobby. Soon after taking office this week, Bolsonaro signed an executive order giving the ministry responsibility for certifying indigenous lands as protected territories.

About 13% of Brazil is legally designated as indigenous land, mostly in the Amazon. That land is reserved for the country's 900,000 indigenous people (less than 0.5% of the population). Indigenous groups said the president's order would lead to "an increase in deforestation and violence against indigenous people."

164
picture

Franck Ribery: Gold-coated steak backlash earns 'heavy fine'

His meal of gold-coated steak drew ire on social media for being ostentatious, but Franck Ribery's foul-mouthed response earned him a "heavy fine" from his club Bayern Munich.
sport submitted 8 years ago ago by b8c40ad899c64f9a88cfca87d90e5c34
picture

Franck Ribery warms up during the Bayern Munich training camp in Doha.

"He used words that we, FC Bayern, cannot accept and that Franck does not have the right to use, as a role-model and player of FC Bayern."

The statement added Ribery was invited to try the steak as part of an advertising campaign while on holiday in Dubai.

It denied reports he paid 1200 euros for the steak, but added that Ribery and his family were "savagely attacked" on social media before he "publicly "stood up for his family and fought back."

However, talking at the club's training camp in Doha, Salihamidzic said the response was inappropriate.

171
picture

'Valley of the Boom' glitches in portrait of Silicon Valley's busts

"Valley of the Boom" provides a fascinating, timely history lesson in misguided, utterly off-putting fashion.
entertainment submitted 8 years ago ago by b8c40ad899c64f9a88cfca87d90e5c34
picture

John Karna as Marc Andreessen and Bradley Whitford as James Barksdale in 'Valley of the Boom' 

Created by Matthew Carnahan ("House of Lies"), and counting Arianna Huffington among its producers and talking heads, the six-part project chronicles the formative days of Silicon Valley, the birth of instant millionaires and dot-come bubble that conspicuously burst.

As billed, it's a "mostly true story" about three 1990s tech ventures -- Netscape, TheGlobe.com and Pixelon -- that mixes documentary techniques and interviews with dramatic storytelling, yielding a hybrid that winds up feeling majorly deficient on both fronts.

Given the billions amassed in Silicon Valley, the limited series is moderately useful as another glimpse of its origins. As a TV show, however, there are so many glitches in the programming that "Boom" pretty quickly goes bust too.

In direct-to-camera interviews, the real-life participants and third-party experts reminisce about what happened. That's then intercut with dramatic portrayals that occasionally erupt in absurd flights of fancy, like musical numbers and direct-to-camera chats with made-up characters.

The mixed format has been used before -- AMC's "The Making of the Mob" comes to mind, as well as National Geographic's earlier "Mars." While that approach is inevitably awkward, it's especially jarring here, undermining what the quality cast can contribute by regularly pulling the focus away from them.

The shame is that this look at three '90s pioneers feels so relevant, especially given all the concerns about that industry wafting through the cultural and political realms. In each case, the company chosen has obvious present-day parallels -- Netscape lost the browser wars to Microsoft, TheGlobe was a precursor to Facebook, and Pixelon offered a theoretical example of YouTube -- giving way to companies that took these early models and ran with them, occasionally by springing off their backs.

The cast includes Steve Zahn as Michael Fenne, a colorful charlatan and scam artist, whose lavish spending was enough -- at least for a while -- to dazzle the rubes. Bradley Whitford, meanwhile, is James Barksdale, the Netscape CEO whose business acumen proved an effective counterweight, for a time, to Marc Andreessen (John Karna), whose lack of people skills rivaled his technical savvy.

"Valley of the Boom" captures the stampede of money into this sector (along with its corrosive effects), and the combination of venture capitalists, genius developers and geeks that came together -- often uncomfortably -- to make that happen.

Still, the dramatic shortcomings obscure its most salient points, most of which have been made elsewhere, better, in movies and TV shows ranging from "The Social Network" and "Pirates of Silicon Valley" to "Halt and Catch Fire."

What emerges, finally, plays like a too-thin documentary with elaborate dramatic reenactments or a stiff and disjointed drama. Either way, "Valley of the Boom" falls into a valley, all right, despite addressing a topic that has produced plenty of peaks.

"Valley of the Boom" premieres Jan. 13 at 9 p.m. on National Geographic.

172

window["reddahApi"].loadCompleted()

.waifu{position:fixed;bottom:0;z-index:1;font-size:0;-webkit-transform:translateY(3px);transform:translateY(3px)}.waifu:hover{-webkit-transform:translateY(0);transform:translateY(0)}.waifu-tips{opacity:0;margin:-20px 20px;padding:5px 10px;border:1px solid rgba(224,186,140,.62);border-radius:12px;background-color:rgba(236,217,188,.5);box-shadow:0 3px 15px 2px rgba(191,158,118,.2);text-overflow:ellipsis;overflow:hidden;position:absolute;animation-delay:5s;animation-duration:50s;animation-iteration-count:infinite;animation-name:shake;animation-timing-function:ease-in-out}.waifu-tool{display:none;color:#aaa;top:50px;right:10px;position:absolute}.waifu:hover .waifu-tool{display:block}.waifu-tool span{display:block;cursor:pointer;color:#5b6c7d;transition:.2s}.waifu-tool span:hover{color:#34495e}.waifu #live2d{position:relative}@keyframes shake{2%{transform:translate(.5px,-1.5px) rotate(-.5deg)}4%{transform:translate(.5px,1.5px) rotate(1.5deg)}6%{transform:translate(1.5px,1.5px) rotate(1.5deg)}8%{transform:translate(2.5px,1.5px) rotate(.5deg)}10%{transform:translate(.5px,2.5px) rotate(.5deg)}12%{transform:translate(1.5px,1.5px) rotate(.5deg)}14%{transform:translate(.5px,.5px) rotate(.5deg)}16%{transform:translate(-1.5px,-.5px) rotate(1.5deg)}18%{transform:translate(.5px,.5px) rotate(1.5deg)}20%{transform:translate(2.5px,2.5px) rotate(1.5deg)}22%{transform:translate(.5px,-1.5px) rotate(1.5deg)}24%{transform:translate(-1.5px,1.5px) rotate(-.5deg)}26%{transform:translate(1.5px,.5px) rotate(1.5deg)}28%{transform:translate(-.5px,-.5px) rotate(-.5deg)}30%{transform:translate(1.5px,-.5px) rotate(-.5deg)}32%{transform:translate(2.5px,-1.5px) rotate(1.5deg)}34%{transform:translate(2.5px,2.5px) rotate(-.5deg)}36%{transform:translate(.5px,-1.5px) rotate(.5deg)}38%{transform:translate(2.5px,-.5px) rotate(-.5deg)}40%{transform:translate(-.5px,2.5px) rotate(.5deg)}42%{transform:translate(-1.5px,2.5px) rotate(.5deg)}44%{transform:translate(-1.5px,1.5px) rotate(.5deg)}46%{transform:translate(1.5px,-.5px) rotate(-.5deg)}48%{transform:translate(2.5px,-.5px) rotate(.5deg)}50%{transform:translate(-1.5px,1.5px) rotate(.5deg)}52%{transform:translate(-.5px,1.5px) rotate(.5deg)}54%{transform:translate(-1.5px,1.5px) rotate(.5deg)}56%{transform:translate(.5px,2.5px) rotate(1.5deg)}58%{transform:translate(2.5px,2.5px) rotate(.5deg)}60%{transform:translate(2.5px,-1.5px) rotate(1.5deg)}62%{transform:translate(-1.5px,.5px) rotate(1.5deg)}64%{transform:translate(-1.5px,1.5px) rotate(1.5deg)}66%{transform:translate(.5px,2.5px) rotate(1.5deg)}68%{transform:translate(2.5px,-1.5px) rotate(1.5deg)}70%{transform:translate(2.5px,2.5px) rotate(.5deg)}72%{transform:translate(-.5px,-1.5px) rotate(1.5deg)}74%{transform:translate(-1.5px,2.5px) rotate(1.5deg)}76%{transform:translate(-1.5px,2.5px) rotate(1.5deg)}78%{transform:translate(-1.5px,2.5px) rotate(.5deg)}80%{transform:translate(-1.5px,.5px) rotate(-.5deg)}82%{transform:translate(-1.5px,.5px) rotate(-.5deg)}84%{transform:translate(-.5px,.5px) rotate(1.5deg)}86%{transform:translate(2.5px,1.5px) rotate(.5deg)}88%{transform:translate(-1.5px,.5px) rotate(1.5deg)}90%{transform:translate(-1.5px,-.5px) rotate(-.5deg)}92%{transform:translate(-1.5px,-1.5px) rotate(1.5deg)}94%{transform:translate(.5px,.5px) rotate(-.5deg)}96%{transform:translate(2.5px,-.5px) rotate(-.5deg)}98%{transform:translate(-1.5px,-1.5px) rotate(-.5deg)}0%,100%{transform:translate(0,0) rotate(0)}}@font-face{font-family:Flat-UI-Icons;src:url(flat-ui-icons-regular.eot);src:url(flat-ui-icons-regular.eot?#iefix) format('embedded-opentype'),url(flat-ui-icons-regular.woff) format('woff'),url(flat-ui-icons-regular.ttf) format('truetype'),url(flat-ui-icons-regular.svg#flat-ui-icons-regular) format('svg')}[class*=fui-],[class^=fui-]{font-family:Flat-UI-Icons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fui-cross:before{content:"\e609"}.fui-info-circle:before{content:"\e60f"}.fui-photo:before{content:"\e62a"}.fui-eye:before{content:"\e62c"}.fui-chat:before{content:"\e62d"}.fui-home:before{content:"\e62e"}.fui-user:before{content:"\e631"}
submitted 7 years ago ago by b61637bfb67445dd81c4509874177c10
picture
Live2D 看板娘 v1.2 / Demo

Live2D 看板娘 v1.2 / Demo

View more: < Prev Next > or try a Random SubReddah