Using the https://vanjs.org/ to render html and javascript client build for gun.js
Features:
- server minimalist
- node js
- user ui
- login
- register
- forgot
- change passphrase
# CMake configuration for SDL 3.2.4 project with additional libraries (shared libraries) | |
# This file sets up a project to build an SDL 3 application in C, fetching SDL and its | |
# extension libraries (SDL_ttf, SDL_image, SDL_mixer) directly from GitHub repositories. | |
cmake_minimum_required(VERSION 3.11) | |
# Notes: | |
# - CMake 3.11+ is required for FetchContent, which downloads and builds external dependencies. | |
# - We're using C (not C++) for main.c, which uses SDL 3's callback-based main functions. | |
project(MySDLProject VERSION 1.0 DESCRIPTION "SDL 3.2.4 C test with callbacks" LANGUAGES C) | |
# Notes: |
/* | |
Project Name: threepolygonenginejs | |
License: MIT | |
Created By: Lightnet | |
GitHub: https://github.com/Lightnet/threepolygonenginejs | |
*/ | |
// Notes: | |
// simple ground and cube button create test | |
// create box on gui |
// https://github.com/libsdl-org/SDL/issues/8791 | |
//strip down version for testing image | |
// use sdl2 default image bmp test. | |
#include <stdlib.h> | |
#include <math.h> | |
#include <stdio.h> | |
#include "SDL.h" | |
#include <SDL_image.h> | |
#include "SDL_shape.h" |
Note this to remember how to do this... | |
// https://github.com/bevyengine/bevy/blob/main/examples/ecs/ecs_guide.rs | |
// https://github.com/bevyengine/bevy/blob/main/examples/scene/scene.rs | |
// https://www.youtube.com/watch?v=4uASkH-FUWk | |
//! This example illustrates loading scenes from files. | |
use std::fs::File; | |
use std::io::Write; |
Using the https://vanjs.org/ to render html and javascript client build for gun.js
Features:
import pygame | |
from imgui.integrations.pygame import PygameRenderer | |
import OpenGL.GL as gl | |
import imgui | |
import sys | |
def main(): | |
pygame.init() | |
size = 800, 600 | |
pygame.display.set_mode(size, pygame.DOUBLEBUF | pygame.OPENGL | pygame.RESIZABLE) |
Simple ping test for server and client app window.
There is link refernces.
It base on panda3D docs, forum and other sites.
Work in progress!
By using the inquirer and surrealDB for http rest api testing builds.
To test the builds.
simple setup user and scope test.
export default function App(){ | |
return (<> | |
<label> Hello World! </label> | |
</>) | |
} |
Test build for server in case of the browser client does work correct for testing. As long there headers and json or text for correct format for sql, sign in and sign up.
This is mixed with websocket(not added) and http request rest api to SurrealDB connection or request http for testing.