Skip to content

Instantly share code, notes, and snippets.

@nathanielanozie
nathanielanozie / core.cpp
Last active June 26, 2024 03:09
c++ opengl arithmetic text game
#include <iostream>
#include <random>
#include <algorithm>
#include <vector>
#include <cstdio>
#include <ctime>
#include <sstream>
@nathanielanozie
nathanielanozie / addControlsToBendyBones.py
Created June 15, 2024 19:30
bendy bone animator control class in blender 2.79
#has some tools for adding animator controls to bendy bones
#
#tested in blender 2.79
#please modify/use at your own risk
import bpy
import logging
logger = logging.getLogger(__name__)
logging.basicConfig(level=logging.DEBUG) #without this info logs wouldnt show in console
@nathanielanozie
nathanielanozie / ArmatureAnimationIO.py
Created June 15, 2024 04:08
animation import export class in blender 2.79
#ArmatureAnimationIO.py
#tested in blender 2.79
#please modify/use at your own risk
import bpy
###for animation io
import os
import re
@nathanielanozie
nathanielanozie / gamearithmetic.cpp
Created May 25, 2024 03:35
c++ arithmetic text game
//to compile run in terminal:
//g++ -o prog gamearithmetic.cpp
//then type this to run it: ./prog
#include <iostream>
#include <random>
#include <algorithm>
#include <vector>
#include <cstdio>
#include <ctime>
@nathanielanozie
nathanielanozie / gameproblem.cpp
Created May 5, 2024 03:09
c++ multiplication text game
//to compile run in terminal:
//g++ -o prog gameproblem.cpp
//then type this to run it: ./prog
#include <iostream>
#include <random>
#include <algorithm>
#include <vector>
#include <cstdio>
#include <ctime>
@nathanielanozie
nathanielanozie / cpp_doodle.cpp
Created November 4, 2023 20:03
for python and c++ side by side
//for python and c++ side by side
//
//save this file as:cpp_doodle.cpp
//compile it in terminal by: g++ -o prog cpp_doodle.cpp
//run it in terminal by: ./prog
#include <iostream> //for printing
#include <vector> //for std vector
#include <map> //for map, pair
@nathanielanozie
nathanielanozie / __init__.py
Created April 22, 2023 02:26
work in progress arc tracker for Blender 2.79
import bpy
import imp
bl_info = {
"name": "arc tracker (package)",
"author": "Nathaniel Anozie",
"version": (0, 1),
"blender": (2, 79, 0),
"location": "3D View",
"description": "simple animation arc tracker (package)",
@nathanielanozie
nathanielanozie / naShapekeyTopoTransferAddOn.py
Created December 30, 2021 20:41
some help with applying new topology to already created blendshapes
#shapekey topology transfer. tested in blender 2.79
#
#modify use at your own risk
#last modified
#123021 -- removed scaling of mesh before bind
#051421,102521 -- working on initial release
# 1. an offset x,y,z for where to put created shapes
# 2. needs to be tested on test facial mesh
# 3. option to position the created shapes in offset way or overlapping.
@nathanielanozie
nathanielanozie / naSkinWeightIOAddOn.py
Last active December 30, 2021 20:43
skin weights import export in blender 2.79
#naSkinWeightIOAddOn.py
#modify use at your own risk
import bpy
import json
import os
####add on portion
@nathanielanozie
nathanielanozie / naCreateBoneAtVertexAddOn.py
Created May 15, 2021 22:18
tool is to help with creating bones at vertices. tested in blender 2.79
#tool is to help with creating bones at vertices. tested in blender 2.79
#
#modify use at your own risk
#last modified
#051521 -- working on initial release. added 1. and 2. from 051421.
# added a. nice to have option to create bones ignoring select order supporting selecting all verts or box select selection.
# added b. nice to have option on direction to point created bones
# added nice to have a picker for armature
# i think can ignore 4. from 051421 since length field can be used