Skip to content

theblackunknown-experiments/py2sbs

Repository files navigation

Program Features

  • skip transpilation for named function

Transpilation Features

  • math
  • ternary operator
  • image input
  • loop unrolling
  • for-loop w/ multiple exit points
  • global variables

GLSL

  • glsl : matrices
  • glsl : types
  • glsl : preprocessor define
  • glsl : macro define
  • glsl : structs
  • glsl : in / out / inout
  • glsl : swizzle

ShaderToy

  • shadertoy : inputs
  • shadertoy : common buffers
  • shadertoy : entry points (image / sound)
  • shadertoy : multi-buffer

Optimization

  • constant folding

Skill Tree

  1. Sunset - https://www.shadertoy.com/view/XssSRX : math, shadertoy : inputs
  2. https://www.shadertoy.com/view/llBBDG : math, shadertoy : inputs
  3. https://www.shadertoy.com/view/ldX3zr : math, shadertoy : inputs
  4. https://www.shadertoy.com/view/MdX3Dr : math, shadertoy : inputs, image input
  5. https://www.shadertoy.com/view/Mts3zM : math, shadertoy : inputs, loop unrolling
  6. https://www.shadertoy.com/view/WdVXWy : math, shadertoy : inputs, shadertoy : multi-buffer
  7. https://www.shadertoy.com/view/XlcBRX : math, shadertoy : inputs, for-loop w/ multiple exit points
  1. Two lines atmospheric scattering - https://www.shadertoy.com/view/MdtXD2 : math, shadertoy : inputs
  2. https://www.shadertoy.com/view/4tVSRt : math, shadertoy : inputs
  3. https://www.shadertoy.com/view/Ml2cWG : math, shadertoy : inputs
  4. https://www.shadertoy.com/view/4dl3z7 : math, shadertoy : inputs, loop unrolling
  5. https://www.shadertoy.com/view/ldS3Wm : math, shadertoy : inputs, loop unrolling
  6. https://www.shadertoy.com/view/4dl3zr : math, shadertoy : inputs, loop unrolling
  7. https://www.shadertoy.com/view/4dcXDS : math, shadertoy : inputs, glsl : structs
  8. Sunsets - https://www.shadertoy.com/view/lss3DS : math, shadertoy : inputs, glsl : structs, glsl : matrices, loop unrolling
  9. https://www.shadertoy.com/view/XtBXDw : math, shadertoy : inputs, glsl : structs, glsl : matrices, loop unrolling
  1. Value Noise 2D - https://www.shadertoy.com/view/lsf3WH : math, shadertoy : inputs, glsl : matrices
  2. Value Noise 2D, Derivatives - https://www.shadertoy.com/view/4dXBRH : math, shadertoy : inputs
  3. Gradient Noise 2D - https://www.shadertoy.com/view/XdXGW8 : math, shadertoy : inputs, glsl : matrices
  4. Gradient Noise 2D, Derivatives - https://www.shadertoy.com/view/XdXBRH : math, shadertoy : inputs
  5. Simplex Noise 2D - https://www.shadertoy.com/view/Msf3WH : math, shadertoy : inputs, glsl : matrices
  1. Gradient Noise 3D - https://www.shadertoy.com/view/Xsl3Dl : math, shadertoy : inputs, glsl : matrices
  2. Gradient Noise 3D, Derivatives - https://www.shadertoy.com/view/4dffRH : math, shadertoy : inputs
  3. Value Noise 3D - https://www.shadertoy.com/view/4sfGzS : math, shadertoy : inputs, glsl : matrices
  4. Value Noise 3D, Derivatives - https://www.shadertoy.com/view/XsXfRH : math, shadertoy : inputs
  1. https://www.shadertoy.com/view/XsX3RB : math, shadertoy : inputs, loop unrolling, shadertoy : multi-buffer
  2. https://www.shadertoy.com/view/XdsGDB : math, shadertoy : inputs, loop unrolling, array
  3. https://www.shadertoy.com/view/ldScDh : math, shadertoy : inputs, shadertoy : multi-buffer, loop unrolling
  1. https://www.shadertoy.com/view/MsSGD1 : math, shadertoy : inputs, for-loop -> single exit (break/return)
  2. https://www.shadertoy.com/view/MscSzf : math, shadertoy : inputs, shadertoy : multi-buffer
  1. https://www.shadertoy.com/view/ldB3zc : math, shadertoy : inputs, loop unrolling
  2. https://www.shadertoy.com/view/Xd23Dh : math, shadertoy : inputs, loop unrolling
  3. https://www.shadertoy.com/view/ldl3W8 : math, shadertoy : inputs, loop unrolling
  4. https://www.shadertoy.com/view/Xll3zX : math, shadertoy : inputs, loop unrolling
  1. 2D Clouds - https://www.shadertoy.com/view/4tdSWr : math, shadertoy : inputs, ternary operator, loop unrolling
  2. Hash without Sine - https://www.shadertoy.com/view/4djSRW : math, shadertoy : inputs, shadertoy : common buffers, loop unrolling
  3. https://www.shadertoy.com/view/llK3Dy : math, shadertoy : inputs, image input, loop unrolling, big iteration count
  4. https://www.shadertoy.com/view/Ms2SD1 : math, shadertoy : inputs, matrices, array, loop unrolling
  1. https://www.shadertoy.com/view/4lBSzW : math, shadertoy
  2. https://www.shadertoy.com/view/4sc3z2 : math, shadertoy : inputs, loop unrolling
  3. https://www.shadertoy.com/view/4s23WK : math, shadertoy : inputs, loop unrolling

Miscellaneous

  1. Animated Function Plotter - https://www.shadertoy.com/view/MsGXzh : math, shadertoy : inputs

About

No description or website provided.

Topics

Resources

License

GPL-3.0, GPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
LICENSE.rst

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published