Skip to content

Instantly share code, notes, and snippets.

View MinaPecheux's full-sized avatar
🦊
Keep calm and create some more.

Mina Pêcheux MinaPecheux

🦊
Keep calm and create some more.
View GitHub Profile
@MinaPecheux
MinaPecheux / ObjectRenamer.py
Last active November 29, 2022 00:02
BlenderAndPython-ObjectRenamer
"""
[Blender and Python] Creating custom UI panels with Blender's Python API
Mina Pêcheux - September 2021
Email: mina.pecheux@gmail.com
A very basic Blender addon that lets you rename all selected objects
with a given format: <prefix>_<obj name>_<suffix>(-v<version number>).
This code is a simple example of how to create custom UI panels in
Blender using the Python API.
@MinaPecheux
MinaPecheux / page.html
Created August 24, 2021 15:51
Example-LandingPage-Bootstrap
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Landing page (w Bootstrap)</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We" crossorigin="anonymous">
</head>
<body>
@MinaPecheux
MinaPecheux / ProceduralPlanets.py
Last active April 7, 2024 08:28
BlenderAndPython-ProceduralPlanets
"""
[Blender and Python] Generating a procedural solar system with Blender's Python API
Mina Pêcheux - August 2021
Email: mina.pecheux@gmail.com
A very basic Blender script that creates a simplified solar system with a few
planets around a sun, adds shaders computed on-the-fly and sets various animation
curves on the objects to get random revolution speeds.
This code is a simple example of how to instantiate objects for