{"id":17941801,"url":"https://github.com/bb31420/halloween_wax_font","last_synced_at":"2025-04-03T13:20:15.379Z","repository":{"id":259329940,"uuid":"876449378","full_name":"BB31420/Halloween_Wax_Font","owner":"BB31420","description":"Dripping wax halloween alphabet font with instructions for replication","archived":false,"fork":false,"pushed_at":"2024-10-23T23:30:53.000Z","size":28835,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-24T13:00:58.721Z","etag":null,"topics":["ai","art","bash","flux","font","gimp","images","png","potrace","prompt","prompt-engineering","svg"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BB31420.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-22T01:45:19.000Z","updated_at":"2024-10-23T23:30:57.000Z","dependencies_parsed_at":"2024-10-24T16:15:37.366Z","dependency_job_id":null,"html_url":"https://github.com/BB31420/Halloween_Wax_Font","commit_stats":null,"previous_names":["bb31420/halloween_wax_font"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BB31420%2FHalloween_Wax_Font","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BB31420%2FHalloween_Wax_Font/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BB31420%2FHalloween_Wax_Font/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BB31420%2FHalloween_Wax_Font/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BB31420","download_url":"https://codeload.github.com/BB31420/Halloween_Wax_Font/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247006667,"owners_count":20868033,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","art","bash","flux","font","gimp","images","png","potrace","prompt","prompt-engineering","svg"],"created_at":"2024-10-29T02:04:14.975Z","updated_at":"2025-04-03T13:20:15.360Z","avatar_url":"https://github.com/BB31420.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"![ex0](https://github.com/BB31420/Halloween_Wax_Font/blob/main/2024-Halloween.png?raw=true)\n![ex1](https://github.com/BB31420/Halloween_Wax_Font/blob/main/screencap.png?raw=true)\n\n\n### https://www.intel.com/content/www/us/en/content-details/791610/optimizing-and-running-llama2-on-intel-cpu.html\n### https://github.com/google/tcmalloc\n\nFor this project use the flux comfyui option to queue 35 images gens for each prompt, 35 images for every letter in the alphabet. Let it run depending on HW and then select the best output for each letter. Clean the letter up in GIMP. Convert to SVG. Upload SVG to tinkercad to create an STL file. Scale each image proportionally so that you don't have a giant V and a small E, make them the same size at this point. You can fit the whole alphabet in one .stl file and then split this file up in a 3d slicer. Export them back to SVG to replace your unscaled versions. Various programs can create fonts for your personal devices this way. Producing numbers and symbols is a similar endeavor. \n\nDon't waste time manually changing the prompts for each letter, use the gift of one liners after creating the first prompt for the letter A. Feel free to edit the prompts as you see fit for each letter.\n\n```\nfor letter in {A..Z}; do sed 's/\"\\([^\"]*\\)t\\([^\"]*\\)\"/\"\\1'\"$letter\"'\\2\"/g' prompt.txt \u003e \"output_$letter.txt\"; done\n```\n\nMake numbers - replace the references in the prompts for letters to numbers\n```\nfor number in {0..9}; do sed \"s/1/$number/g\" number_prompt.txt \u003e \"output_$number.txt\"; done\n\n```\n\n\nMake a new folder with prompts for lowercase letters:\n```\nmkdir -p lowercase \u0026\u0026 find . -type f -name \"*.txt\" -exec sh -c 'cp \"$1\" lowercase/ \u0026\u0026 sed -i \"s/capital/lowercase/gI\" lowercase/\"$(basename $1)\"' sh {} \\;\n```\ncd to the new directory and change the letters from \"A\" to \"a\"\n```\nfor letter in {A..Z}; do\n  lowercase=$(echo \"$letter\" | tr '[:upper:]' '[:lower:]')\n  sed 's/\"'$letter'\"/\"'$lowercase'\"/g' base_ouptut_$letter.txt \u003e base_output_new_$letter.txt\ndone\n```\n\nConvert from png to svg. Automate this as you see fit\n\n```\nconvert /home/user/Desktop/halloweenb_project/C.png -auto-level pnm:- | potrace -s -o /home/user/Desktop/halloween_project/output/C.svg\n```\n\nThis should hit the whole directory after replacing user and halloween_project with your info. Make a folder called output for the finished svgs:\n```\nfor file in {A..Z}.png; do\n    convert \"/home/user/Desktop/halloween_project/$file\" -auto-level pnm:- | \\\n    potrace -s -o \"/home/user/Desktop/halloween_project/output/${file%.*}.svg\"\ndone\n```\n\n# Instructions\n**\nAre currently scattered throughout the folders\n**\n# Tips\nYou can open all 26 images at once in GIMP and work on the editing one by one, overwrite the original image. you can rename them at this point to save time. This whole process can be one shot with some work, \"make a cat alphabet\" up to the point of the 3d printer starts up to output the end product and possibly AI enabled quality control to follow. The future for 3d printing with creative AI is bright!\nGood seeds can be reused with different prompts!\n```\nSelect the white background with magic wand\nselection \u003c invert selection\nselection \u003c sharpen\nnew layer + select it\nbucket tool white paint\nhide OG layer\nexport as letterA.png \n```\n# Scripting GIMP to reduce steps\n```\nwip\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbb31420%2Fhalloween_wax_font","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbb31420%2Fhalloween_wax_font","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbb31420%2Fhalloween_wax_font/lists"}