TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Pixel Shaders: Proposal for an Interactive Introduction to Graphics Programming

206 pointsby msvanalmost 12 years ago

17 comments

overgardalmost 12 years ago
&quot;Wants to use your webcam&quot;<p>Just a suggestion, if it&#x27;s going to do that it should explain why. I&#x27;m not hitting yes to that without a good reason.<p>If it&#x27;s using it as source data for the pixel shaders... I get you&#x27;re trying to go for a wow factor, but from experience I think a lot of people are creeped out when their likeness is used for something they don&#x27;t have direct control over.
评论 #6198595 未加载
robblesalmost 12 years ago
This is really cool! Would you consider adding a &quot;Sign up for mailing list&quot; form and sending out occasional updates (for new chapters, etc.)?<p>I often find and bookmark interesting learning resources like this, but I don&#x27;t remember to come back later and check for new additions.
kilovoltairealmost 12 years ago
Bret Victor points out a cool part:<p><a href="https://twitter.com/worrydream/status/257915809131819008" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;worrydream&#x2F;status&#x2F;257915809131819008</a>
kilovoltairealmost 12 years ago
Previous HN discussion of Recursive Drawing, another very cool project by the same guy:<p><a href="https://news.ycombinator.com/item?id=3951255" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=3951255</a>
c3dalmost 12 years ago
If you want to play with shaders interactively, take a look at Tao Presentations. Will let you combine shaders and real-time 2D&#x2F;3D animations. <a href="http://www.taodyne.com/shop/en/blog/67-real-time-stereoscopic-raytracing" rel="nofollow">http:&#x2F;&#x2F;www.taodyne.com&#x2F;shop&#x2F;en&#x2F;blog&#x2F;67-real-time-stereoscopi...</a> for an example, <a href="http://www.taodyne.com/shop/en/blog/60-screencast-building-an-animated-clock-in-10-minutes" rel="nofollow">http:&#x2F;&#x2F;www.taodyne.com&#x2F;shop&#x2F;en&#x2F;blog&#x2F;60-screencast-building-a...</a> for another one.
msvanalmost 12 years ago
I&#x27;d like to add that I didn&#x27;t make this. I only found it. Let&#x27;s all send the author an email and encourage him to continue his work!
dbsierraalmost 12 years ago
This is super useful, and I hope to see many many more examples of this kind of approach to teaching programming and math concepts, especially in graphics where real time visual feedback is so important. As he says, there is a lot of material for the already advanced out there, but not much that fills the gap for people already used to coding but that lack the experience for digesting dense packets of information relevant to the topic. I hope he can finish this. Does anyone know of other interactive learning projects such as this?
评论 #6196461 未加载
FraKtusalmost 12 years ago
<a href="https://www.shadertoy.com" rel="nofollow">https:&#x2F;&#x2F;www.shadertoy.com</a> is a nice community to share ideas about shaders...
almostalmost 12 years ago
This looks fantastic.<p>One small thing I&#x27;d suggest is to show errors in the editor. I changed some things which worked great then I tried some other syntax I thought might work which didn&#x27;t. The line with the editor went red (good) but there was no way of seeing the exact error (bad).<p>Another request: a mailing list for updates on the project. I&#x27;d love to be emailed when new stuff comes out as I&#x27;d like to keep an eye on the project but will probably forget...
评论 #6196191 未加载
guycookalmost 12 years ago
This is really neat - already knew everything here but if it ramps up I&#x27;ll be coming back.<p>For those who want to dig into pixel shaders, I recently wrote a tutorial going from no-knowledge to intermediate on this very topic:<p><a href="http://ivorydungeon.net/2013/zero-to-glsl-spectrum-analyser-in-one-hour/" rel="nofollow">http:&#x2F;&#x2F;ivorydungeon.net&#x2F;2013&#x2F;zero-to-glsl-spectrum-analyser-...</a> HN - <a href="https://news.ycombinator.com/item?id=6159240" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=6159240</a>
mharjualmost 12 years ago
A fantastic tool! I couldn&#x27;t help but notice when I did the first exercise that the way of live editing did distract me from observing the code deeper than fiddling with the actual values needed.<p>So if one would now ask me how do I do a full-yellow box I would not know how to do it from scratch. However, I would know that the RGBA values were 1, 1, 0 and 1, which is the most important part to learn.<p>That&#x27;s why I think there is a lot of work to be done when making proper abstractions around this for human programmers in the future.<p>This is however just an observation on my part, I think this is definitely the way to go forward. Making learning more interactive just makes so much sense.
bencoderalmost 12 years ago
Really great. Struggled to get the last one on the same chapter. Might be useful to have a hint feature.<p>Loved the demos, especially the webcam ones.. I&#x27;m still surprised by what is possible with &#x27;javascript&#x27; now.
symralmost 12 years ago
Really good. Reminded me about Bret victor&#x27;s <a href="http://worrydream.com/#!/LearnableProgramming" rel="nofollow">http:&#x2F;&#x2F;worrydream.com&#x2F;#!&#x2F;LearnableProgramming</a>
teawrecksalmost 12 years ago
I&#x27;ve been looking for a shader guide that ramps up in complexity just like this. The interactiveness is just the cherry on top! Can&#x27;t wait to see the rest.
andrerosalmost 12 years ago
Wow, this is great. Looking forward to the completed book!
tholmanalmost 12 years ago
The demo chapter is fantastic, I&#x27;d definitely be on board to buy&#x2F;fund this if it came up.<p>Is there a way I can subscribe for updates?
silverlightalmost 12 years ago
Fantastic!