Generated: December 13, 2025 Codebase: semfora-engine Analysis Tool: semfora-engine v0.1.0 (self-analysis)
A complete guide to integrating Tiled Map Editor with raylib-rs for 2D game development in Rust.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Write a JavaScript function that takes two numbers as input and returns their sum. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Konva from 'konva'; | |
| import { AlertCircle, Crop, Image as ImageIcon, Move, Pen, Smile, Square } from 'lucide-react'; | |
| import React, { useEffect, useRef, useState } from 'react'; | |
| import { Image as KonvaImage, Layer, Line, Rect, Stage, Text, Transformer } from 'react-konva'; | |
| import { TransformComponent, TransformWrapper } from 'react-zoom-pan-pinch'; | |
| import { Button } from '~/components/ui/button'; | |
| import { Input } from '~/components/ui/input'; | |
| import { Slider } from '~/components/ui/slider'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { exec } = require("child_process"); | |
| const path = require("path"); | |
| // Replace this with the path to your Git repository | |
| const repoPath = "../colony"; | |
| function parseGitLog(log, filterNames = []) { | |
| const weeklyCommits = {}; | |
| const commitLines = log.split("\n"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function calculateAbilityModifier(abilityScore: number): number { | |
| return Math.floor((abilityScore - 10) / 2); | |
| } | |
| function generateBonusSpellTable(abilityScore: number): { | |
| [level: number]: number; | |
| } { | |
| const modifier = calculateAbilityModifier(abilityScore); | |
| let bonusSpells: { [level: number]: number } = {}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function generatePassword(domain, base) { | |
| const domainName = domain.split(".")[0]; // Extract the domain name | |
| const lastChar = domainName.slice(-1); // Get the last character of the domain name | |
| const charCount = domainName.length; // Count the characters in the domain name | |
| const baseWords = base.split(" "); // Split the base string into words | |
| const firstChars = baseWords.map(word => word[0]); // Get the first letter of each word | |
| // Capitalize letters in the password based on the number at the end | |
| const passwordChars = firstChars.map((char, index) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let img; | |
| function preload() { | |
| img = loadImage("src/assets/photo2.jpg"); | |
| } | |
| function setup() { | |
| createCanvas(400, 400); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "keys": [{ | |
| "openseaUrl": "https://opensea.io/assets/0x495f947276749ce646f68ac8c248420045cb7b5e/4491726516030203812614450579463857042464239586635258517311568059421845094401", | |
| "imageUrl": "https://i.imgur.com/dwJfUub.mp4", | |
| "title": "the little spermaid" | |
| }] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| onmessage = function(evt) { | |
| const canvas = evt.data.canvas; | |
| const gl = canvas.getContext("webgl"); | |
| function render(time) { | |
| // ... some drawing using the gl context ... | |
| requestAnimationFrame(render); | |
| } | |
| requestAnimationFrame(render); | |
| }; |
NewerOlder