Posts

Showing posts from 2021
https://bafybeigbq6zbpvpsbudagj3vc6krn5hnec7v2vx7gs2vmpzoqbfnh3nlkq.ipfs.dweb.link/ https://bafybeigbq6zbpvpsbudagj3vc6krn5hnec7v2vx7gs2vmpzoqbfnh3nlkq.ipfs.infura-ipfs.io/

dad explains sdf

Image

Interesting Ideas

Image

hello webgpu triangle

Image

ShaderToy SDF Beginner Template

float circle(vec2 uv,float radius){ return length(uv)-radius; } float sdBox( in vec2 p, in vec2 b ) { vec2 d = abs(p)-b; return length(max(d,0.0)) + min(max(d.x,d.y),0.0); } void mainImage( out vec4 fragColor, in vec2 fragCoord ) { vec2 uv = fragCoord.xy / iResolution.xy; //convert pixels from screen resolution[1920x1080] to 0-1 space uv -= 0.5; //center uv.x *= iResolution.x / iResolution.y; // make a proper square instead of a rectangle float d = sdBox( uv,vec2(0.3) ); //set square side //float d= circle(uv,0.3);//set circle radius vec4 color = vec4(0.0); //set background-color if(d<0.0) color = vec4(1.0);//set inside color fragColor = vec4(color);//color the canvas }

Codebase APlha - Shader notes - class 1

https://codeshare.io https://www.shadertoy.com/view/XdlSD4 https://www.shadertoy.com/view/ldyGWm https://www.shadertoy.com/view/3sXSD2 https://www.shadertoy.com/view/lttBzN KodeLife : instant feedback shaders: no objects, no memory allocation, no recursion Linear Algebra : vector [point, direction] float, vec2 , vec3, vec4 swizzle : uv.x, uv.xy, , uv.xyz , uv.yx length: distance from origin float l = length(uv); dot product of 2 vectors 1. Shows how similar they are for normalized vectors : https://twitter.com/freyaholmer/status/1200807790580768768 If dot product = 0 , the 2 vectors are perpendicular to each other. =1, they are same , =-1 opposite direction 2. dot(a,b) = length(a) * length(b) cos[angle] OR angle = acos (dot(a,b)/length(a) * length(b)) 3. (a,b) . (x,y) = ax + by dot product of 2 vectors is a scalar float a = dot(xy,uv); cross product of two 3D vectors gives a vector that is perpendicular to both the vectors. [right hand rule symbolism] a d bf-ec b X e = af-dc

y=f(x)

Image

interesting music hackspace courses

Visual Music Performance with Machine Learning Immersive AV Composition - Bryan Dunphy Understanding Indian rhythm through simple algorithms Introduction to beat detection and audio-reactive visuals in TouchDesigner Audio visual creation & performance with TDAbleton Simple Systems for Live Performance: A TouchDesigner Primer Create Music Visuals with TouchDesigner Create Music Visuals with TouchDesigner / Going Further Audio Reactive Shaders with Shader Park + TouchDesigner Instancing for Generative Art in TouchDesigner Advanced video programming with Jitter

Spline Workshop

5 paths

 1.The way up is not always through. Clear the script and start over from scratch 2.Failing is a gift. It is a necessary path to success. 3.Engineers are extraordinary artists. 4.Plan more , Build less. [Measure twice , Cut once] 5.Team dynamics is everything. Team getting along and having fun, usually succeeds. Jon Morris - CEO NOWHERE

webxr - oculus quest and go profiles

Image
  QUEST Profile                    GO Profile

starting up a PC over the internet that has been in shutdown state

 how to start a PC that has been shutdown from a mobile phone from anywhere on the internet? 1. On the PC  Go to Device Manager>Network Adapters Right Click the Network adapter that is connected to LAN and select Properties Go to Power Management tab and check the boxes, Allow this device to wake the computer and Only Allow a magic packet to wake the computer. Go to Advanced tab and ensure Wake on Magic Packet/Wake on Pattern Match are enabled. Note thew MAC address of the PC by going to Start>Settings>Network and Internet>Ethernet>Properties>Physical address (MAC)  2. On the PI Connect a Raspberry PI to the same network that has the PC's that need to be restarted. Enable remote desktop on the pi Install a package in terminal using command sudo apt-get install etherwake Test waking up the PC by using the command : sudo etherwake -i eth0 MAC:ADDRESS Create a script [wol.sh] and make it executable. Install xrdp using : sudo apt-get install xrdp Install zer

Amazon audio not working issue...resolution

  Please do not worry, I am here to help you. The issue can be solved easily. :-) If you are connecting the device with Dolby sound feature(like DVD player, amazon fire stick, Xbox, PS4, etc), please remember to close the "Dolby sound option" of the device(not the projector, just the device you connected), or there will be no sound. The reason is this projector does not support Dolby's Audio decoding due to the copyright of Dolby, so you need to close the Dolby option of the device, you will have the sound. How our customers close the Dolby of the fire stick: setting-->Audio, then select "Dolby Digital plus OFF". For cable box: set the Audio Output of your cable box from "Auto/Dolby" to "PCM" , then reboot it and connect it with the projector, you will have the sound. The Dolby setting must be in the Audio/Dolby settings, it may also be this option "Dolby Digital plus OFF". Link. https://www.amazon.com/ask/questions/TxKHPZRQY7L48