SkillAgentSearch skills...

MiniFB.jl

Render pixels on screen

Install / Use

/learn @aviks/MiniFB.jl
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

MiniFB.jl

| Documentation | Status | |:---------------------------:|:---------------------:| | | Build Status version |

A Julia wrapper around MiniFB, a small cross platform library that makes it easy to render 32 bit pixels in a window.

Quick Start

using MiniFB

WIDTH=800
HEIGHT=600
window = mfb_open_ex("My Window", WIDTH, HEIGHT, MiniFB.WF_RESIZABLE)

buffer = zeros(UInt32, WIDTH*HEIGHT)
while true
    # TODO add some rendering into the buffer
    ...
    state = mfb_update(window,buffer)
    if state != MiniFB.STATE_OK
        break
    end
end

Examples

See the example directory for usage examples.

Related Skills

View on GitHub
GitHub Stars47
CategoryDevelopment
Updated2y ago
Forks6

Languages

Julia

Security Score

75/100

Audited on Feb 20, 2024

No findings