Print a smiley face
Javascript, 340
var i=0,b=document.body,d=20,n=b.clientWidth,m=b.clientHeight,f="width=10,height=10,"
var o=new Function("f","i","t",'open("","",f+"left="+i+",top="+t)')
for(j=0;j<m/d;++j,i=j*d){
u=Math.sqrt(i*(m-i))
t=m/2+u*(j%2-0.5)*2
o(f,i,t)
i>m/5&&i<0.8*m&&j%2&&o(f,i,t-m/4);
((i<m/3&&i>m/4)||(i<3*m/4&&i>2*m/3))&&o(f,i,m/3)
}
Javascript, 283
optimized version (with some improvements & without unnecessary white spaces)
var i=0,b=document.body,d=20,n=b.clientWidth,m=b.clientHeight,f="width=10,height=10,"
function o(i,t){open("","",f+"left="+i+",top="+t)}for(j=0;j<m/d;i=++j*d){u=Math.sqrt(i*(m-i));t=m/2+j%2*2*u-u;o(i,t);i>m/5&&i<0.8*m&&j%2&&o(i,t-m/4);((i<m/3&&i>m/4)||(i<3*m/4&&i>2*m/3))&&o(i,m/3)}
Well.. maybe it isn't as short as you would want to but it's unconventional for sure. It looks better when your browser is maximized. I really enjoyed your question!
If you want to increase the details just reduce d
variable slightly.
edit: Unfortunately I can't run it on jsfiddle but you can paste it to Javascript console in aby browser. Oh, and enable popups on the page :).
edit2: You can run it making a new html file and paste the code into it:
<body>
<script>
var i=0,b=document.body,d=20,n=b.clientWidth,m=b.clientHeight,f="width=10,height=10,"
var o=new Function("f","i","t",'open("","",f+"left="+i+",top="+t)')
for(j=0;j<m/d;++j,i=j*d){
u=Math.sqrt(i*(m-i))
t=m/2+u*(j%2-0.5)*2
o(f,i,t)
i>m/5&&i<0.8*m&&j%2&&o(f,i,t-m/4);
((i<m/3&&i>m/4)||(i<3*m/4&&i>2*m/3))&&o(f,i,m/3)
}
</script>
</body>
Then when you run it and nothing happens, just enable the popup windows and reload the page. In addition I paste
HTML, 200 141 characters
Thanks to avail, I've cut this down to 141 characters:
<fieldset><legend>\\\\\\\\\\\\ ////</legend><center><input size=1 value=o> <input size=1 value=o /><br><input type=radio><br><button>........
Here's the original HTML:
<fieldset>
<legend>\\\\\\\\\\\\ ////</legend>
<center><input type=text size=1 value=o />
<input type=text size=1 value=o /><br/>
<input type=radio /><br/>
<button>........</button></center></fieldset>
Works best on small screens:
Brainfuck: 583 characters (without counting whitespace)
>>------>->->+++++>->->---->>>>------>>>>
>>>>---->->------->>->->->---->>-------->
->->------>>>>>>>>>>-->---->>-->---->>->
-->>>------>>>>>>>>->---->---->>->->->-
>>->---->---->>++++[-<++++>]<[-<++++
++<++++++++<+++<++<++++++<++++++<++++++
<++++++<++<++++++<++++++++<+++<++<++<++<++
<++<++<++<+<++<++++<++++++++<+++<++<+++<+++
<++<++++++ <++++++++<++++< ++<++<++<++
<++<++<++<++<+<+++<++++++<+++<++<++++++<+++
+++<++++++<+++<++<++ +<++++++<++++++<++<++
<++<++<++<++<++<+<++<++<++<++++++<++++++
<++++++<+++++<++++++<+++<+>>>>>>>>>>>>
>>>>>> >>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>]<[.<]
Output:
\|/ ____ \|/
@~/ ,. \~@
/_( \__/ )_\
\__U_/