Skip to content

Instantly share code, notes, and snippets.

<Cabbage>
form caption("Lazer Hawk v0.1") size(800, 800), colour(100, 100, 182), pluginid("def1")
keyboard bounds(0, 700, 800, 100)
image bounds(2, 0, 800, 100), colour(153, 153, 255, 255) outlinecolour(192, 18, 18, 255){
label bounds(0, 5, 200, 20), text("LazerHawk v0.01"), colour(60, 60, 120, 122), fontcolour(0, 0, 0, 255)
}
image bounds(2, 106, 800, 185) colour(61, 106, 73, 255) , plant("layer1"){
label bounds(0, 5, 200, 20), text("Sound Generator 1"), colour(60, 60, 120, 122), fontcolour(0, 0, 0, 255)
combobox bounds(0, 25, 100, 25),items("sine" , "saw", "square", "triangle"), channel("SG1 Wav"),colour(60, 60, 120, 122), fontcolour(0, 0, 0, 255)
bf_intern_itasc.vcxproj -> C:\Users\user_name\ephestos\build_windows_Release_x64_vc15_Release\lib\Release\bf_intern_itasc.lib
audaspace.vcxproj -> C:\Users\user_name\ephestos\build_windows_Release_x64_vc15_Release\lib\Release\audaspace.lib
bf_alembic.vcxproj -> C:\Users\user_name\ephestos\build_windows_Release_x64_vc15_Release\lib\Release\bf_alembic.lib
audaspace-py.vcxproj -> C:\Users\user_name\ephestos\build_windows_Release_x64_vc15_Release\lib\Release\audaspace-py.lib
bf_avi.vcxproj -> C:\Users\user_name\ephestos\build_windows_Release_x64_vc15_Release\lib\Release\bf_avi.lib
bf_blenfont.vcxproj -> C:\Users\user_name\ephestos\build_windows_Release_x64_vc15_Release\lib\Release\bf_blenfont.lib
bf_blenlib.vcxproj -> C:\Users\user_name\ephestos\build_windows_Release_x64_vc15_Release\lib\Release\bf_blenlib.lib
bf_blentranslation.vcxproj -> C:\Users\user_name\ephestos\build_windows_Release_x64_vc15_Release\lib\Release\bf_blentranslation.lib
bf_blenkernel.vcxproj -> C:\Users\user_name\ephestos\bui

1.0 Introduction

Hello and welcome to Pharo, this is a read only channel where you will find all important links to documentation to get you started and anything relevant to help you learn Pharo

2.0 Getting Started

Pharo has various means to help you learn, whatever is your preference, asking questions should be always your number one choice.

2.1. Books

@kilon
kilon / CMakeList.txt
Created October 17, 2018 09:24
example DLL
set(INC
.
../blenfont
../blenkernel
../blenlib
../blenloader
../blentranslation
../depsgraph
../editors/include
@kilon
kilon / talos.py
Created September 25, 2018 21:15
import re
import sys
def talos_lex_source_lines(source):
return re.split("\n",source)
def talos_lex_source_tokens(source_line):
return re.split("\s",source_line)
def convert_to_c(tokens):
@kilon
kilon / debug_log.txt
Created June 11, 2018 21:31
CUEW ERROR
1>------ Build started: Project: ZERO_CHECK, Configuration: Release x64 ------
1>Checking Build System
1>CMake does not need to re-run because C:/ephestos/build_windows_Release_x64_vc15_Release/CMakeFiles/generate.stamp is up-to-date.
1>CMake does not need to re-run because C:/ephestos/build_windows_Release_x64_vc15_Release/intern/CMakeFiles/generate.stamp is up-to-date.
1>CMake does not need to re-run because C:/ephestos/build_windows_Release_x64_vc15_Release/intern/clog/CMakeFiles/generate.stamp is up-to-date.
1>CMake does not need to re-run because C:/ephestos/build_windows_Release_x64_vc15_Release/intern/string/CMakeFiles/generate.stamp is up-to-date.
1>CMake does not need to re-run because C:/ephestos/build_windows_Release_x64_vc15_Release/intern/ghost/CMakeFiles/generate.stamp is up-to-date.
1>CMake does not need to re-run because C:/ephestos/build_windows_Release_x64_vc15_Release/intern/guardedalloc/CMakeFiles/generate.stamp is up-to-date.
1>CMake does not need to re-run because C:/ephestos/build_windo
@kilon
kilon / getversion.py
Last active June 6, 2018 23:25
Get version info from repository
f = urllib.request.urlopen("https://raw.githubusercontent.com/kilon/morpheas/master/__init__.py")
r = f.read()
print(r)
bpy.context.user_preferences.version
import platform
platform.system() #returns 'Windows'
platform.release()#returns '10'
class TestMorpheasMorphBounds(unittest.TestCase, livecoding.LiveObject ):
instances = []
def setUp(self):
self.world = morpheas.World()
self.tmorph = morpheas.Morph()
self.world.add_morph(self.tmorph)
@kilon
kilon / c2cppstring.cpp
Created March 17, 2018 16:20
C++ string to C string
// ConsoleApplication1.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
using namespace std;
int main()
{
std:string some = "but";
import bpy
import bgl
import blf
from morpheas import *
# this class is defining the action performed when the button is clicked
clase AButtonAction:
def onLeftClick(morph):
print("the button has been clicked")