Java to Python (PixelFlow library)

The reaction_diffusion.rb is an example where I create instances of DwGLSLProgram, but ruby is not strongly typed so it isn’t obvious

@shader_grayscott = context.create_shader(data_path('grayscott.frag'))
  @shader_render = context.create_shader(data_path('render.frag'))

Just a thought but have you tried using the absolute data path for particleRender.glsl etc., instead of data/particleRender.glsl. That is what my data_path wrapper above returns…

2 Likes