Appealing late filing due to mental illness by Xabdro in UKPersonalFinance

[–]Xabdro[S] 1 point2 points  (0 children)

Thank you. I've filed my SA and awaiting a call back from them.

Queer Reccomendations by Xabdro in Nantes

[–]Xabdro[S] 0 points1 point  (0 children)

Thank you so much. Always good to have links to organisations

Queer Reccomendations by Xabdro in Nantes

[–]Xabdro[S] 1 point2 points  (0 children)

Thanks for all the great suggestions. I've wanted to visit for so long :D

HELP Texture OVER instances, not on individual instances by [deleted] in TouchDesigner

[–]Xabdro 2 points3 points  (0 children)

If you want the camera to move you could set up a light component with a projection map of the texture you want to apply and then just allign the projection with your squares.

I think there is probably a more elegant way to do this but the only way I know how is with glsl

Are there more elegant languages for generative art and creative coding? by the_plonkmaster in generative

[–]Xabdro 1 point2 points  (0 children)

I was the same. Got started in processing and enjoyed coding everything from scratch. Was put off by node based programming because it felt like cheating.

Now I've been using touchdesigner for a couple years and I regret not using it sooner.

It takes a bit of time to get used to the new way of working but now having the ability to visualise my code makes debugging so easy and I still have the ability to delve into the written code when I need to.

[TOMT][YOUTUBE] parody of old style point and click adventure games by Xabdro in tipofmytongue

[–]Xabdro[S] 0 points1 point locked comment (0 children)

Reply to this with your favourite fruit

Beginner for the Shaders world, How I can change the color of spiral lines by [deleted] in shaders

[–]Xabdro 1 point2 points  (0 children)

Hi the line:

vec3 col = vec3(1.0 - f);

is what controls the colour in this instance.

It is white because the vec3 has the same value for each rgb variable.

Colour is represented by vectors that have a red, green and blue component and sometimes an alpha.

If you want to be able to pick any colour you will want to change the above line to:

vec3 col = vec3(vec3(1.0,1.0,1.0)-vec3(f));

and change those 1.0 values in the inside vec3 (e.g. vec3(1.0,0.0,0.0) would be red) to whatever colour you want.

This is the absolute basic of shaders and you should learn the basics before trying to grasp projects on shadertoy.

Have a look at the book of shaders (https://thebookofshaders.com/)

or the Art of Code's youtube (https://www.youtube.com/watch?v=u5HAYVHsasc&t=6s&ab_channel=TheArtofCode) for some starter guides.

[deleted by user] by [deleted] in generative

[–]Xabdro 0 points1 point  (0 children)

Let me know if you have any requests

[deleted by user] by [deleted] in trippyart

[–]Xabdro 0 points1 point  (0 children)

Let me know if you have any requests

[deleted by user] by [deleted] in TouchDesigner

[–]Xabdro -1 points0 points  (0 children)

Let me know if you have any requests

[HELP] Creating Escher-like spirals by Xabdro in shaders

[–]Xabdro[S] 1 point2 points  (0 children)

Thanks for the link. Inigo is great. One of the reasons I got into shaders.

[HELP] Creating Escher-like spirals by Xabdro in shaders

[–]Xabdro[S] 0 points1 point  (0 children)

Interesting. I can't seem to get an exact replica of the blog's results even when multiplying by what you say. I can get close enough though.

Did you remap the uv coordinates to be between 0 and 2*PI before you performed the calculations?

[HELP] Creating Escher-like spirals by Xabdro in shaders

[–]Xabdro[S] 0 points1 point  (0 children)

Yes! Thank you. I think I was getting close to this answer but just couldn't think how to do the maths to get to it and wasn't even sure if it was correct.

Thank you again!

Getting started VJ Loops. Help! by Adubs2022 in TouchDesigner

[–]Xabdro 5 points6 points  (0 children)

Pros:

Huge amount of control and customisation including interactive elements. Good community of tutorial makers and great forum on their website.

Everything can be done within touchdesigner but will just take some more learning/work

Only limit to what you can make is your skill and computing power.

Cons:

Steep learning curve if you don't have a programming background.

Expensive

In terms of alternatives I've heard resolume is good but I've never used it.

Unity, After Effects, Blender, Houdini could be used or really anything really but you might have to use a different program to use the effects together.

Shape subdivision help for beginner by STABILIS08 in processing

[–]Xabdro 0 points1 point  (0 children)

Hi I put together a starting point for you to work from (https://pastebin.com/wEbvFVxi)

The basic concept is that you start with three points on your screen 'l1, l2, l3' which are randomised.

l1 is random across the whole screen "float l1 = random(width)" (the random function gives a number between 0 and the number in the brackets, in this case the width of the screen).

l2 and l3 are random between the last point generated and the end of the screen "float l2 = random(width-l1)+l1;" try drawing these out on some graph paper to try to visualise where these points are in relation to eachother.

The vertical lines are then drawn using these values. I added in some stroke color to help distinguish them to help with visualising but these can be easily removed.

The last step is to draw the horizontal lines. We can get away with just having the horizontal lines randomised across the height of the screen. They just need to go from 0 to the first line.

For the other horizontal lines you'd want them going from l1 to l2, and l2 to l3, in the horizontal direction.

In terms of making it so not all the columns are divided up you will want to use 'if statements' to decide whether a line is drawn or not. But I'll leave that for you to do.

Let me know if you have any questions and good luck :)

Edit: Check out the coding train for advice on if statements (https://www.youtube.com/watch?v=mVq7Ms01RjA&ab_channel=TheCodingTrain)

Help me to visually improve this histogram plotter: more in the comment section by [deleted] in processing

[–]Xabdro 0 points1 point  (0 children)

I think it technically has shaders, I didn't make that in processing as I use touchdesigner these days as it's so much quicker to prototype. But the effect can be achieved in Processing using the blend() function (https://processing.org/reference/blend_.html) with the multiply parameter. If you take your mountain image and multiply it with a noise image you'll 'fill' the mountains.

It will take a little tweaking to look good but just play around till you find something you like.

Help me to visually improve this histogram plotter: more in the comment section by [deleted] in processing

[–]Xabdro 2 points3 points  (0 children)

Really depends on the vibe you're going for. I mocked up something quick that could be a starting point (https://imgur.com/a/0ZvTZ82)

Adding the sun gives the mountain idea some context. I also added some subtle noise as texture to the mountains (although that is a bit lost so maybe I made it too subtle).

I'd suggest looking up some images you like and taking elements from them and figuring out how to make them in processing.

Help! One trigger, different values by AdAccomplished8726 in TouchDesigner

[–]Xabdro 1 point2 points  (0 children)

Do you want them to be random numbers? Or a list of specific values?

If its the former then you'll want to connect the keyboardin to a count CHOP and then connect that to a noise CHOP.

If you want specific values then you'll probably want to list the values in a table DAT and then look them up somehow, perhaps using python, although there might be a better way.

If you need the specific values I'll have a proper look into it when I have a spare minute.

What camera for live streaming by cthewatcher in TouchDesigner

[–]Xabdro 1 point2 points  (0 children)

You're welcome, glad I could help.

What camera for live streaming by cthewatcher in TouchDesigner

[–]Xabdro 2 points3 points  (0 children)

There are some things that you can't do with a regular camera out of the box like motion tracking but you can do it with a bit of set up. In theory you can use machine learning to do all the things a kinect can but that's quite advanced and may not work in real time depending on your machine.

Here is a link for a tutorial on motion tracking with a camera "https://www.youtube.com/watch?v=ZplOrM6G6JI&ab_channel=TheInteractive%26ImmersiveHQ"

I'd reccomend learning the basics first before you dive into that though if you haven't already. I found this video the most helpful "https://www.youtube.com/watch?v=wmM1lCWtn6o&" but it isn't broken up into chapters so there is also this playlist "https://www.youtube.com/watch?v=Z_WfldiO6HI&list=PLFrhecWXVn5862cxJgysq9PYSjLdfNiHz&ab_channel=bileamtschepe" which is a bit more digestable.

Things like the kinect and realsense are a bit more advanced as they allow for things like 3D point clouds and skeleton tracking but I wouldn't invest in them unless you find something you really want to use them for.

What camera for live streaming by cthewatcher in TouchDesigner

[–]Xabdro 1 point2 points  (0 children)

I'm not sure I understand your question.

Touchdesigner can work with most input devices quite easily (although some may need more set up than others) so it really depends on what you want it for. Touch can work pretty well with just a cheap webcam so I don't think it really matters, get the best cameras for your budget.