Skip to content

Instantly share code, notes, and snippets.

@redmar
redmar / index.html
Created July 21, 2022 18:47
WebGL bending mask transition
<button type="button">Click me</button>
<h1>This is some text that goes under the mask</h1>
Would you like to install the JavaScriptCore engine for Narwhal?
This is optional but will make building and running Objective-J much faster.
Enter "yes" or "no":
yes
The following packages will be downloaded and installed:
* narwhal-jsc
Downloading: http://github.com/tlrobinson/narwhal-jsc/zipball/master
Unzipping: /usr/local/narwhal/zips/narwhal-jsc.zip
+ /usr/local/narwhal/packages/narwhal-jsc/.gitignore
+ /usr/local/narwhal/packages/narwhal-jsc/Info.plist
@implementation CPToolbar (TransparantToolbarBackground)
- (void)setTransparantBackground
{
var myToolbarView = [self _toolbarView];
[myToolbarView setBackgroundColor: [CPColor colorWithCSSString:@"none;"]];
}
@end