Web GL android - strokes - black screen

Please provide the following:

  1. SDK Version: 39
  2. Platforms(Android/iOS/web/all): Android

Using:

import {GLView} from “expo-gl”;
import Expo2DContext from ‘expo-2d-context’;

On android i get this error :

WARNING: Was given 0 stencil bits - strokes and clipping will be broken

and trying to draw a line, it s not working, like i get a black canvas.

Also, how to reproduce the “drawing style” like over a keyboard ?

thx in advance.

seb

Might be worth checking out expo-three and expo-processing

Hi, yes, it works with expo-processing. thx :smiley:

Just, do you know how to create a draw line effect as we have on keyboard ? Or any keywords ?

Thx you :slight_smile:

Sorry, I’m not sure what you mean. Are you trying to draw lines over an onscreen keyboard?

yes i want to draw lines (kind of line) over letters but not over keyboard.

I did that with svg / path but it’s not very clean/fast

i would like to draw lines like over a mobile native keyboard

Sorry, I’m still unclear on what you want to do.

You say that you want to draw over letters? Do you mean like on top of a <Text> component?
You say you do not want to draw over a keyboard, but you do want to draw lines “like over a […] keyboard”?

Maybe it you show your “svg / path” implementation it would be clearer.

oh i just get the same render than the finger pass letter over letter on keyboard.

but finally a i will keep my svg implementation

thx a lot :slight_smile:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.