thanks for your reply,but seems it’s doesn’t work:
[Taichi] mode=release
[Taichi] version 0.6.37, llvm 10.0.0, commit e0ac1d86, win, python 3.8.5
[Taichi] Starting on arch=cuda
[Taichi] materializing...
Traceback (most recent call last):
File "D:/Infinity/XEngine/HiXEngine", line 39, in <module>
paint(i * 0.03)
File "D:\python\Anaconda3\envs\XEngine\lib\site-packages\taichi\lang\kernel.py", line 574, in wrapped
return primal(*args, **kwargs)
File "D:\python\Anaconda3\envs\XEngine\lib\site-packages\taichi\lang\kernel.py", line 501, in __call__
self.materialize(key=key, args=args, arg_features=arg_features)
File "D:\python\Anaconda3\envs\XEngine\lib\site-packages\taichi\lang\kernel.py", line 370, in materialize
taichi_kernel = taichi_kernel.define(taichi_ast_generator)
File "D:\python\Anaconda3\envs\XEngine\lib\site-packages\taichi\lang\kernel.py", line 367, in taichi_ast_generator
compiled()
File "D:/Infinity/XEngine/HiXEngine", line 32, in paint
pixels[i, j] = 1 - iterations * 0.02
File "D:\python\Anaconda3\envs\XEngine\lib\site-packages\taichi\lang\common_ops.py", line 235, in assign
return ti.assign(self, other)
File "D:\python\Anaconda3\envs\XEngine\lib\site-packages\taichi\lang\ops.py", line 136, in wrapped
return a.element_wise_writeback_binary(imp_foo, b)
File "D:\python\Anaconda3\envs\XEngine\lib\site-packages\taichi\lang\matrix.py", line 166, in element_wise_writeback_binary
raise TaichiSyntaxError(
taichi.lang.exception.TaichiSyntaxError: cannot assign scalar expr to taichi class <class 'taichi.lang.matrix.Matrix'>, maybe you want to use `a.fill(b)` instead?
look like we using Vectors represent RGB is not single float32 format it’s conflict with original fractal arithmetic?
and it still haven’t fullscreen displays with no title bar,do we have an implemented solution?
i got it , seems like i had cognitive bias with this problem , If we want to put an RGB color with in tachi we must create three dimensional vectors to realize it , and original the tensor compose of one dimensional vector it just grayscale . now I implement a cool effect like this: