> ## Content Index
> Fetch the complete content index at: https://www.oransblog.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Shaders a coding journey
- URL: https://www.oransblog.com/shader-art/
- Published: 2024-07-28T03:32:21.000Z
- Updated: 2026-10-29T05:57:40.000Z
- Description: My first shader art!
- Author: Oran C
- Tags: #Import 2026-11-12 01:14

![](https://www.oransblog.com/content/images/2024/07/image-30.png)

made in raw GLSL

20240727

![](https://www.oransblog.com/content/images/2024/07/image-32.png)

evern better! with blending!

play with the code

```glsl
// Author: Inigo Quiles
// Title: Cubic Pulse

#ifdef GL_ES
precision mediump float;
#endif

uniform vec2 u_resolution;
uniform vec2 u_mouse;
uniform float u_time;

//  Function from Iñigo Quiles
//  www.iquilezles.org/www/articles/functions/functions.htm
float cubicPulse( float c, float w, float x ){
    x = abs(x - c);
    if( x>w ) return 0.0;
    x /= w;
    return 0.888 - x*x*(3.0-2.0*x);
}

float exponentialInOut(float t) {
  return t == 0.0 || t == 1.0
    ? t
    : t < 0.5
      ? +0.5 * pow(2.0, (20.0 * t) - 10.0)
      : -0.5 * pow(2.0, 10.0 - (t * 20.0)) + 1.0;
}

float plot(vec2 st, float pct){
  return  smoothstep( pct-0.050, pct, st.y) -
          smoothstep( pct, pct+0.074, st.y);
}
vec3 sunset = vec3(0.669,0.875,0.109);
vec3 water = vec3(0.248,0.354,0.855);

void main() {
    vec2 st = gl_FragCoord.xy/u_resolution;
	vec3 pct = vec3(st.x);
	vec3 pct2 = vec3(st.x);
    pct.r = cubicPulse(0.512, 0.946, st.x);
    pct.g = cubicPulse(0.512, 0.946, st.x)+-0.020;
    pct.b = cubicPulse(0.512, 0.946, st.x)+-0.036;
    
    pct2.r = cubicPulse(0.512, 0.946, st.x)+-0.060;
    pct2.g = cubicPulse(0.512, 0.946, st.x)+-0.084;
    pct2.b = cubicPulse(0.512, 0.946, st.x)+-0.108;
    
    
   	vec3 color = smoothstep(0.556,0.224, mix(sunset,water,st.y))+-0.028;
    color = mix(color,vec3(1.000,0.730,0.003),plot(st, pct.g));
    color = mix(color,vec3(1.000,0.150,0.055),plot(st, pct.r));
    color = mix(color,vec3(0.894,1.000,0.202),plot(st, pct.b));
    
    color = mix(color,vec3(0.087,1.000,0.000),plot(st, pct2.r));
    color = mix(color,vec3(0.299,0.836,1.000),plot(st, pct2.g));
    color = mix(color,vec3(0.900,0.450,1.000),plot(st, pct2.b));
    gl_FragColor = vec4(color,1.000);
}

```

[GLSL Shader EditorThe Book of Shaders Editor![](https://thebookofshaders.com/favicon.gif)The Book of Shaders![](https://thebookofshaders.com/thumb.png)](https://thebookofshaders.com/edit.php?ref=oransblog.com#05/cubicpulse.frag)

## Updates!

# I figured out how to render a rectangle which made this artwork possible

![](https://www.oransblog.com/content/images/2024/07/data-src-image-0d9715c2-67b5-4997-90b6-e88b76098a0a.png)

[Shadertoy![](https://www.shadertoy.com/img/launch_icon_114.png)Shadertoy BETA![](https://www.shadertoy.com/media/shaders/lf2yW1.jpg)](https://www.shadertoy.com/view/lf2yW1?ref=oransblog.com)

# Eye

![](https://www.oransblog.com/content/images/2024/07/image-33.png)

# Chromatic Aboration 20240731

0:00 

/0:00 

1× 

Note: the video's player is a bit fucked

## shadertoy code:

[Shadertoy![](https://www.shadertoy.com/img/launch_icon_114.png)Shadertoy BETA![](https://www.shadertoy.com/media/shaders/McjyDw.jpg)](https://www.shadertoy.com/view/McjyDw?ref=oransblog.com)

## Thanks for reading!

![](https://www.oransblog.com/content/images/2021/12/oran.jpg)

# Author

![](https://www.oransblog.com/content/images/2023/08/morse_code_pattern.gif)

by oran collins

![](https://www.oransblog.com/content/images/2023/08/morse_code_pattern.gif)

  
github.com/wisehackermonkey  

![](https://www.oransblog.com/content/images/2021/12/image-16.png)

  
A football shirt can turn a season, a badge, and a colour scheme into part of supporter identity when the difference between player and fan versions becomes part of the discussion. A classic Barcelona design can remind supporters of league campaigns, European nights, and local rivalries. When supporters think about matchday clothing, [football shirts for modern kit technology](https://www.camisetatienda.com/?ref=oransblog.com) remains a natural topic when the focus is on design, fit, and supporter meaning. The appeal of a football shirt keeps the paragraph grounded in football culture rather than simple promotion.