Graphic 3D
2D, 3D, game, games, online game, game development, game engine, programming, OpenGL, Open AI, math, graphics, design, graphic, graphics, game development, game engine, programming, web development, web art, web graphic, arts, tutorial, tutorials,
luni, 16 noiembrie 2026
duminică, 15 noiembrie 2026
FASM : fractal ascii - 001
Simple fractal ascii with FASM assembly programming.
format ELF64 executable 3
N = 32
segment readable executable
entry main
main:
lea rdi, [buf] ; rdi = output write pointer
xor r8, r8 ; r8 = row y
.row:
cmp r8, N
jge .done
mov rcx, N-1 ; leading spaces = N-1-y
sub rcx, r8
.lead:
test rcx, rcx
jz .cells
mov byte [rdi], ' '
inc rdi
dec rcx
jmp .lead
.cells:
xor r9, r9 ; r9 = col x
.col:
cmp r9, r8
jg .eol ; past the diagonal -> end of row
mov rax, r9
and rax, r8 ; (x AND y) == x -> C(y,x) is odd
cmp rax, r9
jne .blank
mov byte [rdi], '*'
jmp .adv
.blank:
mov byte [rdi], ' '
.adv:
inc rdi
mov byte [rdi], ' '
inc rdi
inc r9
jmp .col
.eol:
mov byte [rdi], 10
inc rdi
inc r8
jmp .row
.done:
mov rdx, rdi
lea rax, [buf]
sub rdx, rax ; rdx = number of bytes to write
mov rsi, rax ; rsi = buffer
mov rdi, 1 ; stdout
mov rax, 1 ; sys_write
syscall
xor rdi, rdi
mov rax, 60 ; sys_exit
syscall
segment readable writable
buf rb 8192
sâmbătă, 14 noiembrie 2026
joi, 12 noiembrie 2026
miercuri, 11 noiembrie 2026
News : codevember 2026
Daily creative agentic coding experiments for November 2026.
We are organizing a yearly hackathon called Codevember and have also founded the Codevember e.V. club in Tübingen. We like to do some creative things like games, art or fun (software) projects and provide them to the people for free without any advertisement.The Codevember event (and the core team) exists since 2014, while the club was founded in summer 2021. In the future we plan to provide access to workshops and talks.
We published three Android and one iOS game as well as a telegram bot up to now. Currently we’re working on a bunch of side projects with no specific schedule: Ember and God Hands. If you have any questions, don’t hesitate to drop us and email.
See the official website.
Abonați-vă la:
Postări (Atom)