Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

bezier surfaces

Name: Anonymous 2018-05-21 9:16

I'm currently at
Three curves make a quadratic surface

Has /prog mastered or played around with these at all?

Name: Anonymous 2018-05-22 12:09

no

Name: Anonymous 2018-05-25 3:15

What about LCD screens, I just picked one up for about 9 dollars

Name: Anonymous 2018-05-25 3:40

lol, here's the basics of a 1d bezier (quadratic)
function s1(x,y,a){
return(x*(1-a) + y*a);
}

function s2(x,y,z,a){
return( s1( s1(x,y,a), s1(y,z,a), a) );
}


s2(0,0,1,0) -> 0, s2(0,0,1,1) -> 1, s2(0,0,1,0.5) -> ~0.25

Name: Anonymous 2018-05-25 10:23

>return(x*(1-a) + y*a);
Optimized: x-((y-x)*a)

Name: Anonymous 2018-05-25 12:25

Not sure if this ones a proper cubic, seems like it would be close though
function s2(x,y,w,z,a){
return( s1( s1(x,y,a), s1(w,z,a), a) );
}

Name: Anonymous 2018-05-25 12:50

Just a different cubic i guess. Standard is a bit more expensive?
function s3(x,y,w,z,a){
return( s1( s2(x,y,w,a), s2(y,w,z,a), a) );
}

Name: Anonymous 2018-05-26 2:22

s3A(0,1,0,1, x) == s1(0,1,x)
s3A(0,1,1,0, x) == s2(0,1,0,x)
s3B(0,1,1,0, x) == s3A(0,1.5,1.5,0,x) == s2(0,1.5,0,x)
s3B(0,1,0,1, x) == s3A(0,1.5, /).. no match?

Name: Anonymous 2018-05-26 10:15

>>1

What kind of programming language is that???

Name: Anonymous 2018-05-26 12:36

>>9
It's programmer-Lang(tm)

s3A(0,0,0,1, x) = s1(0,1,x)^2
s3B(0,0,0,1, x) = s1(0,1,x)^3
So, more likely a four-point/extended quad

Name: Anonymous 2018-05-26 13:28

lol, it's just a regular quad
s3A(0, m,n, 1, x) = s2(0,(m+n)/2, 1, x)

Name: Anonymous 2018-05-26 15:51

boomer surfaces

Name: Anonymous 2018-05-27 1:51

>>12
No u

Name: Anonymous 2018-05-27 5:29

>>12
"Get off my boomer surface"

Name: Anonymous 2018-05-27 7:37

pls no math in progr/ board
best object practices === codans
math nerd shit find x === fucking BULLSHITE not codans

Name: Anonymous 2018-05-27 9:20

CODAN Carrier Operated Device, Anti-Noise
CODAN County Dublin Area of Need

tbh i don't see much best object practices

Name: Anonymous 2018-05-27 9:30

grr, some noob has wired the rx,tx lights the wrong way round on this pro micro

Name: Anonymous 2018-05-27 9:52

lol, Or something is wrong anyway, active low is supposed to be correct though
At least the fade script worked through icsp

Name: Anonymous 2018-05-27 14:13

Custom bezier input device installed on COM9
well, not quite

Name: Anonymous 2018-06-01 7:05

hmm, bezier surfaces on the atmega itself?
it has a screen now, and ram went up 10,000% (borrowing from screen) assuming the memory read command works

Name: Anonymous 2018-06-23 4:16

lol, no video memory read yet, but i have a couple of eeprom chips- 32KB each
I got 2d surfaces kind-of working though, rendered as parallel curves (fingerprint-like)
One patch (2d 3-curve) takes up 18 bytes as 9x 2d byte coordinates, about the same as 3x 2d triangles
Sketch is at ~10K (60% memory remaining)

Name: Anonymous 2018-06-23 4:29

benzoer surfaces
cover everything in xanax
jeff bezoser surfaces
surfaces are only available to amazon prime members

Name: Anonymous 2018-06-24 1:05

Any thoughts on an eeprom file system?
Internal format is 512x 64byte pages, 16 pages to a kb

Name: Anonymous 2018-06-24 1:20

>>23
why?
thinking of fitting an OS in a hard drive controller for some advanced persistent threat level shit?

Name: Anonymous 2018-06-24 1:23

Name: Anonymous 2018-06-24 1:28

>>24
lol, nah
Just trying to do some slightly fancy storage on an arduino

Name: Anonymous 2018-06-24 1:37

>>26
get a raspberry pi instead
arduinos are overpriced and have pitiful specs

Name: Anonymous 2018-06-24 2:11

>>27
I've considered it, almost bought a pi zero but the accessories add a bit too much to the cost. Have acquired a 16 gb micro-SD (blank) at about half the raspberry-edition price, still cost as much or more than the cheapest pi

Name: Anonymous 2018-06-24 2:25

nasa eeprom fs walkthrough =D (some unsafe content blocked? (by wordpad??))

https://github.com/nasa/eefs/blob/master/doc/EEPROM%20File%20System%20Design%20Notes.docx?raw=true

Name: Anonymous 2018-06-24 2:44

The FSF states that "free software development depends on combining code from third parties", and because of this requirement that changes (is believed to) be your "original creation" the license is not a free software licence.[2]

G. Each Contributor represents that its Modification is believed to be Contributor's original creation and does not violate any existing agreements, regulations, statutes or rules, and further that Contributor has sufficient rights to grant the rights conveyed by this Agreement.

- NASA Open Source Agreement

Name: Anonymous 2018-06-26 2:20

Here's my variation of nasa's EEprom FS
[Partition Header] - 8 bytes
[Partition record] - 8 bytes / partition record
[File allocation header] - 8 bytes
[File allocation record] - 8 bytes / file record

And the header/record structure
[magic(PH)|ID, pagesize|filesize(FR), pagecount|filestart(FR), pagestart|filefree(FR)]

Name: Anonymous 2018-06-26 7:17

addressing is mock-32, using pagestart*pagesize & pagecount*pagesize
five points of redirection w/ possible overlap, starting at PH-Addr

System partition / system files for memory allocation management? / extensions?

Name: Anonymous 2018-06-26 7:18

dubs surfaces

Name: Anonymous 2018-06-26 23:42

what the fuck is luke having a seizure again
why is he posting this shit instead of soundcloud links

Name: Anonymous 2018-06-27 0:45

Name: Anonymous 2018-06-27 1:27

EEPROM Memory allocation map.sys
multi-page masking bytes? vs bit-blocks?

Name: Anonymous 2018-06-27 2:11

1 masking byte can cover 256 bytes with byte precision - contiguous only, upto 256 rewrites before full
v
1 byte in bitblock mode can cover 8 bytes with byte precision/ 64 bytes with 8B precision, 256 bytes with 32B precision, etc. 8 rewrites typical

Name: Anonymous 2018-06-27 8:25

tfw theres a stripe of dead prom bytes right down the middle, both chips, all pages

Name: Anonymous 2018-06-29 0:51

Any suggestions for improvements?
/automated simple largest squares
void eecom::diskmem_format_read(uint16_t pagesize, uint16_t pagepointer, uint16_t pagecount, uint16_t Addr){
uint16_t xaddress = Addr;
uint16_t xblock = pagepointer;
uint16_t s0=0, s1=pagesize, t0, t1, x0=0, x1=pagesize, y0, y1, xseq=0, xseqp=0, xseqp2=0, yseq=0, yseqp=0;

boolean cCirc, cInk;

while (xblock < pagecount){
Serial.print(" Block: ");
Serial.print(xblock);
Serial.print(", ");
//fs.
read_block(xaddress, pagesize);
xseq = 0;
cCirc = true; cInk = false;
xseqp = 0;
for(int i=0; i<pagesize; i++){
xseq += (rw_Buff[i] == i);
if(xseq>xseqp){
x0 = i-xseq+1;
x1 = i;
xseqp = xseq;
}
if(rw_Buff[i]!=i) xseq = 0;
if(i>=s0 && i<=s1 && xseq==0) cCirc = false;
Serial.print(rw_Buff[i], HEX);
//Serial.print(" ");
}

Serial.print("::, ");
Serial.print(xseq);
Serial.print("::, ");
Serial.print(xseqp);
Serial.print("::, ");

if(!cCirc){
Serial.print(" !cCirc !! ");
xseqp2 = xseqp;
x0 = s0 = max(x0, s0);
x1 = s1 = min(s1, x1);
yseqp = yseq;
//cInk
}

if(xblock == pagepointer || xseqp2 == 0){
xseqp2 = xseqp;
s0 = x0;
s1 = x1;
t0 = xblock;
yseq = yseqp = 1;//
cInk = true;
}

if((xseqp*1) > (xseqp2*yseqp)){
xseqp2 = xseqp;
s0 = x0;
s1 = x1;
t0 = xblock;
yseqp = yseq = 1;
cInk = true;
}

if(x0<=s0 && x1>=s1 && !cInk) yseq++;
//if(xseqp2 == xseqp && )

xaddress+=pagesize;
xblock += 1;

}

Serial.println("Completed.");
Serial.print(" s0: ");
Serial.println(s0);
Serial.print(" t0: ");
Serial.println(t0);
Serial.print(" s1: ");
Serial.println(s1);
Serial.print(" t1: ");
Serial.println(yseq);

Serial.print(" x0: ");
Serial.println(x0);
Serial.print(" y0: ");
Serial.println(y0);
Serial.print(" x1: ");
Serial.println(x1);
Serial.print(" y1: ");
Serial.println(yseqp);

}

Name: Anonymous 2018-06-29 6:32

>>38
Aha, lol im doing it wrong..

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List