News for hackers. Stuff that matters.
Re:A remake of the Windows pipes screensaver using Three.js by TheAceOfHearts on Sunday November 22, 2015 @10:39AM (#10610353)
I don't know if it's my memory failing me, but something about it feels a little bit off. I looked at videos on YouTube and I think it's because of the timing. I get the impression that right now it's moving much faster than it did originally.

Does anyone else get the same feeling?

In any case, it's still fun! A great bit of nostalgia.

Personally, I was a bigger fan of the maze [0]. Although watching this video made me a little dizzy.

[0] https://www.youtube.com/watch?v=oRL5durPleI

Re:A remake of the Windows pipes screensaver using Three.js by reimertz on Sunday November 22, 2015 @11:38AM (#10610538)
You are totally right!

I forked his/her repo and added the ability to set the speed yourself.

http://reimertz.github.io/pipes/

Re:A remake of the Windows pipes screensaver using Three.js by daveguy on Sunday November 22, 2015 @11:36AM (#10610531)
Original pipes didn't have knots did it? And there's some pipes that come out through other pipes which I don't think happened in the original. Very cool implementation though.
Re:A remake of the Windows pipes screensaver using Three.js by Buge on Sunday November 22, 2015 @12:23PM (#10610684)
As in spheres at the corners? I remember it having those. Some corners had them and some didn't, same as in this.
Re:A remake of the Windows pipes screensaver using Three.js by DiThi on Sunday November 22, 2015 @03:39PM (#10611410)
I think it was a setting.
Re:A remake of the Windows pipes screensaver using Three.js by TazeTSchnitzel on Sunday November 22, 2015 @04:18PM (#10611534)
Yep: http://i.imgur.com/mWXqZh0.png

"Elbow" is just an L-shaped joint. "Ball" is the spheres. "Mixed" is a random choice per-joint. "Cycle" means successive screens will use different choices.

Re:A remake of the Windows pipes screensaver using Three.js by mschuster91 on Sunday November 22, 2015 @05:19PM (#10611730)
Given your tweets I had expected a screenshot in a browser ;)
Re:A remake of the Windows pipes screensaver using Three.js by TazeTSchnitzel on Sunday November 22, 2015 @05:27PM (#10611764)
Trying to preview 3D Pipes on win95.ajf.me causes a timeout, alas.
Re:A remake of the Windows pipes screensaver using Three.js by swiley on Sunday November 22, 2015 @01:57PM (#10610992)
I think it only had spheres to terminate each pipe.
Re:A remake of the Windows pipes screensaver using Three.js by endgame on Sunday November 22, 2015 @04:46PM (#10611627)
Old pipes did, but this version allows pipes to self-intersect, which might be what's throwing you off.
Re:A remake of the Windows pipes screensaver using Three.js by arbitrage on Sunday November 22, 2015 @10:58AM (#10610412)
I felt the same way. Also, I feel like I remember that the windows version avoided occluding the camera moreso than this one does.

Incidentally, your link goes to the 3d maze screen saver.

This one is pipes: https://www.youtube.com/watch?v=trdGmt0934s

Re:A remake of the Windows pipes screensaver using Three.js by kabdib on Sunday November 22, 2015 @11:35AM (#10610529)
I could have sworn that Microsoft released the source code to this screen saver, long, long ago.

[Edit: Yup, it was in the SDK: SDKs\Win32 SDK\OpenGL\Code Samples\PIPES]

Re:A remake of the Windows pipes screensaver using Three.js by maaaats on Sunday November 22, 2015 @12:27PM (#10610699)
OpenGL, interesting. Someone knows more about this choice?
Re:A remake of the Windows pipes screensaver using Three.js by thrownaway2424 on Sunday November 22, 2015 @12:33PM (#10610717)
Pipes predates Direct3d by a lot. It was first release, IIRC, in Windows NT 3.5. At that time it was novel that a PC had OpenGL.
Re:A remake of the Windows pipes screensaver using Three.js by TazeTSchnitzel on Sunday November 22, 2015 @01:39PM (#10610930)
It was one of the four OpenGL screensavers 95 had (presumably NT 3.5 had the same bunch). They used opengl32.dll which provided OpenGL with software rendering, IIRC.
Re:A remake of the Windows pipes screensaver using Three.js by thrownaway2424 on Sunday November 22, 2015 @03:11PM (#10611287)
Right, these had no requirements for hardware support at all, because if they had had any nobody would have been able to run them. The release of these screensavers for Windows NT predated the release of Windows 95 by a few months, which is why I mentioned it.

Windows NT 3.51 also introduced the inexplicable animated cursors feature later included in Windows 95.

Re:A remake of the Windows pipes screensaver using Three.js by kabdib on Sunday November 22, 2015 @03:34PM (#10611399)
Animated cursors, like puppies and kittens, need no explanation :-)
Re:A remake of the Windows pipes screensaver using Three.js by TazeTSchnitzel on Sunday November 22, 2015 @04:22PM (#10611546)
Though they do consume rather a lot of conventional memory, which might cause problems :)
Re:A remake of the Windows pipes screensaver using Three.js by TazeTSchnitzel on Sunday November 22, 2015 @04:20PM (#10611540)
*five, in fact.
Re:A remake of the Windows pipes screensaver using Three.js by reimertz on Sunday November 22, 2015 @06:59AM (#10609826)
Re:A remake of the Windows pipes screensaver using Three.js by matiasb on Sunday November 22, 2015 @08:47AM (#10610029)
Do you know any interesting threejs guide/book?

I'm still learning it, my last hack was a (J)SCAD file previewer inside Atom:

https://atom.io/packages/atom-scad-preview

Re:A remake of the Windows pipes screensaver using Three.js by reimertz on Sunday November 22, 2015 @09:05AM (#10610073)
This is not my repo, so all creds go to the author: https://github.com/1j01/

But to reply to your question, what really amazed me a year a go was this demo: https://www.youtube.com/watch?v=SKPYx4CEIlM

After watching that, I feel in love with all the possibilities that comes with interactions one can do with anything that is represented in a virtual 3D environment.

So instead of learning Three.js, I started to work with Unity since they are multi-platform and have UnityScript which is a lot similar to Javascript. Due to my background as a web developer, it was a very comfortable transition.

Re:A remake of the Windows pipes screensaver using Three.js by tim333 on Sunday November 22, 2015 @10:49AM (#10610382)
UnityScript seems cool but it looks like I need to download a 350mb executable to run it so I guess it's for a different use case.
Re:A remake of the Windows pipes screensaver using Three.js by drivingmenuts on Sunday November 22, 2015 @11:34AM (#10610524)
It's pretty much only for use inside Unity itself as a game development language.

I have a small hope, since Microsoft appears to be opening up DotNet, that Unity will itself one day be able to work with any of the DotNet languages.

Re:A remake of the Windows pipes screensaver using Three.js by mattmanser on Sunday November 22, 2015 @12:38PM (#10610740)
You can use C# in Unity. I was under the impression that most people do.
Re:A remake of the Windows pipes screensaver using Three.js by reustle on Sunday November 22, 2015 @09:23AM (#10610112)
Wow, this is pretty cool! I think more and more people will start to use atom as more projects like this start to come about.
Re:A remake of the Windows pipes screensaver using Three.js by matiasb on Sunday November 22, 2015 @10:30AM (#10610325)
Thanks, I'm collaborating on a local accesibility project that aims to produce braille signs (door signs for example) with 3D printers. The first experiments were using OpenSCAD. I started to experiment with JSCAD later as it's possible to use it on the web and/or NodeJS, etc. A cool feature would be to print the 3D model directly from Atom, with one click :)
Re:A remake of the Windows pipes screensaver using Three.js by joeframbach on Sunday November 22, 2015 @08:40PM (#10612391)
The teapots are a nice easter egg! I took a few screenshots: http://i.imgur.com/PEBxHnTm.png
Re:A remake of the Windows pipes screensaver using Three.js by markbnj on Sunday November 22, 2015 @01:29PM (#10610885)
Just FYI I get a blank black screen in Chrome 45.0.2454.101. Two javascript errors in the console. "Error creating WebGL context THREE.WebGLRenderer @ 3.js:421" and then "Uncaught TypeError: Cannot read property 'getExtension' of null," which is probably just an after effect of the first one. Have ABP extension installed, along with a few development plugins.

Runs great on Firefox. Seems to draw quite a bit faster than the original, which I had as my screensaver for years on my NT 3.5 workstation.

Re:A remake of the Windows pipes screensaver using Three.js by TazeTSchnitzel on Sunday November 22, 2015 @01:37PM (#10610925)
> "Error creating WebGL context THREE.WebGLRenderer @ 3.js:421"

Sounds like Chrome is unable to get GPU acceleration. Are you on Linux?

Re:A remake of the Windows pipes screensaver using Three.js by markbnj on Sunday November 22, 2015 @02:57PM (#10611224)
That test was on Windows 7 Professional, with a GTX 660 and latest nVidia drivers.
Re:A remake of the Windows pipes screensaver using Three.js by TazeTSchnitzel on Sunday November 22, 2015 @03:00PM (#10611234)
Odd. Check about:gpu?
Re:A remake of the Windows pipes screensaver using Three.js by markbnj on Sunday November 22, 2015 @03:07PM (#10611270)
Here's the status section from the top. Don't want to post the whole mess so if you want anything else let me know and I will cherry pick. Also, installed extensions: ABP 1.9.3, Evernote Web Clipper 6.7, rest console 4.0.2, xpath helper 2.0.2 and a couple of standard Google shims.

Graphics Feature Status Canvas: Hardware accelerated Flash: Hardware accelerated Flash Stage3D: Hardware accelerated Flash Stage3D Baseline profile: Hardware accelerated Compositing: Hardware accelerated Multiple Raster Threads: Enabled Rasterization: Software only. Hardware acceleration disabled Video Decode: Hardware accelerated Video Encode: Hardware accelerated WebGL: Hardware accelerated

Re:A remake of the Windows pipes screensaver using Three.js by greggarious on Sunday November 22, 2015 @08:32AM (#10609999)
Even the teapots?
Re:A remake of the Windows pipes screensaver using Three.js by dewey on Sunday November 22, 2015 @09:19AM (#10610104)
"A remake of the Windows pipes screensaver (sspipes32.scr) with Three.js

Includes Utah Teapots and candy cane!"

Re:A remake of the Windows pipes screensaver using Three.js by andrepd on Sunday November 22, 2015 @12:33PM (#10610719)
It's running at 15fps in my browser. I remember the original ran at 60Hz 15 years ago in a computer a couple orders of magnitude slower.
Re:A remake of the Windows pipes screensaver using Three.js by pcwalton on Sunday November 22, 2015 @01:26PM (#10610879)
Buggy GPU drivers weren't an issue back then with software implementations of OpenGL.
Re:A remake of the Windows pipes screensaver using Three.js by untog on Sunday November 22, 2015 @04:25PM (#10611555)
Then there is something wrong with your machine.
Re:A remake of the Windows pipes screensaver using Three.js by DiThi on Sunday November 22, 2015 @03:42PM (#10611421)
I bet the original didn't redraw the whole thing and only the part that was added in that frame. Probably using a Z-buffer.
Re:A remake of the Windows pipes screensaver using Three.js by kenOfYugen on Sunday November 22, 2015 @08:23AM (#10609967)
Brings back memories ...
Re:A remake of the Windows pipes screensaver using Three.js by anonbanker on Sunday November 22, 2015 @07:06PM (#10612104)
Marcello Vianna's version of Pipes (included in Xscreensaver) was always much nicer[0], and ran much faster on my box. I wish someone would port it to js.

0. https://www.youtube.com/watch?v=UsUGENa7jvE

Re:A remake of the Windows pipes screensaver using Three.js by jtoronto on Sunday November 22, 2015 @10:52AM (#10610390)
JS demo scene?
Re:A remake of the Windows pipes screensaver using Three.js by ultimatejman on Monday November 23, 2015 @06:10AM (#10613934)
Ahhh that's super cool!
Re:A remake of the Windows pipes screensaver using Three.js by mshenfield on Sunday November 22, 2015 @10:44AM (#10610372)
This is awesome!
Re:A remake of the Windows pipes screensaver using Three.js by matiasb on Sunday November 22, 2015 @08:44AM (#10610022)
Really cool!
Re:A remake of the Windows pipes screensaver using Three.js by paki123 on Sunday November 22, 2015 @12:09PM (#10610634)
I remember being like 7 and just watching this go off for as long as possible. This and the maze.