Scroll Slow. Have Fun
scrollslowhavefun.com
scrollslowhavefun.com
I see that this screen has alternating black and white lines. I count 43 black lines on my monitor. Assuming 60 Hz refresh rate, that is 2580 Hz in terms of the pixels being off or on, which is a perfectly audible frequency. Even with 120 Hz refresh rate, that would be 5160 which is still easily audible. Without knowing anything else, I guess that there may be a capacitor somewhere that is charging and discharging along with the brightness of the screen as it is refreshed from top to bottom, which is causing it to flex in a way that produces an audible noise.
I am curious is Aardwolf can produce different frequencies by varying the width (and therefore the quantity) of black and white lines on the screen. If so, you should be able to play some music on it.
[1] http://www.edn.com/design/components-and-packaging/4364020/R...
I also put some ideas on the Github Readme including using feedback from the microphone to calibrate a width->pitch mapping to play music using your screen.
http://genabitu.github.io/screentunes/
Maybe I'll get to get it play music (a json with timings and notes would suffice, I suppose?)
http://genabitu.github.io/screentunes/
You have to calibrate it before it starts playing.
I'll have to find some other monitors to test this on. It would be awesome if there were some commplace model that's relatively loud for a wide pitch range. Said model might then be useful for musical hacks in the same vein as driving the stepper motors in old floppy drives.
Also makes for a nice covert channel... similar tricks with "listening" to the noises a computer makes have been shown to be possible to use for extracting information like encryption keys:
That was a cool hack!!
Zooming in (i.e. making the width greater) results in a lower-pitched sound.
Zooming out (i.e. making the width narrower) results in a higher-pitched sound.
Great catch/explanation of this anomaly.
http://en.wikipedia.org/wiki/Coil_noise
http://www.ukgamingcomputers.co.uk/capacitor-squeal-coil-whi...
http://electronics.stackexchange.com/questions/34806/what-mi...
All video interfaces we use transmit data serially, line by line, pixel by pixel. The bars are 16px tall (black + white) so at 60Hz and 1920×1080px they'll produce a tone with fundamental frequency of 4.05kHz (60Hz × 1080 lines / 16 lines) and harmonics.
(I'm trying to get a recording, but I work in a plant and it's a bit full of white-ish noise...)
Plus: open developer toolbars, find styles for .bars, change margin-bottom and sound changes frequency.
(No sound here)
I also tried test patterns at http://www.lagom.nl/lcd-test/ and http://www.testufo.com/. None of those made caused my screen to make an audible sound.
Though, when scrolling on the site, _something_ (it's not the screen) is making weird noises, almost like the sound when accessing a HDD. I have an SSD though.
I had the same issues with other sites / applications when scrolling in general as well. Even more noticeable with the MacBook Air I had before. Is there any rational explanation for this?
When you are just looking at the screen, and the machine is otherwise idle, the CPU is not doing much, so it goes into low-power low-frequency mode and "sleeps" until some event occurs. When you put fingers on the trackpad and scroll, it sends an "interrupt" to the CPU, telling it that a scroll event has occurred; in a few microseconds the CPU goes from idle to full power to process that scroll event, then goes back to sleep again. The GPU might also be involved in the same way. Every little scroll movement results in an interrupt, so when you are scrolling at a constant rate interrupts occur at a fixed frequency, and the system is going from idle to full power many times a second. The pulses of power draw that this creates, happening at audible frequencies, causes various components like inductors and capacitors to emit sound.
Weird.
http://www.amazon.de/Ulff-Backenh%C3%B6rnchen-eine-irre-Verf...
Will be released in the next 4 weeks. It was fun to make, but also quite nightmarish in the technical details. It is a hell of work (we have roughly 30 animations in the book, very small and very big ones). It requires extremely accurate measurements for the grid-foil and a sophisticated workflow and color management.
In the first run, the printer forgot to fixate the ink on the grid-foils with a protective layer, so using the foil would smear the black color.
Out of Print, but still on amazon
http://www.amazon.com/The-Magic-Moving-Picture-Book/dp/04862...
Hope you get yours working well.
Note that the 3DS actually uses a parallax barrier, which is similar to this, but with the stripes far enough out-of-plane to the image to allow each eye to see a different part of the image[2].
The book my daughter has works just like this website, with black stripes on a transparent layer, and a layer immediatly below that is attached to the spine, but not the outer layer, causing it to move relative to the stripes as the page is turned[3].
1: http://en.wikipedia.org/wiki/Lenticular_printing
2: http://en.wikipedia.org/wiki/Parallax_barrier
3: No good wikipedia article, so here is their about page http://scanimationbooks.com/about-scanimation/
The cover is also on the publishers website: http://www.mixtvision-verlag.de/main_detail.php?id=1261&bere...
The book will be available as ebook as well, although I cannot actually see the sense of this at all, as the animations will not work ;-)
setInterval(function() {
window.scrollTo(0, document.body.scrollTop + 5)
}, 60)Try this one instead to see the difference. This will scroll at approximately the same rate as your example:
setInterval(function() { window.scrollTo(0, document.body.scrollTop + 1) }, 12);
I prefer it a bit slower though:
setInterval(function() { window.scrollTo(0, document.body.scrollTop + 1) }, 30);
javascript:setInterval(function() { window.scrollTo(0, document.body.scrollTop + 1) }, 30);
On Chrome 39 on CrOS, I can't type that into the URL field, and if I copy/paste it, the "javascript:" portion of the scheme magically disappears, so hitting enter takes me to a SERP. I wonder if that's done in the hope that you Google the self-XSS that you were about to run and see someone explain what's going on.
Isn't this how everyone scrolls slowly?
setInterval(function () { window.scrollTo(0, document.documentElement.scrollTop + 5); }, 60)
do this instead for 60 intervals per second: setInterval(function() { window.scrollTo(0, document.body.scrollTop + 5) }, 16.666666666666668)
or better yet skip the setInterval and have the page continue to move:
var scrollIncrement = 5;
var height = Math.max( document.body.scrollHeight, document.body.offsetHeight, document.documentElement.clientHeight, document.documentElement.scrollHeight, document.documentElement.offsetHeight ) - window.innerHeight;
var AnimationFrame = (function() {
var FPS = 16.6666666667; // 1000 / 60 = Frames Per Second
var RAF = window.requestAnimationFrame
|| window.webkitRequestAnimationFrame
|| window.mozRequestAnimationFrame
|| window.msRequestAnimationFrame
|| window.oRequestAnimationFrame
|| function(a) { window.setTimeout(a, FPS); }
var CAF = window.cancelAnimationFrame
|| window.webkitCancelAnimationFrame
|| window.mozCancelAnimationFrame
|| window.msCancelAnimationFrame
|| window.oCancelAnimationFrame
|| function(a) { window.clearTimeout(a); }
return {
request: function(a) {
RAF(a);
},
cancel: function(a) {
CAF(a);
}
}
})();
var scroll = function(){
var scrollPosition = Math.max( document.documentElement.scrollTop, document.body.scrollTop );
if ( scrollPosition == height )
scrollIncrement = (-1 * scrollIncrement);
else if ( scrollPosition == 0 )
scrollIncrement = (-1 * scrollIncrement);
window.scrollBy(0, scrollIncrement);
AnimationFrame.request(scroll);
}
AnimationFrame.request(scroll);
you can easily just tweak the scroll distance as well by entering scrollIncrement = x;Does anyone besides me have a problem with the pictures being too large and too close together? The mask lines were only in the top half of the screen and I could never see the entire picture onscreen as they were too large. Zoom out did nothing.
I like the Windows convention that the middle-mouse is entirely for navigating the viewpane, so I'd prefer if it was just ctrl+command+click or something for the "selection-paste" operation, but that kind of UI change is a hard sell.
This has nothing to do with it, it's just dividing an animation into scanlines and interleaving them so that the horizontal lines act as a shutter when scrolling.
Basically you're moving an interlaced still image composite made from multiple frames of an animation under an stripe mask revealing only the current frame, where the ratio of stripe to black equals the number of frames.
Lenticular prints[2] work in the same way, but instead of a mask the lenses blow up each line to full width (much like an optical equivalent to line doubling video deinterlacing), trading resolution in one dimension for encoding multiple frames.
When I came back to HN, I noticed that my mind made my vision appear actively "wavy." In other words, I could see some slight movement of waves on the horizontally drawn elements currently displayed -- the top orange bar that says [Y]Hacker News [...] had the appearance of fluctuating with low frequency waves.
another one https://bitbucket.org/lucio.torre/scanimation/wiki/Home
In Opera 12 on the other hand there's a range of about one inch of mouse movement on the screen, where you get, pixel-for-pixel, different speeds for this thing, all of them useful.
Someone actually made a canvas viewer to show off how it works: http://www.effectgames.com/effect/article.psp.html/joe/Old_S...
You would get these emails that were thousands of lines long with ASCII characters all over the place. When you'd scroll, though, an animation would take form and you'd watch stuff bounce left and right across the screen and other effects similar to, but more primitive than, the effects demonstrated by this submission.
Here is a video made by someone selling one: https://www.youtube.com/watch?v=TAghB2-Ks5I
I bet many of the people here can guess the fate of it and many of my other toys.
You can order it here http://www.amazon.com/Poemotion-2-Takahiro-Kurashima/dp/3037...
t=300;s=1;y=t;d=s;i=setInterval(function(){window.scrollTo(0,y);y+=d;if(y>6200) d=-s;if(y<t) d=s},33);
NOW its fun. ;)
really cool, animals move etc.