I want to look into something. how do i extract a 8bit and view it

#1

i got this in p5.js

{dot.operator
function setup1() {
createCanvas(400, 500);
b = true
b = canvas
function draw() {
background(220);
}
{ if (image is loaded)
b = true
b = canvas}

0 Likes

#2

again, please format your code in

</> code tag

and make it an example we can run here in processing IDE

-B- the question is related to what? not to this code?
much more explanation is needed.

0 Likes

#3

o wait, it would be from the graphics, this is up for scrutiny then.

0 Likes

#4

as you can not post code here, possibly it is better we just work online together,
show / link us a running code in
https://editor.p5js.org/
and ask your question in detail again.

0 Likes

#5

lb t,off(b) # $t <— Sign-extended byte
# from memory address b+off
# b is a base register.
# off is 16-bit two’s complement.

i fount this for example

0 Likes

#6

if you want the color information from a loaded image
on a specific pixel location
can use the 2 ways mentioned here:
https://p5js.org/reference/#/p5/get

0 Likes

#7

i invented this some how.
it changes the page let me see if i can provide the same outcome
how would i measure it. in crosh i would think using the help functions, are there p5 notes out there.

{dot.operator
function setup1() {

0 Likes

How do i host a collected link in this box i invented: p5.js
unlisted #8
0 Likes