Real Time Weather API in TouchDesigner

  Рет қаралды 13,018

Lake Heckaman

Lake Heckaman

Жыл бұрын

In this video we implement a weather API ( www.visualcrossing.com/) in TouchDesigner and explore how one can use real-time weather data to control visual effects.
Project files and more: / water__shed
Example of usage in a full project: lakeheckaman.com/Malformed-1
NOTE: This tutorial was created using Windows, I have not tested it on Mac OS
Links:
- www.visualcrossing.com/resour...
- docs.python.org/3/library/jso...
- docs.python.org/3/library/url...

Пікірлер: 35
@klaudiapacharew9844
@klaudiapacharew9844 10 ай бұрын
great work! thank you so much for sharing!
@AngusMacMinn
@AngusMacMinn Жыл бұрын
awesome video!! thanks so much, super helpful
@protoplasmic
@protoplasmic 10 ай бұрын
Lake this tutorial was awesome - the API table output with parameterized tox inputs is super useful. Great presentation. Can't wait to dig into your GLSL work.
@water__shed
@water__shed 2 ай бұрын
thank you so much!!
@xlrtrexe
@xlrtrexe 9 ай бұрын
Great tutorial. Quick question. How do you pull up VSC instead of Notepad when you hit edit? Thanks
@xlrtrexe
@xlrtrexe 9 ай бұрын
Scratch that, figured it out
@water__shed
@water__shed 9 ай бұрын
@@xlrtrexefor posterity, you can set custom programs to open text and table DATs in the preferences (Edit > Preferences)
@clivemathieu9386
@clivemathieu9386 Жыл бұрын
Your mad and I love it
@user-hx9gu5nh9p
@user-hx9gu5nh9p 11 ай бұрын
You're ignorant and I love it
@alexanderhall4045
@alexanderhall4045 Жыл бұрын
I am getting AttributeError: 'URLError' object has no attribute 'read' Results of run operation resulted in exception. any ideas on a fix?
@water__shed
@water__shed Жыл бұрын
Check if the error occurs on a PC - could be OS related
@lukastreibenreif
@lukastreibenreif Жыл бұрын
If you have trouble using urllib, because it's easy on macOS to struggle with that, then switch to the web client data instead of a script in a text dat.
@gregorychang812
@gregorychang812 Жыл бұрын
@@lukastreibenreif I'm also on mac, but I just tried it rn but it still out puts the same error are there any settings I should change in the web client node
@lukastreibenreif
@lukastreibenreif Жыл бұрын
@@gregorychang812 I could send you the file if you are interested.
@gregorychang812
@gregorychang812 Жыл бұрын
@@lukastreibenreif That'd be amazing! I have my twitter and instagram links in my profile but if you prefer another method lmk
@lirawhite5799
@lirawhite5799 Жыл бұрын
Hi, Lake, quick question. op('request_output').text = json.dumps(weatherData) NameError: name 'op' is not defined and it also cannot define debug function. Awesome tutorial, it helps me more understanding how API works, thank you for sharing your knowledge. 🫀☠🤖
@ValidPlacebo
@ValidPlacebo Жыл бұрын
You have a text DAT named requests_ouput?
@AlphaMoonbase
@AlphaMoonbase Жыл бұрын
Dumb question, but are you running the script inside of TouchDesigner or as its own python-script? op not being defined make it look like you are not running that script in TouchDesigner.
@xlrtrexe
@xlrtrexe 9 ай бұрын
I had the same issue. I had changed the location from DC to New york,NY so I reverted it back to Washington,DC no spaces then I deleted the request_output text DAT and created a new one from scratch and it worked. Not sure why exactly. Maybe it wasn't registering from when I changed the settings earlier on.
@PanificioAccolla-tn2pe
@PanificioAccolla-tn2pe Жыл бұрын
The ApiQuery does not work, although I debugged it, it doesn't pull out the URL address with all the other data when I run the code, just: ApiQuery (Debug - DAT:/project1/weather_API fn: line:61). Help, please?
@water__shed
@water__shed Жыл бұрын
hey there, sorry you are having issues. Im not sure from the context you shared what is going on, but you can find a working component with the code available on my patreon
@RussellKlimas
@RussellKlimas 2 ай бұрын
For some reason when I try and get the text to show up instead of changing to the location it just displays parent().par.location.eval() I've been through the tutorial twice and I'm not sure what I'm doing wrong.
@water__shed
@water__shed 2 ай бұрын
perhaps you are writing text, and not a parameter expression (make sure the second, green little check box is ticked on the left when the parameter is expanded) - see interactiveimmersive.io/touchdesigner-parameters/
@RussellKlimas
@RussellKlimas 2 ай бұрын
@@water__shed That's what is was, thank you!
@juhyeonlee8885
@juhyeonlee8885 8 ай бұрын
Thanks for great tutorial!!! But I have some issues, it seems quite going well while I'm doing with debug ApiQuery. After then following the op('request_output')... many errors followed. It says ~~Versions/3.9/lib/python3.9/http/client.py", line 1253, in request And I thought it could be the problem of python version. I try to downgrade python but error keep coming out it only downgrade by 3.8 I'm not sure if it is the problem of python version, or did I miss some install of lib. (I already check json, url lib...) If you know any solution about this plz let me know😢😢😢😢😢😢
Realtime Caustics in TouchDesigner with Easy GLSL
30:04
Lake Heckaman
Рет қаралды 10 М.
Particles Study - Lake Heckaman
0:30
Lake Heckaman
Рет қаралды 675
Дарю Самокат Скейтеру !
00:42
Vlad Samokatchik
Рет қаралды 8 МЛН
УГАДАЙ ГДЕ ПРАВИЛЬНЫЙ ЦВЕТ?😱
00:14
МЯТНАЯ ФАНТА
Рет қаралды 3,5 МЛН
WHAT’S THAT?
00:27
Natan por Aí
Рет қаралды 13 МЛН
How Many Balloons Does It Take To Fly?
00:18
MrBeast
Рет қаралды 164 МЛН
Ryoji Ikeda in Touchdesigner
16:16
paketa12
Рет қаралды 16 М.
Geographic Data Visualization - Mary Franck
1:49:49
TouchDesigner
Рет қаралды 21 М.
Self-typing Text with Python in TouchDesigner Tutorial
9:45
The Interactive & Immersive HQ
Рет қаралды 9 М.
How to Buy a TouchDesigner Computer
18:45
The Interactive & Immersive HQ
Рет қаралды 10 М.
from arduino to touchdesigner
0:43
Desavi
Рет қаралды 1,8 М.
MIDI Visualizer - TouchDesigner
32:14
Corbin White
Рет қаралды 2,4 М.
Дарю Самокат Скейтеру !
00:42
Vlad Samokatchik
Рет қаралды 8 МЛН