NOTE: this is very rough and values are hard coded. publishing just for education. feel free to improve it.
first extract colors with colors.py
next encode with encoder.py
use decoder.py
to view output
name: tests | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
branches: | |
- "main" | |
jobs: |
I hereby claim:
To claim this, I am signing this object:
function sketch(p) { | |
const sizeX = 200; | |
const sizeY = 200; | |
const offset = 50; | |
const col1 = "rgb(211, 63, 73)"; | |
const col2 = "rgb(214, 190, 192)"; | |
const col3 = "rgb(48, 38, 38)"; | |
p.setup = function() { | |
p.createCanvas(window.innerWidth, window.innerHeight); |
// Transaction Delegation is a generic way to enable transactions to be signed by one ethereum account | |
// and be sent by a different account. Enabling improved UX patterns where users of an application | |
// do not need to pay for transaction gas and do not necessarily need to have any ether at all to | |
// interact with an application. | |
// | |
// To delegate a transaction, a user A creates a transaction and signs the hash keccak256(calldata, nonce). | |
// The calldata and signature v, r, s is then communicated to user B who will submit the transaction on | |
// their behalf. User B submits the transaction by calling `TransactionDelegate.delegatedTxn`. | |
// | |
// This contract requires elevated privledges to the target contract allowing it to submit transactions |